Gdi32GdiFlush Method
Flushes the calling thread's current batch.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("GDI32.dll", ExactSpelling = true, SetLastError = true)]
[SecurityCriticalAttribute]
public static bool GdiFlush()
<DllImportAttribute("GDI32.dll", ExactSpelling := true, SetLastError := true>]
<SecurityCriticalAttribute>
Public Shared Function GdiFlush As Boolean
Dim returnValue As Boolean
returnValue = Gdi32.GdiFlush()
public:
[DllImportAttribute(L"GDI32.dll", ExactSpelling = true, SetLastError = true)]
[SecurityCriticalAttribute]
static bool GdiFlush()
[<DllImportAttribute("GDI32.dll", ExactSpelling = true, SetLastError = true)>]
[<SecurityCriticalAttribute>]
static member GdiFlush : unit -> bool
No code example is currently available or this language may not be supported.
Return Value
Boolean
If all functions in the current batch succeed, the return value is
.
If not all functions in the current batch, the return value is
, indicating that at least one function returned an error.
To get extended error information, call
GetLastWin32Error.