aboutsummaryrefslogtreecommitdiff
path: root/src/win/winapi.h
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2025-07-16 20:18:29 +0200
committerGitHub <noreply@github.com>2025-07-16 20:18:29 +0200
commit7484ab251f58fdbc4fbc4313de70a7696e8c02b9 (patch)
treeb6e0595cd15b619a2b27ec1c194b342325b3e00a /src/win/winapi.h
parent917c1ad1d1dee1c714d001e8fd1f276a6e06dd52 (diff)
downloadlibuv-v1.x.tar.gz
libuv-v1.x.zip
win: use ProcessPrng (#4836)HEADv1.xmain
Refs: https://github.com/libuv/libuv/pull/2762#issuecomment-3065018271
Diffstat (limited to 'src/win/winapi.h')
-rw-r--r--src/win/winapi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/win/winapi.h b/src/win/winapi.h
index b9c9f1ab..a7e1b179 100644
--- a/src/win/winapi.h
+++ b/src/win/winapi.h
@@ -4751,6 +4751,8 @@ typedef DWORD (WINAPI *sPowerRegisterSuspendResumeNotification)
HANDLE Recipient,
_PHPOWERNOTIFY RegistrationHandle);
+typedef BOOL (WINAPI *sProcessPrng)(/*_Out_*/PBYTE pbData, SIZE_T cbData);
+
/* from Winuser.h */
typedef VOID (CALLBACK* WINEVENTPROC)
(HWINEVENTHOOK hWinEventHook,
@@ -4815,6 +4817,9 @@ extern sNtQueryInformationProcess pNtQueryInformationProcess;
/* Powrprof.dll function pointer */
extern sPowerRegisterSuspendResumeNotification pPowerRegisterSuspendResumeNotification;
+/* bcryptprimitives.dll function pointer */
+extern sProcessPrng pProcessPrng;
+
/* User32.dll function pointer */
extern sSetWinEventHook pSetWinEventHook;