dio_duplicate_ssdn_properties_c

status.i4.v = dio_duplicate_ssdn_properties_c(device_index.i4.v,
property.i2.v,
options.u4.v,
num_duplicates.i4.r,
device_indices.i4p.r,
properties.i2p.r)
This routine returns device properties whose SSDNs are
the same as the requested device and originate from the
same front end.
device_index device index
property property index (Passing a value of PRNULL for this
argument will result in all of the device's properties
being checked.)
(constants are in 'dbprops')
options search options
(DIO_OPT_NONE -> no options selected)
num_duplicates returned number of duplicate properties found
device_indices returned matching device indices
(The memory for these values is allocated by this
routine and should be freed by the caller.)
(A value of NULL can be passed for this argument
if the device indices are not needed.)
properties returned matching properties
(The memory for these values is allocated by this
routine and should be freed by the caller.)
(A value of NULL can be passed for this argument
if the properties are not needed.)
This function returns ACNET status values as follows:
OK success
SQL_xxx error retrieving duplicate SSDN properties
This function requires the following include files:
diolib_h, acnet_errors_h
Related functions:
dio_ssdn_to_duplicate_ssdn_properties_c, dio_dev_ssdn(_c)
C/C++ usage:
short property = PRSET;
short *properties;
int status;
int device_index = 4976;
int num_duplicates;
int *device_indices;
unsigned int options = DIO_OPT_NONE;
status = dio_duplicate_ssdn_properties_c(device_index,property,options,
&num_duplicates,
&device_indices,&properties);