DADiskCopyWholeDisk

Function DADiskCopyWholeDisk 

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

Obtain the associated whole disk object for the specified disk.

§Parameters

  • disk - The disk object.

§Returns

The disk’s associated whole disk 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 CFRelease.