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.
Содержание Princeton Instruments PICam 5.x
Страница 1: ...www princetoninstruments com PICam 5 x Programmer s Manual 4411 0161 Issue 11 June 28 2021...
Страница 4: ...4 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Страница 14: ...14 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Страница 180: ...180 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Страница 192: ...192 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Страница 290: ...290 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Страница 302: ...302 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Страница 326: ...324 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Страница 351: ...This page is intentionally blank...
Страница 354: ......