IMSVidDeviceEvent::StateChange Method
This topic applies to Windows XP or later.
The StateChange method signals that the state of the device has changed.
Syntax
HRESULT StateChange(
[in] IMSVidDevice *plpd,
[in] long oldState,
[in] long newState
);
Parameters
plpd [in]
Pointer to the device object that signaled the change.oldState [in]
Specifies the old state as an MSVidCtlStateList value.newState [in]
Specifies the new state as an MSVidCtlStateList value.
Return Value
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 | Declared in Dshow.h. |
DLL | Requires Quartz.dll. |
See Also
Send comments about this topic to Microsoft
Build date: 12/4/2008