Microsoft DirectX 8.1 (C++)

IVideoWindow::get_Top

The get_Top method retrieves the video window's y-coordinate.

Syntax

HRESULT get_Top(
    long *pTop
);

Parameters

pTop

[out] Pointer  to a variable that receives the y-coordinate, 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