Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b1cbecbb
Commit
b1cbecbb
authored
May 19, 2006
by
Paul Chitescu
Committed by
Alexandre Julliard
May 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Add stub FileEncryptionStatus and declarations.
parent
b73c5e89
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
2 deletions
+42
-2
advapi32.spec
dlls/advapi32/advapi32.spec
+2
-2
security.c
dlls/advapi32/security.c
+24
-0
winbase.h
include/winbase.h
+16
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
b1cbecbb
...
...
@@ -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
...
...
dlls/advapi32/security.c
View file @
b1cbecbb
...
...
@@ -3543,6 +3543,30 @@ BOOL WINAPI EncryptFileA(LPCSTR lpFileName)
}
/******************************************************************************
* 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.@]
*/
DWORD
WINAPI
SetSecurityInfo
(
HANDLE
handle
,
SE_OBJECT_TYPE
ObjectType
,
...
...
include/winbase.h
View file @
b1cbecbb
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment