Platform SDK: Logon Authentication

Using QueryCredentialsAttributes with Schannel

Schannel applications retrieve information about a specified credential by calling QueryCredentialsAttributes. This is done to determine the capabilities of the security package underlying the credential.

All data queried becomes the responsibility of the calling application. For example, the application is responsible for freeing all returned memory buffers using FreeContextBuffer and releasing all certificate contexts.