|
Mac Dev Center
Mac OS X Reference Library Drivers, Kernel, & Hardware: User-Space Device Access Disk Arbitration Framework Reference
|
DADissenter.h |
| Includes: | <mach/error.h> <CoreFoundation/CoreFoundation.h> |
Use the links in the table of contents to the left to access the documentation.
Creates a new dissenter object.
Obtains the return code.
Obtains the return code string.
DADissenterCreate |
Creates a new dissenter object.
extern DADissenterRef DADissenterCreate( CFAllocatorRef allocator, DAReturn status, CFStringRef string );
allocatorThe allocator object to be used to allocate memory.
statusThe return code.
stringThe return code string. Pass NULL for no reason.
A reference to a new DADissenter.
DADissenterGetStatus |
Obtains the return code.
extern DAReturn DADissenterGetStatus( DADissenterRef dissenter );
dissenterThe DADissenter for which to obtain the return code.
The return code.
DADissenterGetStatusString |
Obtains the return code string.
extern CFStringRef DADissenterGetStatusString( DADissenterRef dissenter );
dissenterThe DADissenter for which to obtain the return code string.
The return code string.
DADissenterRef |
typedef const struct __DADissenter * DADissenterRef;
Type of a reference to DADissenter instances.
A return code.
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 ) */ };
Last Updated: 2009-10-26