| Microsoft DirectX 8.1 (C++) | 
The GetCaps method retrieves a DirectDraw-defined DDCAPS structure containing the hardware capabilities.
Syntax
HRESULT GetCaps(
  DDCAPS *pCaps
);
Parameters
pCaps
Pointer to a DDCAPS structure containing the hardware capabilities.
Return Values
Returns an HRESULT value.
Remarks
If the renderer has not loaded DirectDraw, this method returns E_FAIL.
See Also