Unload Function (Credential Manager) (Compact 2013)

3/28/2014

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
    [in] Identifier for the primitive type.
  • dwFlags
    [in] 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

See Also

Reference

Credential Manager Type Provider Functions