Start the app in normal size for device "AIO000" and perform the app startup and termination processing.
long Ret; //Return value
short AppId;
long CloseStatus;
//----------------------------------------
// Start the application and allow access.
//----------------------------------------
Ret = GenOpenication ( "AIO000" , &AppId );
if(Ret != 0)
{
printf("Error occurred in GenOpenApplication %d\n", Ret);
}
//----------------------------------------
// Close the application and disable access.
//----------------------------------------
Ret = GenCloseApplication ( AppId , CloseStatus );
if(Ret != 0)
{
printf("Error occurred in GenCloseApplication %d\n", Ret);