GetLastInputInfo error
-
Hi all, To detect the application idle time,im using GetLastInputInfo function, but its not returning any values in the structure LASTINPUTINFO. It is showing the following error in Watch tool. But the program was build successfully. Error:symbol "li" not found. Im using the following code: LASTINPUTINFO li; li.cbSize = sizeof(LASTINPUTINFO); ::GetLastInputInfo(&li); Thanks,
-
Hi all, To detect the application idle time,im using GetLastInputInfo function, but its not returning any values in the structure LASTINPUTINFO. It is showing the following error in Watch tool. But the program was build successfully. Error:symbol "li" not found. Im using the following code: LASTINPUTINFO li; li.cbSize = sizeof(LASTINPUTINFO); ::GetLastInputInfo(&li); Thanks,
-
-
Hi all, To detect the application idle time,im using GetLastInputInfo function, but its not returning any values in the structure LASTINPUTINFO. It is showing the following error in Watch tool. But the program was build successfully. Error:symbol "li" not found. Im using the following code: LASTINPUTINFO li; li.cbSize = sizeof(LASTINPUTINFO); ::GetLastInputInfo(&li); Thanks,
-
Hi all, To detect the application idle time,im using GetLastInputInfo function, but its not returning any values in the structure LASTINPUTINFO. It is showing the following error in Watch tool. But the program was build successfully. Error:symbol "li" not found. Im using the following code: LASTINPUTINFO li; li.cbSize = sizeof(LASTINPUTINFO); ::GetLastInputInfo(&li); Thanks,
You can check the return value of GetLastInputInfo() to see if the function call was successful. You can also use TRACE to show the values inside li on output window.