aboutsummaryrefslogtreecommitdiffstats
path: root/api/ntdll.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/ntdll.h')
-rw-r--r--api/ntdll.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/api/ntdll.h b/api/ntdll.h
index 93b32a6..825119b 100644
--- a/api/ntdll.h
+++ b/api/ntdll.h
@@ -61,3 +61,9 @@ NtQueryKey(
_Out_bytecap_post_bytecount_(Length, *ResultLength) PVOID KeyInformation,
_In_ ULONG Length,
_Out_ PULONG ResultLength);
+
+/* This is documented in NTSecAPI.h, which we can't include, due to header conflicts. It actually lives in advapi32.dll. */
+#define RtlGenRandom SystemFunction036
+BOOLEAN
+NTAPI
+RtlGenRandom(_Out_writes_bytes_all_(RandomBufferLength) PVOID RandomBuffer, _In_ ULONG RandomBufferLength); \ No newline at end of file