RFID_STATUS WINAPI RFID_GetUserAppRunStatusW ( RFID_HANDLE32  readerManagementHandle,
WCHAR *  pAppName,
BOOLEAN *  pRunStatus 
)

This function gets the run status of the application specified by the user.

Parameters:
[in] readerManagementHandle 
Handle to the RFID device.
[in] pAppName 
Pointer to the name of the application whose status is to be retrieved.
[out] runStatus 
Pointer to the boolean variable that receives the run status of the application.
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.
Remarks:
This function starts the application specified by appName. The appName is the name of the application specified while creating the .deb package. If the function returns RFID_API_SUCCESS then the runStatus variable contains TRUE if the application is running, FALSE otherwise.
See also:
RFID_InstallUserApp, RFID_UninstallUserApp, RFID_StartUserApp, RFID_StopUserApp, RFID_ListUserApps, RFID_SetUserAppAutoStart
Remarks:
Example: See
RFID_STATUS rfidStatus = RFID_API_SUCCESS; 
BOOLEAN runStatus = FALSE;
rfidStatus = RFID_GetUserAppRunStatus(GOOD_RM_HANDLE, “Sample_app”, &runStatus);
if(rfidStatus == RFID_API_SUCCESS)
{
        if(runStatus == TRUE)
                printf(“App is running”);
        else
                printf(“App is not running”);
        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