....... // GET INTERFACE, ETC
// SET UP COMMAND BUFFER
// open the AVC unit interface
result = (*avcUnit)->open( avcUnit );
// HERE, IT CHOKES
result = (*avcUnit)->createAVCAsynchronousCommand( avcUnit,
command, cmdLen, (IOFireWireAVCLibAsynchronousCommandCallback)
&myCallback, pRef, async_command);
if( kIOReturnSuccess == result )
result = (*avcUnit)-
>AVCAsynchronousCommandSubmit( avcUnit, *async_command);
result = (*avcUnit)->AVCAsynchronousCommandRelease
( avcUnit, *async_command);
If, after opening the avcUnit, I use the AVCCommand() call instead,
But when I try the async calls, it chokes on the 1st one.
The most likely candidates for trouble in the argument list of the
createAVCAsynchronousCommand call, I suppose, are the 4th and 5th args.
Especially the 5th call: do I need to be passing in something
besides a null pointer as void* pRefCon?
I tried passing a pointer to a UInt32, but that didn't help.
Also, how does one get access to the response of the command?
There's nowhere to pass a response pointer, as there is in the