DwmFlush function Null safety dwmapi

int DwmFlush()

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.

DWMAPI DwmFlush();

Implementation

int DwmFlush() => _DwmFlush();