This function registers a primitive credential type with a type provider. It is called only once for any credential type. The type provider can also define any type related initializations in this function.
Identifier for the primitive type.
Reserved. Set to zero.
Returns ERROR_SUCCESS on success. For a list of error codes, see Credential Manager Error Codes.