VLScpdExitDevice

Syntax

int VLScpdExitDevice (  char *pcErrorInfoOut );

Argument

Direction

Data Type

Description

pcErrorInfoOut OUT param char* See Using the Diagnostic Information.

Description

RMS initiates the cleanup of persistent devices and resources through this callback API. The implementation of this callback API should clean all system resource (such as memory locks and connections) created/initialized by the developer using the VLScpdInitialize API.

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 of this API.

VLS_CPD_DEVICE_NO_PERM

Insufficient permissions.

VLS_CPD_DEVICE_FATAL_ERROR

Read/write failure or any other error.