次の方法で共有


SDCancelBusRequest (Windows CE 5.0)

Send Feedback

This function cancels a queued bus request as generated by SDBusRequest.

BOOLEAN SDCancelBusRequest(PSD_BUS_REQUESTpRequest);

Parameters

  • pRequest
    [in, out] Pointer to an SD_BUS_REQUEST structure to be cancelled.

Return Values

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

OS Versions: Windows CE 5.0 and later.
Header: Sdcardddk.h.
Link Library: Sdcardlib.lib.

See Also

Secure Digital Card Driver Functions | SDBusRequest | SD_BUS_REQUEST

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.