IVideoWindow::get_Width
Microsoft DirectShow 9.0 |
IVideoWindow::get_Width
The get_Width method retrieves the width of the video window.
Syntax
HRESULT get_Width( long *pWidth );
Parameters
pWidth
[out] Pointer a variable that receives the width, in pixels.
Return Values
Possible return values include the following:
Value | Description |
E_POINTER | NULL pointer. |
S_OK | Success. |
VFW_E_NOT_CONNECTED | The video renderer filter is not connected. |
Requirements
Header: Declared in Control.h; include Dshow.h.
Library: Use Strmiids.lib.
See Also