Export (0) Print
Expand All

IVideoWindow::HideCursor method

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

Syntax


HRESULT HideCursor(
  [in]  long HideCursor
);

Parameters

HideCursor [in]

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

ValueMeaning
OATRUE

Hide the cursor.

OAFALSE

Show the cursor.

 

Return value

Possible return values include the following:

Return codeDescription
E_INVALIDARG

Invalid argument.

S_OK

Success.

VFW_E_NOT_CONNECTED

The video renderer filter is not connected.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Control.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IVideoWindow Interface
IVideoWindow::IsCursorHidden

 

 

Community Additions

ADD
Show:
© 2014 Microsoft