Applies to: desktop apps only
Sets the user's current key to the specified certificate.
Syntax
DWORD WINAPI SetUserFileEncryptionKey( __in PENCRYPTION_CERTIFICATE pEncryptionCertificate );
Parameters
- pEncryptionCertificate [in]
-
A pointer to a certificate that will be the user's key. This parameter is a pointer to an ENCRYPTION_CERTIFICATE structure.
Return value
If the function succeeds, the return value is ERROR_SUCCESS.
If the function fails, the return value is a system error code. For a complete list of error codes, see System Error Codes or the header file WinError.h.
Requirements
|
Minimum supported client | Windows XP Professional |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 5/5/2012
