ReportEjectability
Returns a Boolean value that indicates whether the media is ejectable, in response to a call from the framework.
Declaration
virtual kern_return_t ReportEjectability(bool *isEjectable);Parameters
- isEjectable:
An in/out Boolean parameter. On output, set this to
trueif the hardware supports ejecting the media.
Return Value
A value that indicates the report-ejectability result. Return kIOReturnSuccess to inidicate success. To indicate a failure, see IOKit Constants for error definitions.