IAMVfwCaptureDialogs::SendDriverMessage

 
Microsoft DirectShow 9.0

IAMVfwCaptureDialogs::SendDriverMessage

The SendDriverMessage method sends a driver-specific message.

Syntax

  HRESULT SendDriverMessage(
  int iDialog,
  int uMsg,
  long dw1,
  long dw2
);

Parameters

iDialog

[in] Handle of the driver dialog box. This is a member of the VfwCaptureDialogs enumeration.

uMsg

[in] Message to send to the driver.

dw1

[in] Message data.

dw2

[in] Message data.

Return Values

Return value varies depending on the implementation within each driver.

Remarks

You should never need to use this method. This method can send any private message to the capture driver. Behavior might be undetermined in response to arbitrary messages; use this method at your own risk.

This method calls the Video for Windows videoMessage function to send the driver message.

Requirements

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

Library: Use Strmiids.lib.

See Also