|
Mac Dev Center
Mac OS X Reference Library Drivers, Kernel, & Hardware: User-Space Device Access I/O Kit Framework Reference
|
IOFireWireWriteQuadletCommandInterface |
| Declared In: |
IOFireWireLib quadlet read command object.
Obsolete; do not use. Use IOFireWireWriteCommandInterface v2 or newer and its function SetMaxPacket()
Cancel command execution
Return command completion status.
Get command target address.
Return number of bytes transferred by this command object when it last completed execution.
Is this command object currently executing?
Set the completion handler to be called once the command completes asynchronous execution .
Set FireWire bus generation for which the command object shall be valid. If the failOnReset attribute has been set, the command will only be considered for execution during the bus generation specified by this function.
Set the user refCon value. This is the user defined value that will be passed in the refCon argument to the completion function.
Set command target address
Set the command refCon value and callback handler, and submit the command to FireWire for execution.
Cancel |
Cancel command execution
IOReturn ( *Cancel)( IOFireWireLibCommandRef self, IOReturn reason);
selfThe command object interface of interest
An IOReturn result code
Availability: (for interfaces obtained with ID)
kIOFireWireReadCommandInterfaceID |
YES | |
kIOFireWireReadCommandInterfaceID_v2 |
YES | |
kIOFireWireWriteCommandInterfaceID |
YES | |
kIOFireWireWriteCommandInterfaceID_v2 |
YES | |
kIOFireWireReadQuadletCommandInterfaceID |
YES | |
kIOFireWireWriteQuadletCommandInterfaceID |
YES | |
kIOFireWireCompareSwapCommandInterfaceID |
YES | |
kIOFireWireAsyncStreamCommandInterfaceID |
YES |
GetStatus |
Return command completion status.
IOReturn ( *GetStatus)( IOFireWireLibCommandRef self);
selfThe command object interface of interest
An IOReturn error code indicating the completion error (if any) returned the last time this command object was executed
Availability: (for interfaces obtained with ID)
kIOFireWireReadCommandInterfaceID |
YES | |
kIOFireWireReadCommandInterfaceID_v2 |
YES | |
kIOFireWireWriteCommandInterfaceID |
YES | |
kIOFireWireWriteCommandInterfaceID_v2 |
YES | |
kIOFireWireReadQuadletCommandInterfaceID |
YES | |
kIOFireWireWriteQuadletCommandInterfaceID |
YES | |
kIOFireWireCompareSwapCommandInterfaceID |
YES | |
kIOFireWireAsyncStreamCommandInterfaceID |
YES |
GetTargetAddress |
Get command target address.
void ( *GetTargetAddress)( IOFireWireLibCommandRef self, FWAddress *outAddr);
selfThe command object interface of interest
outAddrA pointer to an FWAddress to contain the function result.
Availability: (for interfaces obtained with ID)
kIOFireWireReadCommandInterfaceID |
YES | |
kIOFireWireReadCommandInterfaceID_v2 |
YES | |
kIOFireWireWriteCommandInterfaceID |
YES | |
kIOFireWireWriteCommandInterfaceID_v2 |
YES | |
kIOFireWireReadQuadletCommandInterfaceID |
YES | |
kIOFireWireWriteQuadletCommandInterfaceID |
YES | |
kIOFireWireCompareSwapCommandInterfaceID |
YES | |
kIOFireWireAsyncStreamCommandInterfaceID |
NO |
GetTransferredBytes |
Return number of bytes transferred by this command object when it last completed execution.
UInt32 ( *GetTransferredBytes)( IOFireWireLibCommandRef self);
selfThe command object interface of interest
A UInt32 containing the bytes transferred value
Availability: (for interfaces obtained with ID)
kIOFireWireReadCommandInterfaceID |
YES | |
kIOFireWireReadCommandInterfaceID_v2 |
YES | |
kIOFireWireWriteCommandInterfaceID |
YES | |
kIOFireWireWriteCommandInterfaceID_v2 |
YES | |
kIOFireWireReadQuadletCommandInterfaceID |
YES | |
kIOFireWireWriteQuadletCommandInterfaceID |
YES | |
kIOFireWireCompareSwapCommandInterfaceID |
YES | |
kIOFireWireAsyncStreamCommandInterfaceID |
YES |
IsExecuting |
Is this command object currently executing?
const Boolean (*IsExecuting)(IOFireWireLibCommandRef self);
selfThe command object interface of interest
Returns true if the command object is executing.
Availability: (for interfaces obtained with ID)
kIOFireWireReadCommandInterfaceID |
YES | |
kIOFireWireReadCommandInterfaceID_v2 |
YES | |
kIOFireWireWriteCommandInterfaceID |
YES | |
kIOFireWireWriteCommandInterfaceID_v2 |
YES | |
kIOFireWireReadQuadletCommandInterfaceID |
YES | |
kIOFireWireWriteQuadletCommandInterfaceID |
YES | |
kIOFireWireCompareSwapCommandInterfaceID |
YES | |
kIOFireWireAsyncStreamCommandInterfaceID |
YES |
SetCallback |
Set the completion handler to be called once the command completes asynchronous execution .
void ( *SetCallback)( IOFireWireLibCommandRef self, IOFireWireLibCommandCallback inCallback);
selfThe command object interface of interest
inCallbackA callback handler. Passing nil forces the command object to execute synchronously.
Availability: (for interfaces obtained with ID)
kIOFireWireReadCommandInterfaceID |
YES | |
kIOFireWireReadCommandInterfaceID_v2 |
YES | |
kIOFireWireWriteCommandInterfaceID |
YES | |
kIOFireWireWriteCommandInterfaceID_v2 |
YES | |
kIOFireWireReadQuadletCommandInterfaceID |
YES | |
kIOFireWireWriteQuadletCommandInterfaceID |
YES | |
kIOFireWireCompareSwapCommandInterfaceID |
YES | |
kIOFireWireAsyncStreamCommandInterfaceID |
YES |
SetGeneration |
Set FireWire bus generation for which the command object shall be valid. If the failOnReset attribute has been set, the command will only be considered for execution during the bus generation specified by this function.
void ( *SetGeneration)( IOFireWireLibCommandRef self, UInt32 generation);
selfThe command object interface of interest
generationA bus generation. The current bus generation can be obtained from IOFireWireDeviceInterface::GetBusGeneration().
Availability: (for interfaces obtained with ID)
kIOFireWireReadCommandInterfaceID |
YES | |
kIOFireWireReadCommandInterfaceID_v2 |
YES | |
kIOFireWireWriteCommandInterfaceID |
YES | |
kIOFireWireWriteCommandInterfaceID_v2 |
YES | |
kIOFireWireReadQuadletCommandInterfaceID |
YES | |
kIOFireWireWriteQuadletCommandInterfaceID |
YES | |
kIOFireWireCompareSwapCommandInterfaceID |
YES | |
kIOFireWireAsyncStreamCommandInterfaceID |
YES |
SetQuads |
void ( *SetQuads)( IOFireWireLibWriteQuadletCommandRef self, UInt32 inQuads[], UInt32 inNumQuads);
IOFireWireLibWriteQuadletCommandRef
SetRefCon |
Set the user refCon value. This is the user defined value that will be passed in the refCon argument to the completion function.
Availability: (for interfaces obtained with ID)
kIOFireWireReadCommandInterfaceID |
YES | |
kIOFireWireReadCommandInterfaceID_v2 |
YES | |
kIOFireWireWriteCommandInterfaceID |
YES | |
kIOFireWireWriteCommandInterfaceID_v2 |
YES | |
kIOFireWireReadQuadletCommandInterfaceID |
YES | |
kIOFireWireWriteQuadletCommandInterfaceID |
YES | |
kIOFireWireCompareSwapCommandInterfaceID |
YES | |
kIOFireWireAsyncStreamCommandInterfaceID |
YES |
SetTarget |
Set command target address
void ( *SetTarget)( IOFireWireLibCommandRef self, const FWAddress* addr);
selfThe command object interface of interest
addrA pointer to an FWAddress.
Availability: (for interfaces obtained with ID)
kIOFireWireReadCommandInterfaceID |
YES | |
kIOFireWireReadCommandInterfaceID_v2 |
YES | |
kIOFireWireWriteCommandInterfaceID |
YES | |
kIOFireWireWriteCommandInterfaceID_v2 |
YES | |
kIOFireWireReadQuadletCommandInterfaceID |
YES | |
kIOFireWireWriteQuadletCommandInterfaceID |
YES | |
kIOFireWireCompareSwapCommandInterfaceID |
YES | |
kIOFireWireAsyncStreamCommandInterfaceID |
NO |
Submit |
IOReturn ( *Submit)( IOFireWireLibCommandRef self);
Description forthcoming
SubmitWithRefconAndCallback |
Set the command refCon value and callback handler, and submit the command to FireWire for execution.
IOReturn ( *SubmitWithRefconAndCallback)( IOFireWireLibCommandRef self, void *refCon, IOFireWireLibCommandCallback inCallback);
selfThe command object interface of interest
An IOReturn result code indicating whether or not the command was successfully submitted
Availability: (for interfaces obtained with ID)
kIOFireWireReadCommandInterfaceID |
YES | |
kIOFireWireReadCommandInterfaceID_v2 |
YES | |
kIOFireWireWriteCommandInterfaceID |
YES | |
kIOFireWireWriteCommandInterfaceID_v2 |
YES | |
kIOFireWireReadQuadletCommandInterfaceID |
YES | |
kIOFireWireWriteQuadletCommandInterfaceID |
YES | |
kIOFireWireCompareSwapCommandInterfaceID |
YES | |
kIOFireWireAsyncStreamCommandInterfaceID |
YES |
revision |
UInt32 revision;
Interface revision.
version |
UInt32 version;
Interface version.
Last Updated: 2009-10-15