IDirectDraw7::GetVerticalBlankStatus method (ddraw.h)
Retrieves the status of the vertical blank.
Syntax
HRESULT GetVerticalBlankStatus(
[out] LPBOOL unnamedParam1
);
Parameters
[out] unnamedParam1
A pointer to a variable that receives the status of the vertical blank. This parameter is TRUE if a vertical blank is occurring, and FALSE otherwise.
Return value
If the method succeeds, the return value is DD_OK.
If it fails, the method can return one of the following error values:
- DDERR_INVALIDOBJECT
- DDERR_INVALIDPARAMS
Remarks
To synchronize with the vertical blank, use the IDirectDraw7::WaitForVerticalBlank method.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | ddraw.h |
Library | Ddraw.lib |
DLL | Ddraw.dll |