Teledyne Princeton Instruments PICam 5.x Programmer's Manual page 54

Table of Contents

Advertisement

54
4.3.2.9
PicamAccessory_GetOpenAccessories()
Description
PicamAccessory_GetOpenAccessories()
This array stores accessory handles for all open accessories in the current process.
Syntax
The syntax for
accessory_count);
Input Parameters
There are no input parameters associated with
PicamAccessory_GetOpenAccessories().
Output Parameters
Output parameters for
Related APIs
For additional information, refer to the following related APIs:
PICam™ 5.x Programmer's Manual
NOTE:
Prior to program termination, memory that has been
dynamically allocated to
by calling Picam_DestroyHandles().
PicamAccessory_GetOpenAccessories()
PicamAccessory_GetOpenAccessories(
PICAM_API
PicamAccessory_GetOpenAccessories()
accessory_array: Pointer to the memory address for the array in which the list of
accessory handles is stored.
When there are no available accessory handles, a null value is
returned.
accessory_count: The total number of accessory handles stored in
accessory_array. This equals the length of the array that has
been created.
When there are no available accessory handless, a value of 0 [zero] is
returned.
Picam_DestroyHandles().
dynamically creates an array of length N.
must be released
accessory_array
is:
const PicamHandle** accessory_array,
piint*
Issue 11
are:

Advertisement

Table of Contents
loading

Table of Contents