| commit | 159869014b11c35700662f5b0ef140e0f9b10b5f | [log] [tgz] |
|---|---|---|
| author | Liu Hao <lh_mouse@126.com> | Fri Apr 12 00:36:12 2019 +0800 |
| committer | Liu Hao <lh_mouse@126.com> | Sat Apr 13 18:55:32 2019 +0800 |
| tree | 63d0c6c76f9728c9b471930d3e18fd4d7be42c20 | |
| parent | 40c1ea8c3b205db6f6d2c00f6eb4d4897f867336 [diff] |
include/ntsecapi.h: Add missing `__stdcall` specifiers.
This commit adds `__stdcall` to the following functions:
RtlGenRandom()
RtlEncryptMemory()
RtlDecryptMemory()
Absence of these specifiers used to cause undefined references to
`SystemFunction036` when compiling the following code for x86:
#include <minwindef.h>
#include <ntsecapi.h>
int main(void)
{
char buffer[100];
RtlGenRandom(buffer, sizeof(buffer));
}
Signed-off-by: Liu Hao <lh_mouse@126.com>