Platform SDK: TAPI

CMSPCallMultiGraph::RegisterWaitEvent

This method should only be called within a critical section on the call object. It allocates a thread pool context block, fills in the fields, increments the reference counts, and posts the block to the thread pool by calling the win32 function RegisterWaitForSingleObjectEx. Saves the wait handle returned for use in UnregisterWaitEvent. Saves the wait block in the list of wait blocks.

HRESULT RegisterWaitEvent (
  IMediaEvent *pIMediaMedia,
  ITStream *pITStream
);

Parameters

pIMediaMedia
Pointer to DirectShow IMediaEvent interface.
pITStream
Pointer to ITStream interface.

See Also

CMSPCallMultiGraph