RFID_STATUS WINAPI RFID_SetUserAppAutoStartW ( RFID_HANDLE32  readerManagementHandle,
WCHAR *  pAppName,
BOOLEAN  Enable 
)

This function enables/disables autoStart of the applications specified by the reader.

Parameters:
[in] readerManagementHandle 
Handle to the RFID device.
[in] pAppName 
Pointer to the name of the application.
[in] Enable 
Parameter specifying whether the appliaction autostart is to be enabled or disabled.
Returns:
If the function succeeds the return value is RFID_API_SUCCESS. If the function fails the return value is one of the following:
  • RFID_API_INVALID_HANDLE Handle provided is invalid
  • RFID_API_PARAM_ERROR Invalid parameters.
  • RFID_API_CANNOT_ALLOC_MEM Out of memory.
Remarks:
This function enables the application start up on every boot if the Enable parameter is TRUE. Disables auto start otherwise.
See also:
RFID_InstallUserApp, RFID_UninstallUserApp, RFID_StartUserApp, RFID_StopUserApp, RFID_GetUserAppRunStatus, RFID_ListUserApps
Remarks:
Example: See
RFID_STATUS rfidStatus = RFID_API_SUCCESS; 

rfidStatus = RFID_ SetUserAppAutoStart(GOOD_RM_HANDLE, “Sample_app”, true);
if(rfidStatus == RFID_API_SUCCESS)
{
        return true;
}
else
        return false; 


Generated on Fri Mar 4 02:25:32 2016 for RFIDAPI3 1.1 C API Documentation by  doxygen 1.5.6