VLScpdInitializeDevice
Syntax
int VLScpdInitializeDevice (
char *pcErrorInfoOut);
Argument |
Direction |
Data Type |
Description |
---|---|---|---|
pcErrorInfoOut | OUT param | char | See Using the Diagnostic Information. |
Description
Developers should use this API to define the implementation of initialization tasks such as opening a device or making a database connection.
Returns
This status code VLS_CPD_SUCCESS is returned if successful. Otherwise, it will return one of the following errors codes:
Error Code |
Description |
---|---|
VLS_CPD_BAD_INPUT |
Arguments are not defined as per the specification for this API |
VLS_CPD_DEVICE_NO_PERM |
Insufficient permissions |
VLS_CPD_DEVICE_FATAL_ERROR |
Read/write failure or any other error |