|Microsoft DirectX 9.0|
The DrawVideoImageHere method draws an image from a media sample to a specified device context.
BOOL CDrawImage::DrawVideoImageHere( HDC hdc, IMediaSample *pMediaSample, RECT *lprcSrc, RECT *lprcDst );
Handle to a device context, where the drawing will occur.
Pointer to the IMediaSample interface of the sample that contains the image.
Pointer to a source rectangle to use for drawing. If NULL, the rectangle in CDrawImage::m_SourceRect is used.
Pointer to a target rectangle to use for drawing. If NULL, the rectangle in CDrawImage::m_TargetRect is used.
Returns TRUE if successful.