CMSPCallMultiGraph::UnregisterWaitEvent method (mspcall.h)

The UnregisterWaitEvent method calls the UnregisterWait function to tell the thread pool to stop waiting on the handle indicated by the wait block at the given index. Releases the refcounts in the wait block and frees the wait block. Removes the wait block from the list of wait blocks.

Syntax

HRESULT UnregisterWaitEvent(
  int index
);

Parameters

index

Index on appropriate item in the array of THREADPOOLWAITBLOCK structures.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header mspcall.h

See also

CMSPCallMultiGraph