MFPMediaPlayer_GetIdealVideoSize
Gets the range of video sizes that can be displayed without significantly degrading performance or image quality.
MFPMediaPlayer_GetIdealVideoSize PROTO MediaPlayer:DWORD, pszMin:DWORD, pszMax:DWORD
Parameters
MediaPlayer- A pointer to the Media Player (IMFPMediaPlayer) object.pszMin- Pointer to a SIZE variable to store the minimum size of video that is preferable. Can be NULL.pszMax- Pointer to a SIZE variable to store the maximum size of video that is preferable. Can be NULL.
Returns
TRUE if successful or FALSE otherwise.
Notes
At least one parameter must be non-NULL. Sizes are given in pixels.
See Also