Compartilhar via


IVideoWindow::get_Top

 
Microsoft DirectShow 9.0

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 video renderer filter is not connected.

Requirements

Header: Declared in Control.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also