你的需求我还不是很了解, 看看下面的.不知能不能帮到你.(摘自MSDN LogonUser的说明) LogonUser() A user is considered logged on as long as at least one token exists. If you call CreateProcessAsUser and then close the token, the system considers the user as still logged on until the process (and all child processes) have ended.If the LogonUser call is successful, the system notifies network providers that the logon occurred by calling the provider's NPLogonNotify entry-point function.
你要发送这三个键又是准备干啥?
就像pcanywhere那样,用程序发送那三个键,来让用户输入用户名和密码.主要是用在远程控制中,在对让对机器重新启动后,然后发送三键,就可以输入用户名和密码了.
用GINA可以屏蔽三键,但如果才能触发这三键呢?
LogonUser()
A user is considered logged on as long as at least one token exists. If you call CreateProcessAsUser and then close the token, the system considers the user as still logged on until the process (and all child processes) have ended.If the LogonUser call is successful, the system notifies network providers that the logon occurred by calling the provider's NPLogonNotify entry-point function.
哈哈......真是太爽了.谢谢大家的支持.