D3DKMTWaitForVerticalBlankEvent2 function (d3dkmthk.h)

Waits for specified wait objects, including a vertical blank event, to occur and then returns.

Syntax

NTSTATUS D3DKMTWaitForVerticalBlankEvent2(
  [in] const D3DKMT_WAITFORVERTICALBLANKEVENT2 *unnamedParam1
);

Parameters

[in] unnamedParam1

A D3DKMT_WAITFORVERTICALBLANKEVENT2 structure that specifies parameters for waiting on multiple wait objects, including a vertical blank event.

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

Requirement Value
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

See also

D3DKMT_WAITFORVERTICALBLANKEVENT2