SDCancelBusRequest
Other versions of this page are also available for the following:
8/28/2008
This function cancels a queued bus request as generated by SDBusRequest.
Syntax
BOOLEAN SDCancelBusRequest(
PSD_BUS_REQUEST pRequest
);
Parameters
- pRequest
[in, out] Pointer to an SD_BUS_REQUEST structure to be cancelled.
Return Value
Returns a BOOLEAN return value that indicates whether or not the request has been successfully cancelled.
Remarks
If cancellation of the request was successful, the Status field of the SD_BUS_REQUEST structure will be set to SD_API_STATUS_CANCELED.
A driver must wait for the request to complete with a cancelled status. When a bus request is completed, its completion callback will be invoked. Only in the completion callback is it safe to free the bus request.
Requirements
Header | sdcardddk.h |
Library | sdcardlib.lib |
Windows Embedded CE | Windows CE 5.0 and later |
See Also
Reference
Secure Digital Card Driver Functions
SDBusRequest
SD_BUS_REQUEST