public interface DiskArbitration
extends com.sun.jna.Library
| Modifier and Type | Interface and Description |
|---|---|
static class |
DiskArbitration.DADiskRef |
static class |
DiskArbitration.DASessionRef |
| Modifier and Type | Field and Description |
|---|---|
static DiskArbitration |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
CoreFoundation.CFDictionaryRef |
DADiskCopyDescription(DiskArbitration.DADiskRef disk)
Obtains the Disk Arbitration description of the specified disk.
|
DiskArbitration.DADiskRef |
DADiskCreateFromBSDName(CoreFoundation.CFAllocatorRef allocator,
DiskArbitration.DASessionRef session,
String diskName)
Creates a new disk object.
|
DiskArbitration.DADiskRef |
DADiskCreateFromIOMedia(CoreFoundation.CFAllocatorRef allocator,
DiskArbitration.DASessionRef session,
int media)
Creates a new disk object.
|
String |
DADiskGetBSDName(DiskArbitration.DADiskRef disk)
Obtains the BSD device name for the specified disk.
|
DiskArbitration.DASessionRef |
DASessionCreate(CoreFoundation.CFAllocatorRef allocator)
Creates a new session.
|
static final DiskArbitration INSTANCE
DiskArbitration.DASessionRef DASessionCreate(CoreFoundation.CFAllocatorRef allocator)
allocator - The allocator object to be used to allocate memory.DiskArbitration.DADiskRef DADiskCreateFromBSDName(CoreFoundation.CFAllocatorRef allocator, DiskArbitration.DASessionRef session, String diskName)
allocator - The allocator object to be used to allocate memory.session - The DASession in which to contact Disk Arbitration.diskName - he BSD device name.DiskArbitration.DADiskRef DADiskCreateFromIOMedia(CoreFoundation.CFAllocatorRef allocator, DiskArbitration.DASessionRef session, int media)
allocator - The allocator object to be used to allocate memory.session - The DASession in which to contact Disk Arbitration.media - The I/O Kit media object.CoreFoundation.CFDictionaryRef DADiskCopyDescription(DiskArbitration.DADiskRef disk)
disk - The DADisk for which to obtain the Disk Arbitration
description.String DADiskGetBSDName(DiskArbitration.DADiskRef disk)
disk - The DADisk for which to obtain the BSD device name.Copyright © 2010–2018 oshi. All rights reserved.