CeCredRead

This function returns a pointer to a credential structure specified by the target string.

CeCredRead( 
  PCWSTR pszTarget,
  DWORD dwCredType,
  DWORD dwFlags,
  PCREDENTIAL pCred 
);

Parameters

  • pszTarget
    [in] Reserved. Should be NULL.

  • dwCredType
    [in] One of the following credential types:

    • CRED_TYPE_GENERIC
    • CRED_TYPE_DOMAIN_PASSWORD
    • CRED_TYPE_DOMAIN_CERTIFICATE
    • CRED_TYPE_DOMAIN_VISIBLE_PASSWORD

    Access to NTLM and Kerberos credentials is available only through the Credential Manager. Those credential types are therefore not defined.

  • dwFlags
    [in] Reserved. Should be NULL.

  • pCred
    [out] Pointer to the credential structure.

Return Values

None.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Credmgr.h.
Link Library: Secur32.lib.

See Also

CeCredWrite | CeCredFree

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.