DADiskCopyIOMedia

Function DADiskCopyIOMedia 

Source
pub unsafe extern "C" fn DADiskCopyIOMedia(
    disk: DADiskRef,
) -> io_service_t
Expand description

Obtains the I/O Kit media object for the specified disk.

§Parameters

  • disk - The DADisk for which to obtain the I/O Kit media object.

§Returns

The disk’s I/O Kit media object.

§Discussion

The caller of this function receives a reference to the returned object. The caller also implicitly retains the object and is responsible for releasing it with IOObjectRelease.