Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The IVMRWindowlessControl interface is implemented by the VMR and contains methods that control how the video stream is rendered within a container window. Applications must first put the VMR into windowless mode before using the methods on this interface.
In addition to the methods inherited from IUnknown, the IVMRWindowlessControl interface exposes the following methods:
Method | Description |
DisplayModeChanged | Informs the VMR that a WM_DISPLAYCHANGE message has been received by the application. |
GetAspectRatioMode | Retrieves the current aspect ratio display mode. |
GetBorderColor | Retrieves the current border color used by the VMR. |
GetColorKey | Retrieves the current source color key value used by the VMR. |
GetCurrentImage | Retrieves a copy of the current image being displayed by the VMR. |
GetMaxIdealVideoSize | Retrieves the maximum video size that the VMR can display without incurring significant performance or image quality degradation. |
GetMinIdealVideoSize | Retrieves the minimum video size that the VMR can display without incurring significant performance or image quality degradation. |
GetNativeVideoSize | Retrieves the un-stretched video size and aspect ratio of the video. |
GetVideoPosition | Retrieves the current source and destination rectangles used to display the video. |
RepaintVideo | Repaints the current video frame. |
SetAspectRatioMode | Sets the current aspect ratio display mode. |
SetBorderColor | Sets the border color to be used by the VMR. |
SetColorKey | Sets the source color key value that the VMR should use |
SetVideoClippingWindow | Specifies the container window that video should be clipped to. |
SetVideoPosition | Sets the source and destination rectangles for the video. |