CBaseControlVideo::GetImageSize (Windows CE 5.0)
Retrieves video image size information.
HRESULTGetImageSize(VIDEOINFOHEADER* pVideoInfo,long* pBufferSize,RECT* pSourceRect);
Parameters
- pVideoInfo
Pointer to a VIDEOINFOHEADER structure to be filled in. - pBufferSize
Size of the video buffer. - pSourceRect
Rectangle dimensions of the source video.
Return Values
Returns an HRESULT value.
Remarks
This member function is a helper function used for creating memory image renderings of DIB images.
It is called from the base class implementation of CBaseControlVideo::GetCurrentImage when a null pVideoImage parameter is passed to that member function.
As a result, this member function constructs and returns a VIDEOINFOHEADER structure, using the information in pBufferSize and pSourceRect.
Requirements
DirectShow applications and DirectShow filters have different include file and link library requirements.
For more information, see Setting Up the Build Environment.
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:
Send Feedback on this topic to the authors