CMSPCallMultiGraph::DispatchGraphEvent method (mspcall.h)

The DispatchGraphEvent method is a static method posted to the RegisterWaitForSingleObject function during initialization. This function is called when the filter graph signals the event. The pContext parameter is a pointer to the MSPSTREAMCONTEXT structure. The pointers in the structure carry ref counts. The implementation of this method simply casts the pContext argument to type MSPSTREAMCONTEXT *, and then calls HandleGraphEvent on the MSP call object whose pointer appears in the structure.

Syntax

void DispatchGraphEvent(
  VOID    *pContext,
  BOOLEAN bFlag
);

Parameters

pContext

Contains pointer to MSPSTREAMCONTEXT structure.

bFlag

Not used. Required for RegisterWaitForSingleObject. Set TRUE if wait times out, but time-out in CMSPCallMultiGraph::RegisterWaitEvent is set to INFINITE.

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header mspcall.h

See also

CMSPCallMultiGraph