Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a cancellation token for use with APIs that support cancellation.
Syntax
HRESULT CreateCancellationToken(
REFIID riid,
void ** cancellationToken);
Parameters
riid [in]
The interface IID of the token to be returned. Expected: IPixCancellationToken
cancellationToken [out]
Pointer to the returned interface.
Returns
S_OK if the cancellation token was created successfully, otherwise an error code.