File tree Expand file tree Collapse file tree
cpp/ql/test/library-tests/dataflow/source-sink-tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ typedef void * HANDLE;
2+ typedef long LONG;
3+ typedef LONG HRESULT;
4+ typedef const char * LPCTSTR;
5+ typedef unsigned long DWORD;
6+ typedef unsigned long ULONG;
7+ typedef void * PVOID;
8+ typedef void * LPVOID;
9+ typedef bool BOOL;
10+ typedef const void * LPCVOID;
11+ typedef unsigned long long ULONGLONG;
12+ typedef long long LONGLONG;
13+ typedef unsigned long * ULONG_PTR;
14+ typedef char *LPTSTR;
15+ typedef DWORD* LPDWORD;
16+ typedef ULONG REGSAM;
17+ typedef DWORD SECURITY_INFORMATION, *PSECURITY_INFORMATION;
18+ typedef PVOID PSECURITY_DESCRIPTOR;
19+ typedef struct _GUID {
20+ unsigned long Data1;
21+ unsigned short Data2;
22+ unsigned short Data3;
23+ unsigned char Data4[8 ];
24+ } GUID;
25+ typedef GUID* REFGUID;
26+
27+ typedef struct _SECURITY_ATTRIBUTES {
28+ DWORD nLength;
29+ LPVOID lpSecurityDescriptor;
30+ BOOL bInheritHandle;
31+ } SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
32+
33+ typedef struct _FILETIME {
34+ DWORD dwLowDateTime;
35+ DWORD dwHighDateTime;
36+ } FILETIME, *PFILETIME, *LPFILETIME;
37+
38+ using size_t = decltype (sizeof (int ));
39+ using SIZE_T = size_t ;
40+
41+ typedef struct _OVERLAPPED {
42+ ULONG_PTR Internal;
43+ ULONG_PTR InternalHigh;
44+ union {
45+ struct {
46+ DWORD Offset;
47+ DWORD OffsetHigh;
48+ } DUMMYSTRUCTNAME;
49+ PVOID Pointer;
50+ } DUMMYUNIONNAME;
51+ HANDLE hEvent;
52+ } OVERLAPPED, *LPOVERLAPPED;
53+
54+ using LPOVERLAPPED_COMPLETION_ROUTINE = void (DWORD, DWORD, LPOVERLAPPED);
55+
56+ using HKEY = void *;
You can’t perform that action at this time.
0 commit comments