Microsoft DirectX 8.1 (C++)

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 pins are not connected.

See Also