Microsoft DirectX 9.0 |
The SetVideoPosition method sets the source and destination rectangles for the video.
Syntax
HRESULT SetVideoPosition(
const LPRECT lpSRCRect,
const LPRECT lpDSTRect
);
Parameters
lpSRCRect
[in] Specifies the source rectangle.
lpDSTRect
[in] Specifies the destination rectangle.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Error Code | Description |
VFW_E_WRONG_STATE | The VMR is not in windowless mode. |
See Also