网站首页  词典首页

请输入您要查询的函数:

 

术语 fileencryptionstatus
释义 FileEncryptionStatus
语法:
C++
BOOL WINAPI FileEncryptionStatus(
__in LPCTSTR lpFileName,
__out LPDWORD lpStatus
);
FileEncryptionStatus功能
检索指定文件的加密状态。
参数
lpFileName [in]
该文件的名称。
lpStatus [out]
一个变量,它接收文件的加密状态的指针。此参数可以是下列值之一。
ValueMeaning
FILE_ENCRYPTABLE
0The文件进行加密。
FILE_IS_ENCRYPTED
1The文件将被加密。
FILE_READ_ONLY
8The文件是只读文件。
FILE_ROOT_DIR
3The文件是一个根目录。根目录不能被加密。
FILE_SYSTEM_ATTR
2The文件是一个系统文件。系统文件不能被加密。
FILE_SYSTEM_DIR
4The文件是一个系统目录。系统目录不能被加密。
FILE_SYSTEM_NOT_SUPPORT
6The文件系统不支持文件加密。
FILE_UNKNOWN
调取加密状态是未知的。该文件可能被加密。
FILE_USER_DISALLOWED
7Reserved供将来使用。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinBase.h(头文件:winuser.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll
Unicode和ANSI namesFileEncryptionStatusW(Unicode)和FileEncryptionStatusA(ANSI)的
参见
EncryptFile的
文件加密
文件管理函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年9月3日
==英文原文==FileEncryptionStatus Function
Retrieves the encryption status of the specified file.
Syntax
C++
BOOL WINAPI FileEncryptionStatus(
__in LPCTSTR lpFileName,
__out LPDWORD lpStatus
);
Parameters
lpFileName [in]
The name of the file.
lpStatus [out]
A pointer to a variable that receives the encryption status of the file. This parameter can be one of the following values.
ValueMeaning
FILE_ENCRYPTABLE
0The file can be encrypted.
FILE_IS_ENCRYPTED
1The file is encrypted.
FILE_READ_ONLY
8The file is a read-only file.
FILE_ROOT_DIR
3The file is a root directory. Root directories cannot be encrypted.
FILE_SYSTEM_ATTR
2The file is a system file. System files cannot be encrypted.
FILE_SYSTEM_DIR
4The file is a system directory. System directories cannot be encrypted.
FILE_SYSTEM_NOT_SUPPORT
6The file system does not support file encryption.
FILE_UNKNOWN
5The encryption status is unknown. The file may be encrypted.
FILE_USER_DISALLOWED
7Reserved for future use.

Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinBase.h (include Windows.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll
Unicode and ANSI namesFileEncryptionStatusW (Unicode) and FileEncryptionStatusA (ANSI)
See Also
EncryptFile
File Encryption
File Management Functions
Send comments about this topic to Microsoft
Build date: 9/3/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa364051(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 13:25:12