// d3dkmthk.h
NTSTATUS D3DKMTWaitForVerticalBlankEvent2(
[in] const D3DKMT_WAITFORVERTICALBLANKEVENT2 *unnamedParam1
);
View the official Windows Driver Kit DDI referenceNo description available.
Waits for specified wait objects, including a vertical blank event, to occur and then returns.
unnamedParam1 [in]A D3DKMT_WAITFORVERTICALBLANKEVENT2 structure that specifies parameters for waiting on multiple wait objects, including a vertical blank event.
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. |
D3DKMT_WAITFORVERTICALBLANKEVENT2