ADC Home > Reference Library > Reference > Darwin > Disk Arbitration Framework Reference
|
DADissenter.h |
Includes: | <mach/error.h> <CoreFoundation/CoreFoundation.h> |
DADissenterCreate |
Creates a new dissenter object.
extern DADissenterRef DADissenterCreate( CFAllocatorRef allocator, DAReturn status, CFStringRef string );
allocator
status
string
A reference to a new DADissenter.
DADissenterGetStatus |
Obtains the return code.
extern DAReturn DADissenterGetStatus( DADissenterRef dissenter );
dissenter
The return code.
DADissenterGetStatusString |
Obtains the return code string.
extern CFStringRef DADissenterGetStatusString( DADissenterRef dissenter );
dissenter
The return code string.
DADissenterRef |
typedef const struct __DADissenter * DADissenterRef;
Type of a reference to DADissenter instances.
DAReturn |
A return code.
enum { kDAReturnSuccess = 0, kDAReturnError = err_local | err_local_diskarbitration | 0x01, /* ( 0xF8DA0001 ) */ kDAReturnBusy = err_local | err_local_diskarbitration | 0x02, /* ( 0xF8DA0002 ) */ kDAReturnBadArgument = err_local | err_local_diskarbitration | 0x03, /* ( 0xF8DA0003 ) */ kDAReturnExclusiveAccess = err_local | err_local_diskarbitration | 0x04, /* ( 0xF8DA0004 ) */ kDAReturnNoResources = err_local | err_local_diskarbitration | 0x05, /* ( 0xF8DA0005 ) */ kDAReturnNotFound = err_local | err_local_diskarbitration | 0x06, /* ( 0xF8DA0006 ) */ kDAReturnNotMounted = err_local | err_local_diskarbitration | 0x07, /* ( 0xF8DA0007 ) */ kDAReturnNotPermitted = err_local | err_local_diskarbitration | 0x08, /* ( 0xF8DA0008 ) */ kDAReturnNotPrivileged = err_local | err_local_diskarbitration | 0x09, /* ( 0xF8DA0009 ) */ kDAReturnNotReady = err_local | err_local_diskarbitration | 0x0A, /* ( 0xF8DA000A ) */ kDAReturnNotWritable = err_local | err_local_diskarbitration | 0x0B, /* ( 0xF8DA000B ) */ kDAReturnUnsupported = err_local | err_local_diskarbitration | 0x0C /* ( 0xF8DA000C ) */ };
|