As we all know, we can use an api such as "LockWorkStation ()" in "user32.dll" to lock windows. But how to unlock it?
For example, if I launch the application first, I want the application to open windows on its own after 30 seconds. How to do it? In other words, if you automatically register, windows will read the username and password from regedit, and then use the api to log in. Now I need an api. It should exist, but it does not seem to be published.
I can get the username and password for windows in the application.
It seems that there are several Api in WBF. But you know that the resource is too small. I do not want to send a message from the keyboard to solve the problem, because this is the worst method.
source
share