Platform SDK: TAPI

DispatchGraphEvent

This is a static method posted to the RegisterWaitForSingleObject function during initialization. This function is called when the filter graph signals the event. The pContext 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.

static VOID NTAPI 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.

See Also

CMSPCallMultiGraph