IOUserBlockStorageDevice
A DriverKit provider object that manages communications with a block storage device.
Declaration
class IOUserBlockStorageDevice;Overview
Implement your driver by subclassing this class and overriding all C++ pure virtual methods.
Specifying the Driver’s Personality Information
When you subclass IOUserBlockStorageDevice, update the IOKitPersonalities key of your driver extension’s Info.plist file with information to match your driver to the correct hardware. For this class, always include the keys and values in the following table:
Key | Value |
|---|---|
IOClass |
|
IOUserClass | The name of your custom dext class |
CFBundleIdentifierKernel |
|
Topics
Running the Service
Reporting Device Metadata
GetVendorStringGetProductStringGetRevisionStringGetAdditionalInfoStringDeviceStringGetDeviceParamsDeviceParams
Reporting Device Capabilities
Accessing the Device
DoAsyncUnmapBlockRangeDoAsyncSynchronizeDoAsyncEjectMediaCompleteDoAsyncReadWriteIOUserStorageOptionsCompleteIO