网站首页  词典首页

请输入您要查询的函数:

 

术语 adduserstoencryptedfile
释义 AddUsersToEncryptedFile
语法:
C++
DWORD WINAPI AddUsersToEncryptedFile(
__in LPCWSTR lpFileName,
__in PENCRYPTION_CERTIFICATE_LIST pUsers
);
AddUsersToEncryptedFile功能
用户密钥添加到指定的加密文件。
参数
lpFileName [in]
加密的文件的名称。
pUsers [in]
对一个ENCRYPTION_CERTIFICATE_LIST结构,它包含了新的用户密钥列表指针被添加到该文件。
返回值
如果函数成功,返回值是ERROR_SUCCESS。
如果函数失败,返回值是一个系统错误代码。对于一个错误代码的完整列表,请参见系统错误代码或Winerror.h中的头文件。
实例
例如代码,使用此功能,请参阅添加用户的加密文件。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinefs.h(头文件:winuser.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll
参见
ENCRYPTION_CERTIFICATE_LIST
文件加密
文件管理函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年9月3日
==英文原文==AddUsersToEncryptedFile Function
Adds user keys to the specified encrypted file.
Syntax
C++
DWORD WINAPI AddUsersToEncryptedFile(
__in LPCWSTR lpFileName,
__in PENCRYPTION_CERTIFICATE_LIST pUsers
);
Parameters
lpFileName [in]
The name of the encrypted file.
pUsers [in]
A pointer to an ENCRYPTION_CERTIFICATE_LIST structure that contains the list of new user keys to be added to the file.
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.
Examples
For example code that uses this function, see Adding Users to an Encrypted File .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinefs.h (include Windows.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll
See Also
ENCRYPTION_CERTIFICATE_LIST
File Encryption
File Management Functions
Send comments about this topic to Microsoft
Build date: 9/3/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa363770(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:28:17