summaryrefslogtreecommitdiffhomepage
path: root/src/stubs/BCryptPrimitives.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stubs/BCryptPrimitives.c')
-rw-r--r--src/stubs/BCryptPrimitives.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stubs/BCryptPrimitives.c b/src/stubs/BCryptPrimitives.c
new file mode 100644
index 0000000..afcaa7e
--- /dev/null
+++ b/src/stubs/BCryptPrimitives.c
@@ -0,0 +1,6 @@
+/* This file is dedicated to the public domain. */
+
+// We have to define a real function with the right number of arguments to get
+// the mangled symbol _ProcessPrng@8, which the .def file apparently turns
+// into an "undecorate" .lib entry through some undocumented magic (of course!).
+int __stdcall ProcessPrng(void *x, unsigned int y) { return 0; }