advapi32: Add stub FileEncryptionStatus and declarations.
This commit is contained in:
parent
b73c5e895f
commit
b1cbecbbc6
|
@ -217,8 +217,8 @@
|
|||
# @ stub EqualDomainSid
|
||||
@ stdcall EqualPrefixSid(ptr ptr)
|
||||
@ stdcall EqualSid(ptr ptr)
|
||||
# @ stub FileEncryptionStatusA
|
||||
# @ stub FileEncryptionStatusW
|
||||
@ stdcall FileEncryptionStatusA(str ptr)
|
||||
@ stdcall FileEncryptionStatusW(wstr ptr)
|
||||
@ stdcall FindFirstFreeAce(ptr ptr)
|
||||
# @ stub FlushTraceA
|
||||
# @ stub FlushTraceW
|
||||
|
|
|
@ -3542,6 +3542,30 @@ BOOL WINAPI EncryptFileA(LPCSTR lpFileName)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* FileEncryptionStatusW [ADVAPI32.@]
|
||||
*/
|
||||
BOOL WINAPI FileEncryptionStatusW(LPCWSTR lpFileName, LPDWORD lpStatus)
|
||||
{
|
||||
FIXME("(%s %p): stub\n", debugstr_w(lpFileName), lpStatus);
|
||||
if (!lpStatus)
|
||||
return FALSE;
|
||||
*lpStatus = FILE_SYSTEM_NOT_SUPPORT;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* FileEncryptionStatusA [ADVAPI32.@]
|
||||
*/
|
||||
BOOL WINAPI FileEncryptionStatusA(LPCSTR lpFileName, LPDWORD lpStatus)
|
||||
{
|
||||
FIXME("(%s %p): stub\n", debugstr_a(lpFileName), lpStatus);
|
||||
if (!lpStatus)
|
||||
return FALSE;
|
||||
*lpStatus = FILE_SYSTEM_NOT_SUPPORT;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* SetSecurityInfo [ADVAPI32.@]
|
||||
*/
|
||||
|
|
|
@ -625,6 +625,19 @@ typedef struct _TIME_ZONE_INFORMATION{
|
|||
#define FILE_TYPE_PIPE 3
|
||||
#define FILE_TYPE_REMOTE 32768
|
||||
|
||||
/* File encryption status
|
||||
*/
|
||||
#define FILE_ENCRYPTABLE 0
|
||||
#define FILE_IS_ENCRYPTED 1
|
||||
#define FILE_SYSTEM_ATTR 2
|
||||
#define FILE_ROOT_DIR 3
|
||||
#define FILE_SYSTEM_DIR 4
|
||||
#define FILE_UNKNOWN 5
|
||||
#define FILE_SYSTEM_NOT_SUPPORT 6
|
||||
#define FILE_USER_DISALLOWED 7
|
||||
#define FILE_READ_ONLY 8
|
||||
#define FILE_DIR_DISALOWED 9
|
||||
|
||||
/* File creation flags
|
||||
*/
|
||||
#define FILE_FLAG_WRITE_THROUGH 0x80000000UL
|
||||
|
@ -1385,6 +1398,9 @@ void WINAPI FatalAppExitA(UINT,LPCSTR);
|
|||
void WINAPI FatalAppExitW(UINT,LPCWSTR);
|
||||
void WINAPI FatalExit(int);
|
||||
#define FatalAppExit WINELIB_NAME_AW(FatalAppExit)
|
||||
BOOL WINAPI FileEncryptionStatusA(LPCSTR,LPDWORD);
|
||||
BOOL WINAPI FileEncryptionStatusW(LPCWSTR,LPDWORD);
|
||||
#define FileEncryptionStatus WINELIB_NAME_AW(FileEncryptionStatus)
|
||||
BOOL WINAPI FileTimeToDosDateTime(const FILETIME*,LPWORD,LPWORD);
|
||||
BOOL WINAPI FileTimeToLocalFileTime(const FILETIME*,LPFILETIME);
|
||||
BOOL WINAPI FileTimeToSystemTime(const FILETIME*,LPSYSTEMTIME);
|
||||
|
|
Loading…
Reference in New Issue