Jump to content
Sign in to follow this  

Looking for A3LWinAPI.au3 -> _API_GetSystemMetrics($SM_REMOTESESSION)

Recommended Posts



A several years old script needs some rewriting:

For pulling the Info, if a MSTSC session is a "/admin" session I used a function included in A3LWinAPI.au3, which was (iirc) in aut3lib.

If _API_GetSystemMetrics($SM_REMOTESESSION) Then ; Console accessed using MSTSC /Console ( /admin now...)

The function now is available in WinAPI.au3, but what's the value for $SM_REMOTESESSION? As all info for Auto3Lib is looked up, I can't :mellow: look it up...

Regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post

Link to post
Share on other sites

Does this help? :mellow:


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.