ISpDevice_GetDefinition
You can use the ISpDevice_GetDefinition function to get a device definition structure for a specified device.
OSStatus ISpDevice_GetDefinition ( const ISpDeviceReference inDevice, UInt32 buflen, ISpDeviceDefinition *outStruct);
inDevice- The device whose device definition structure you want to get.
buflen- The length of the device definition buffer.
outStruct- A pointer to a device definition structure.
- function result
- A result code.
DESCRIPTION
The ISpDevice_GetDefinition function returns a pointer to a device definition structure for the device specified in theinDeviceparameter and stores it in the location passed in theoutStructparameter. You also pass in, in thebuflenparameter, the length of the buffer needed for a device definition structure.