IDirectDrawSurface::SetOverlayPosition
| Microsoft DirectShow 9.0 |
IDirectDrawSurface::SetOverlayPosition
The SetOverlayPosition method changes the display coordinates of an overlay surface.
Syntax
,
Y
Parameters
lX
New X display coordinate.
lY
New Y display coordinate.
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_SURFACELOST | Access to this surface is being refused because the surface memory is gone. The DirectDrawSurface object representing this surface should have Restore called on it. |
| DDERR_GENERIC | Generic failure. |
| DDERR_UNSUPPORTED | Action not supported. |
See Also