Unload Function (Credential Manager)
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.
Returns ERROR_SUCCESS on success. For a list of error codes, see Credential Manager Error Codes.