DwmApiDwmFlush Method
Issues a flush call that blocks the caller until the next present,
when all of the Microsoft DirectX surface updates that are currently outstanding have been made.
This compensates for very complex scenes or calling processes with very low priority.
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("DwmApi.dll", ExactSpelling = true)]
public static HResult DwmFlush()
<DllImportAttribute("DwmApi.dll", ExactSpelling := true>]
Public Shared Function DwmFlush As HResult
Dim returnValue As HResult
returnValue = DwmApi.DwmFlush()
public:
[DllImportAttribute(L"DwmApi.dll", ExactSpelling = true)]
static HResult DwmFlush()
[<DllImportAttribute("DwmApi.dll", ExactSpelling = true)>]
static member DwmFlush : unit -> HResult
No code example is currently available or this language may not be supported.
Return Value
HResult
If this function succeeds, it returns
S_OK.
Otherwise, it returns an
HResult error code.