locked
unlock the pC by using ICredentialProvider interface RRS feed

  • Question

  • I used LockWorkStation function to lock the PC, and how can I unlock it when receiving a hardware event?

     

    I already look into your Hardware Event Credential Provider sample, and try to call LsaLogonUser function with the ID and password which are input by user earlier. But I never get the user logged-on successfully.

     

    If calling LsaLogonUser function is the right approach, for the authentication information parameter, should I use KERB_INTERACTIVE_LOGON or KERB_TICKET_UNLOCK_LOGON? If its KERB_TICKET_UNLOCK_LOGON, how can I fill in this structure?


    Shufen
    • Moved by Helen Zhao Thursday, January 19, 2012 8:27 AM (发件人:Visual C++)
    • Moved by Sheng Jiang 蒋晟 Thursday, January 19, 2012 3:43 PM (From:一般性问题讨论区)
    Monday, January 16, 2012 9:49 AM

All replies

  •  

    英文贴?

     

     

    • Edited by Itou Miki Wednesday, January 18, 2012 6:30 AM
    Wednesday, January 18, 2012 6:29 AM
  • Shufen 你好!

    根据你对问题的描述,这个帖子将会被移到“一般性问题讨论区”。

    谢谢你的谅解!

     


    Helen Zhao [MSFT]
    MSDN Community Support | Feedback to us
    Thursday, January 19, 2012 8:27 AM