DADissenter.h

Includes:
<mach/error.h>
<CoreFoundation/CoreFoundation.h>

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

DADissenterCreate

Creates a new dissenter object.

DADissenterGetStatus

Obtains the return code.

DADissenterGetStatusString

Obtains the return code string.


DADissenterCreate


Creates a new dissenter object.

extern DADissenterRef DADissenterCreate(
    CFAllocatorRef allocator,
    DAReturn status,
    CFStringRef string );  
Parameters
allocator

The allocator object to be used to allocate memory.

status

The return code.

string

The return code string. Pass NULL for no reason.

Return Value

A reference to a new DADissenter.


DADissenterGetStatus


Obtains the return code.

Parameters
dissenter

The DADissenter for which to obtain the return code.

Return Value

The return code.


DADissenterGetStatusString


Obtains the return code string.

Parameters
dissenter

The DADissenter for which to obtain the return code string.

Return Value

The return code string.

Typedefs

DADissenterRef

DADissenterRef


typedef const struct __DADissenter * DADissenterRef;  
Discussion

Type of a reference to DADissenter instances.

Enumerated Types

DAReturn

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 ) */
};  

 

Did this document help you? Yes It's good, but... Not helpful...

 

Last Updated: 2009-10-26