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

This function unregisters a primitive credential type with a type provider when the primitive type is no longer needed. The UnLoadfunction 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