LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows Screen Saver and Monitor Status

How do I communicate to windows to find the Windows screen saver status and the monitor status?

Tim
GHSP
0 Kudos
Message 1 of 3
(2,698 Views)

I don't know the particular API calls you need for that, but here's the general way to access Windows innards:

 

Use the CALL LIBRARY function, and point it to ADVAPI32.dll.

This particular call is set up to call "GetUserNameA", returning the logged-in user's name.

 

If there's an API for what you need, then configure this function to go call it.

 

Win1.PNG

 

 

 

Win2.PNG

 

Win3.PNG

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

Message 2 of 3
(2,685 Views)

Thank you for that information. I had suspected as much and was hoping for a little more help with the actual direction that I might need to go.

Tim
GHSP
0 Kudos
Message 3 of 3
(2,672 Views)