Share via


IDirectDrawSurface::GetCaps

 
Microsoft DirectShow 9.0

IDirectDrawSurface::GetCaps

The GetCaps method returns the capabilities of the surface. These are not necessarily related to the capabilities of the display device.

Syntax

  
    
   ps

Parameters

lpDDCaps

Points to a DDCAPS structure that will be filled in with the hardware capabilities of the surface.

Return Values

Value Description
DD_OK The method succeeded.
DDERR_INVALIDOBJECT DirectDraw received a pointer that was an invalid DirectDraw object.
DDERR_INVALIDPARAMS One or more of the input parameters is invalid.

See Also