IMSVidDeviceEvent::StateChange

 
Microsoft DirectShow 9.0

IMSVidDeviceEvent::StateChange

This topic applies to Windows XP or later.

The StateChange method signals that the state of the device has changed.

Syntax

  HRESULT StateChange(
  IMSVidDevice*  plpd,
  long  oldState,
  long  newState
);

Parameters

  plpd

[in]  Pointer to the device object that signalled the change.

  oldState

[in]  Specifies the old state as an MSVidCtlStateList value.

  newState

[in]  Specifies the new state as an MSVidCtlStateList value.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

The dispatch identifier (dispid) of this method is eventidStateChange.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also