CMSPCallMultiGraph::HandleGraphEvent method (mspcall.h)

The HandleGraphEvent method is called by the DispatchGraphEvent static method to let the call object instance handle the event. It asks the filter graph for the event code and parameters, and queues an asynchronous work item on the global worker thread object, which will result in the AsyncMultiGraphEvent function (as defined in MSPCall.h) being executed on the worker thread. This is to allow the thread pool thread to return as quickly as possible, preventing an event storm from DirectShow's manual reset event.

Syntax

void HandleGraphEvent(
  MSPSTREAMCONTEXT *pContext
);

Parameters

pContext

Contains pointer to MSPSTREAMCONTEXT structure.

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header mspcall.h

See also

CMSPCallMultiGraph