D3DKMTWaitForVerticalBlankEvent2 function

Waits for specified wait objects, including a vertical blank event, to occur and then returns. Supported starting with Windows 8.

Syntax

NTSTATUS D3DKMTWaitForVerticalBlankEvent2(
  const D3DKMT_WAITFORVERTICALBLANKEVENT2 *Arg1
);

Parameters

Arg1

Return Value

Returns one of the following values:

Return code Description
STATUS_WAIT_0 The vertical blank event caused the wait object to return.
STATUS_WAIT_1–STATUS_WAIT_8 The number of the user-mode event that caused the wait object to return.
STATUS_INVALID_PARAMETER Parameters were validated and determined to be incorrect.

Requirements

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Universal
Header d3dkmthk.h (include D3dkmthk.h)
Library Gdi32.lib
DLL Gdi32.dll