LsaNtStatusToDosError implementation.
This commit is contained in:
parent
9dccb29447
commit
d7922143dd
|
@ -250,7 +250,7 @@
|
||||||
@ stdcall LsaOpenPolicy(long long long long) LsaOpenPolicy
|
@ stdcall LsaOpenPolicy(long long long long) LsaOpenPolicy
|
||||||
@ stdcall LsaLookupSids(ptr long ptr ptr ptr) LsaLookupSids
|
@ stdcall LsaLookupSids(ptr long ptr ptr ptr) LsaLookupSids
|
||||||
@ stdcall LsaFreeMemory(ptr)LsaFreeMemory
|
@ stdcall LsaFreeMemory(ptr)LsaFreeMemory
|
||||||
@ stdcall LsaQueryInformationPolicy(ptr long ptr)LsaQueryInformationPolicy
|
@ stdcall LsaQueryInformationPolicy(ptr long ptr) LsaQueryInformationPolicy
|
||||||
@ stdcall LsaClose(ptr)LsaClose
|
@ stdcall LsaClose(ptr)LsaClose
|
||||||
@ stub LsaSetInformationPolicy
|
@ stub LsaSetInformationPolicy
|
||||||
@ stub LsaLookupNames
|
@ stub LsaLookupNames
|
||||||
|
@ -301,6 +301,7 @@
|
||||||
@ stub LsaGetSystemAccessAccount
|
@ stub LsaGetSystemAccessAccount
|
||||||
@ stub LsaSetInformationTrustedDomain
|
@ stub LsaSetInformationTrustedDomain
|
||||||
@ stub LsaEnumerateTrustedDomains
|
@ stub LsaEnumerateTrustedDomains
|
||||||
|
@ stdcall LsaNtStatusToWinError(long) LsaNtStatusToWinError
|
||||||
@ stub LsaOpenAccount
|
@ stub LsaOpenAccount
|
||||||
@ stub LsaEnumeratePrivileges
|
@ stub LsaEnumeratePrivileges
|
||||||
@ stub LsaLookupPrivilegeDisplayName
|
@ stub LsaLookupPrivilegeDisplayName
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
|
#include "rpcnterr.h"
|
||||||
#include "heap.h"
|
#include "heap.h"
|
||||||
#include "ntddk.h"
|
#include "ntddk.h"
|
||||||
#include "ntsecapi.h"
|
#include "ntsecapi.h"
|
||||||
|
@ -917,6 +918,19 @@ LsaClose(IN LSA_HANDLE ObjectHandle)
|
||||||
FIXME("(%p):stub\n",ObjectHandle);
|
FIXME("(%p):stub\n",ObjectHandle);
|
||||||
return 0xc0000000;
|
return 0xc0000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* LsaNtStatusToWinError [ADVAPI32.@]
|
||||||
|
*
|
||||||
|
* PARAMS
|
||||||
|
* Status [I]
|
||||||
|
*/
|
||||||
|
ULONG WINAPI
|
||||||
|
LsaNtStatusToWinError(NTSTATUS Status)
|
||||||
|
{
|
||||||
|
return RtlNtStatusToDosError(Status);
|
||||||
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* NotifyBootConfigStatus [ADVAPI32.@]
|
* NotifyBootConfigStatus [ADVAPI32.@]
|
||||||
*
|
*
|
||||||
|
|
|
@ -69,6 +69,8 @@ NTSTATUS WINAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PV
|
||||||
|
|
||||||
NTSTATUS WINAPI LsaFreeMemory(PVOID);
|
NTSTATUS WINAPI LsaFreeMemory(PVOID);
|
||||||
NTSTATUS WINAPI LsaClose(IN LSA_HANDLE ObjectHandle);
|
NTSTATUS WINAPI LsaClose(IN LSA_HANDLE ObjectHandle);
|
||||||
|
ULONG WINAPI LsaNtStatusToWinError(NTSTATUS Status);
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* extern "C" */
|
} /* extern "C" */
|
||||||
|
|
Loading…
Reference in New Issue