Compartilhar via


IVideoWindow::HideCursor

 
Microsoft DirectShow 9.0

IVideoWindow::HideCursor

The HideCursor method shows or hides the cursor when the mouse is positioned over the video window.

Syntax

  HRESULT HideCursor(
    long HideCursor
);

Parameters

HideCursor

[in] Specifies whether to show or hide the cursor. Must be one of the following values:

Value Description
OATRUE Hide the cursor.
OAFALSE Show the cursor.

Return Values

Possible return values include the following:

Value Description
E_INVALIDARG Invalid argument.
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