Platform SDK: TAPI

THREADPOOLWAITBLOCK

A wait block stores information about a wait registered to the thread pool. It includes the wait handles returned by the RegisterWaitForSingleObject call and a pointer to the context structure. Each block in the array is for a graph in one of the stream objects. The offset of a block in this array is the same as the offset of the stream that owns the graph.

typedef struct _THREADPOOLWAITBLOCK
{
  HANDLE              hWaitHandle;
  MSPSTREAMCONTEXT *  pContext;
  BOOL operator == (struct _THREADPOOLWAITBLOCK &t)
  {
      return ((hWaitHandle == t.hWaitHandle)
          && (pContext == t.pContext));
  }
} THREADPOOLWAITBLOCK, *PTHREADPOOLWAITBLOCK;

See Also

CMSPCallMultiGraph