MFPMediaPlayer_GetVideoSourceRect
Gets the video source rectangle.
MFPMediaPlayer_GetVideoSourceRect PROTO MediaPlayer:DWORD, pnrcSource:DWORD
Parameters
MediaPlayer- A pointer to the Media Player (IMFPMediaPlayer) object.pnrcSource- Pointer to an MFVideoNormalizedRect structure.
Returns
TRUE if successful or FALSE otherwise.
Notes
The upper-left corner of the video image is (0, 0). The lower-right corner of the video image is (1, 1) If the source rectangle is {0, 0, 1, 1}, the entire image is displayed. This is the default value.
See Also