C++ Windows Credential Provider Progress Screen

后端 未结 4 1809
误落风尘
误落风尘 2021-01-15 09:03

I am developing a custom credential provider and I have to show a progress screen with a cancel button. I have seen in some credentials providers and pgina plugins that a sc

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-15 09:34

    I assume you are looking for IConnectableCredentialProviderCredential::Connect(). You need to implement the IConnectableCredentialProviderCredentialinterface and put your logic to the Connect() function. It is called right after Submit button pressed. The Connect() function will give you the IQueryContinueWithStatus interface. In this interface you need to call the QueryContinue() function periodically, to handle Cancel button or some system events.

    For more information look at this article: https://docs.microsoft.com/en-us/windows/win32/api/credentialprovider/nf-credentialprovider-iconnectablecredentialprovidercredential-connect

提交回复
热议问题