SetOverlayPosition

DWORD (APIENTRY *PDD_SURFCB_SETOVERLAYPOSITION)(
    PDD_SETOVERLAYPOSITIONDATA  lpSetOverlayPosition
);

SetOverlayPosition sets the position for an overlay.

Parameters

lpSetOverlayPosition
Pointer to a DD_SETOVERLAYPOSITIONDATA structure that contains the information required to set the overlay position.

Return Value

SetOverlayPosition returns a DDHAL_DRIVER_Xxx callback code that indicates how the driver handled the call. These return codes are defined in ddrawint.h.