_IMSVidCtlEvents::StateChange Method

This topic applies to Windows XP or later.
The StateChange method is called by when the state of the Video Control changes.

Syntax

void StateChange(
    MSVidCtlStateList PrevState,
    MSVidCtlStateList CurrState
);

Parameters

  • PrevState
    Specifies the previous state, as a member of the MSVidCtlStateList enumeration.

  • CurrState
    Specifies the current state, as as a member of the MSVidCtlStateList enumeration.

Return Value

This method does not return a value.

Remarks

The state of the Video Control does not necessarily correspond to the state of all the devices in the filter graph.

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

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

_IMSVidCtlEvents Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008