![Teledyne Princeton Instruments PICam 5.x Programmer'S Manual Download Page 237](http://html1.mh-extra.com/html/teledyne/princeton-instruments-picam-5-x/princeton-instruments-picam-5-x_programmers-manual_1080558237.webp)
Chapter 7
Advanced Function APIs
237
7.4.7.2
PicamAdvanced_SetUserState()
Description
sets user-state information for the specified
hardware. This is especially useful when using callbacks as this can give access to user-
defined state within the callback.
NOTE:
This API is thread safe.
Syntax
is:
PICAM_API PicamAdvanced_SetUserState(
PicamHandle camera_or_accessory,
void* user_state);
Input Parameters
Input parameters for
Output Parameters
Output parameters for
are:
camera_or_accessory:
Handle for the hardware for which user state information is to be
configured.
Valid values are:
•
device
handle;
•
model
handle.
NOTE:
device
and
model
share the same user state.
user_state:
Pointer to the memory location where user-state information is
stored.
Summary of Contents for Princeton Instruments PICam 5.x
Page 1: ...www princetoninstruments com PICam 5 x Programmer s Manual 4411 0161 Issue 11 June 28 2021...
Page 4: ...4 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 14: ...14 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 180: ...180 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 192: ...192 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 290: ...290 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 302: ...302 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 326: ...324 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 351: ...This page is intentionally blank...
Page 354: ......