File: ntsecapi.h

package info (click to toggle)
libnewlib-nano 2.11.2-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 114,156 kB
  • sloc: ansic: 631,393; cpp: 129,053; makefile: 62,427; asm: 49,042; sh: 15,817; xml: 15,337; perl: 4,340; lisp: 720; python: 557; exp: 470; yacc: 315; awk: 25; tcl: 4
file content (26 lines) | stat: -rw-r--r-- 609 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _CYGWIN_NTSECAPI_H
#define _CYGWIN_NTSECAPI_H

/* There's a bug in ntsecapi.h (Mingw as well as MSFT).  SystemFunction036
   is, in fact, a WINAPI function, but it's not defined as such.  Therefore
   we have to do it correctly here in the ntsecapi.h wrapper. */

#define SystemFunction036	__nonexistant_SystemFunction036__

#include_next <ntsecapi.h>

#undef SystemFunction036

#define RtlGenRandom SystemFunction036

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

BOOLEAN WINAPI RtlGenRandom (PVOID, ULONG);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* _CYGWIN_NTSECAPI_H */