imgSessionOpen
- Updated2023-02-21
- 1 minute(s) read
Usage
rval imgSessionOpen(INTERFACE_ID ifid, SESSION_ID* psid);
Purpose
Opens a session and returns a session ID. This function inherits all data associated with the given interface.
Parameters
| Name | Type | Direction |
| ifid | INTERFACE_ID | input |
| psid | SESSION_ID* | output |
| rval | Int32 | output |
Parameter Discussion
ifid: valid INTERFACE_ID.
psid: pointer to a SESSION_ID variable. If the function succeeds, the variable is populated with a valid SESSION_ID that you can use in subsequent functions.
Return Value
This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imgShowError.