Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following items are important to understand when you migrate an OS design that uses credential manager:

Migrating from Windows CE .NET 4.2 to Windows CE 5.0

The credential manager APIs in Windows CE 5.0 are not backward compatible with the APIs in Windows CE .NET 4.2. It is recommended that all applications that use the older APIs migrate to the Windows CE 5.0 set of APIs.

Although the Windows CE .NET 4.2 API set is deprecated, it is still supported. However, future versions of Windows Embedded CE may not have the continued support for older versions of the API set.

Effective with Windows CE 5.0, the following changes were made to Credential Manager:

  • Header file Credmgr.h is replaced with Cred.h.

  • Link library Secur32.lib is replaced with Coredll.lib.

  • CREDENTIALstructure is replaced with CRED, and the following changes apply:

    • CRED_FLAGS_PROMPT_NOW is deprecated. To get the same behavior, set pBlobmember to NULL in the new CREDstructure.

    • LastWrittenis deprecated. There is no equivalent in the new CREDstructure.

  • CeCredReadfunction is replaced with CredRead.

    • Target in CeCredReadis ignored. Default target (L"") is assumed.

  • CeCredWritefunction is replaced with CredWrite.

    • Target in CeCredReadis ignored. Default target (L"") is assumed.

    • Credentials are always marked with CRED_FLAG_DEFAULT.

  • CeCredFreefunction is replaced with CredFree.

In addition to changes in the API set, there are also changes in the credential manager infrastructure that affect Network User Interface (NetUI). These may be used to define configuration settings for the Network and Dial-up Connectionsicon in Control Panel.

See Also