Commit c62dd29b authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

include: Add prototypes for RtlEncryptMemory and RtlDecryptMemory in ntsecapi.h.

parent 890ce536
...@@ -2302,7 +2302,7 @@ BOOLEAN WINAPI SystemFunction036(PVOID pbBuffer, ULONG dwLen) ...@@ -2302,7 +2302,7 @@ BOOLEAN WINAPI SystemFunction036(PVOID pbBuffer, ULONG dwLen)
/****************************************************************************** /******************************************************************************
* SystemFunction040 (ADVAPI32.@) * SystemFunction040 (ADVAPI32.@)
* *
* MSDN documents this function as RtlEncryptMemory. * MSDN documents this function as RtlEncryptMemory and declares it in ntsecapi.h.
* *
* PARAMS * PARAMS
* memory [I/O] Pointer to memory to encrypt. * memory [I/O] Pointer to memory to encrypt.
...@@ -2330,7 +2330,7 @@ NTSTATUS WINAPI SystemFunction040(PVOID memory, ULONG length, ULONG flags) ...@@ -2330,7 +2330,7 @@ NTSTATUS WINAPI SystemFunction040(PVOID memory, ULONG length, ULONG flags)
/****************************************************************************** /******************************************************************************
* SystemFunction041 (ADVAPI32.@) * SystemFunction041 (ADVAPI32.@)
* *
* MSDN documents this function as RtlDecryptMemory. * MSDN documents this function as RtlDecryptMemory and declares it in ntsecapi.h.
* *
* PARAMS * PARAMS
* memory [I/O] Pointer to memory to decrypt. * memory [I/O] Pointer to memory to decrypt.
......
...@@ -337,8 +337,12 @@ typedef enum _POLICY_NOTIFICATION_INFORMATION_CLASS ...@@ -337,8 +337,12 @@ typedef enum _POLICY_NOTIFICATION_INFORMATION_CLASS
} POLICY_NOTIFICATION_INFORMATION_CLASS, *PPOLICY_NOTIFICATION_INFORMATION_CLASS; } POLICY_NOTIFICATION_INFORMATION_CLASS, *PPOLICY_NOTIFICATION_INFORMATION_CLASS;
#define RtlGenRandom SystemFunction036 #define RtlGenRandom SystemFunction036
#define RtlEncryptMemory SystemFunction040
#define RtlDecryptMemory SystemFunction041
BOOLEAN WINAPI RtlGenRandom(PVOID,ULONG); BOOLEAN WINAPI RtlGenRandom(PVOID,ULONG);
NTSTATUS WINAPI RtlEncryptMemory(PVOID,ULONG,ULONG);
NTSTATUS WINAPI RtlDecryptMemory(PVOID,ULONG,ULONG);
NTSTATUS WINAPI LsaAddAccountRights(LSA_HANDLE,PSID,PLSA_UNICODE_STRING,ULONG); NTSTATUS WINAPI LsaAddAccountRights(LSA_HANDLE,PSID,PLSA_UNICODE_STRING,ULONG);
NTSTATUS WINAPI LsaCallAuthenticationPackage(HANDLE,ULONG,PVOID,ULONG,PVOID*,PULONG,PNTSTATUS); NTSTATUS WINAPI LsaCallAuthenticationPackage(HANDLE,ULONG,PVOID,ULONG,PVOID*,PULONG,PNTSTATUS);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment