Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d7922143
Commit
d7922143
authored
Sep 06, 2002
by
Andriy Palamarchuk
Committed by
Alexandre Julliard
Sep 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LsaNtStatusToDosError implementation.
parent
9dccb294
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
advapi32.spec
dlls/advapi32/advapi32.spec
+2
-1
security.c
dlls/advapi32/security.c
+14
-0
ntsecapi.h
include/ntsecapi.h
+2
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
d7922143
...
...
@@ -250,7 +250,7 @@
@ stdcall LsaOpenPolicy(long long long long) LsaOpenPolicy
@ stdcall LsaLookupSids(ptr long ptr ptr ptr) LsaLookupSids
@ stdcall LsaFreeMemory(ptr)LsaFreeMemory
@ stdcall LsaQueryInformationPolicy(ptr long ptr)LsaQueryInformationPolicy
@ stdcall LsaQueryInformationPolicy(ptr long ptr)
LsaQueryInformationPolicy
@ stdcall LsaClose(ptr)LsaClose
@ stub LsaSetInformationPolicy
@ stub LsaLookupNames
...
...
@@ -301,6 +301,7 @@
@ stub LsaGetSystemAccessAccount
@ stub LsaSetInformationTrustedDomain
@ stub LsaEnumerateTrustedDomains
@ stdcall LsaNtStatusToWinError(long) LsaNtStatusToWinError
@ stub LsaOpenAccount
@ stub LsaEnumeratePrivileges
@ stub LsaLookupPrivilegeDisplayName
...
...
dlls/advapi32/security.c
View file @
d7922143
...
...
@@ -22,6 +22,7 @@
#include "windef.h"
#include "winerror.h"
#include "rpcnterr.h"
#include "heap.h"
#include "ntddk.h"
#include "ntsecapi.h"
...
...
@@ -917,6 +918,19 @@ LsaClose(IN LSA_HANDLE ObjectHandle)
FIXME
(
"(%p):stub
\n
"
,
ObjectHandle
);
return
0xc0000000
;
}
/******************************************************************************
* LsaNtStatusToWinError [ADVAPI32.@]
*
* PARAMS
* Status [I]
*/
ULONG
WINAPI
LsaNtStatusToWinError
(
NTSTATUS
Status
)
{
return
RtlNtStatusToDosError
(
Status
);
}
/******************************************************************************
* NotifyBootConfigStatus [ADVAPI32.@]
*
...
...
include/ntsecapi.h
View file @
d7922143
...
...
@@ -69,6 +69,8 @@ NTSTATUS WINAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PV
NTSTATUS
WINAPI
LsaFreeMemory
(
PVOID
);
NTSTATUS
WINAPI
LsaClose
(
IN
LSA_HANDLE
ObjectHandle
);
ULONG
WINAPI
LsaNtStatusToWinError
(
NTSTATUS
Status
);
#ifdef __cplusplus
}
/* extern "C" */
...
...
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