Partager via


Unload Function (Credential Manager)

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function unregisters a primitive credential type with a type provider when the primitive type is no longer needed. The UnLoad function is called once for a primitive credential type. The type provider can also define any type related clean-up or global clean-up operations in this function.

Syntax

DWORD UnLoad(
  DWORD dwType,
  DWORD dwFlags
);

Parameters

  • dwType
    Identifier for the primitive type.
  • dwFlags
    Reserved. Set to zero.

Return Value

Returns ERROR_SUCCESS on success. For a list of error codes, see Credential Manager Error Codes.

Requirements

Header cred_prov.h
Library coredll.lib
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Credential Manager Type Provider Functions