Freigeben über


IVideoWindow::get_MessageDrain

 
Microsoft DirectShow 9.0

IVideoWindow::get_MessageDrain

The get_MessageDrain method retrieves the window that receives mouse and keyboard messages from the video window, if any.

Syntax

  HRESULT get_MessageDrain(
    OAHWND *Drain
);

Parameters

Drain

[in] Pointer to a variable that receives a handle to the window, as an OAHWND type. If no message drain was set, this parameter receives the value NULL.

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