次の方法で共有


CBaseControlWindow::get_MessageDrain (Compact 2013)

3/26/2014

Retrieves the current message drain.

Syntax

HRESULT get_MessageDrain(
  OAHWND* Drain
);

Parameters

  • Drain
    Current window receiving window messages.

Return Value

Returns an HRESULT value.

Remarks

Messages sent to the video renderer filter can be posted to another window.

The window registered to receive these messages (using the CBaseControlWindow::get_MessageDrain member function) is the current message drain.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseControlWindow Class