Share via


IDirectDrawSurface::AddOverlayDirtyRect

 
Microsoft DirectShow 9.0

IDirectDrawSurface::AddOverlayDirtyRect

The AddOverlayDirtyRect method is used to build up the list of the rectangles that need to be updated the next time the UpdateOverlayDisplay method is called. This method is used for the software implementation. It is not needed if the overlay support is provided in hardware.

Syntax

  
    
   ct

Parameters

lpRect

Points to the RECT structure that needs to be updated.

Return Values

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

See Also