Microsoft DirectX 9.0

_IMSVidCtlEvents::StateChange

This topic applies to Windows XP only.

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 Values

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.

See Also