38.9.4.33 Cancel Queuing Device Read/Write Request

Cancels queuing device read/write request.

Function Name

INT WINAPI CancelQueuingAccess();

Argument

None

Return value (NULL)

Successful operation: 0

Problem operation: Error code

Special Item

Until ExecuteQueuingAccess() is called after calling BeginQueuingWrite() or BeginQueuingRead(), the queuing device access request continues.

If the request is no longer required, call this API. The API cancels the request and ends the queuing operation.