FileEncryptionStatus function
Applies to: desktop apps only
Retrieves the encryption status of the specified file.
Syntax
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.
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 client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names | FileEncryptionStatusW (Unicode) and FileEncryptionStatusA (ANSI) |
See also
Send comments about this topic to Microsoft
Build date: 4/17/2012