Contents

DoAsyncEjectMedia

Ejects the media.

Declaration

virtual kern_return_t DoAsyncEjectMedia(uint32_t requestID);

Parameters

  • requestID:

    An opaque identifier. After the dext completes the request, it calls Complete and sends this value as a parameter.

Return Value

A value that indicates the eject result. kIOReturnSuccess indicates success. For error definitions, see IOKit Constants.

Discussion

When the eject operation completes, the dext calls your Complete method with the results of the operation.

See Also

Accessing the Device