Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/runtime/ddr/dummy_headers/windows.h
6000 views
1
/*******************************************************************************
2
* Copyright (c) 2001, 2014 IBM Corp. and others
3
*
4
* This program and the accompanying materials are made available under
5
* the terms of the Eclipse Public License 2.0 which accompanies this
6
* distribution and is available at https://www.eclipse.org/legal/epl-2.0/
7
* or the Apache License, Version 2.0 which accompanies this distribution and
8
* is available at https://www.apache.org/licenses/LICENSE-2.0.
9
*
10
* This Source Code may also be made available under the following
11
* Secondary Licenses when the conditions for such availability set
12
* forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
13
* General Public License, version 2 with the GNU Classpath
14
* Exception [1] and GNU General Public License, version 2 with the
15
* OpenJDK Assembly Exception [2].
16
*
17
* [1] https://www.gnu.org/software/classpath/license.html
18
* [2] http://openjdk.java.net/legal/assembly-exception.html
19
*
20
* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
21
*******************************************************************************/
22
#ifndef WINDOWS_H
23
#define WINDOWS_H
24
typedef void *HANDLE;
25
typedef int CRITICAL_SECTION;
26
typedef int DWORD;
27
typedef int PROCESS_INFORMATION;
28
typedef int PDWORD;
29
typedef int DWORD64;
30
typedef int PDWORD64;
31
typedef int PSYMBOL_INFO;
32
typedef int PIMAGEHLP_LINE64;
33
typedef int PIMAGEHLP_MODULE64;
34
typedef int BOOL;
35
typedef int PSTR;
36
typedef int PWSTR;
37
typedef int LPAPI_VERSION;
38
typedef int LPSTACKFRAME64;
39
typedef int PREAD_PROCESS_MEMORY_ROUTINE64;
40
typedef int PGET_MODULE_BASE_ROUTINE64;
41
typedef int PTRANSLATE_ADDRESS_ROUTINE64;
42
typedef int PFUNCTION_TABLE_ACCESS_ROUTINE64;
43
typedef int PGET_MODULE_BASE_ROUTINE64;
44
typedef int PTRANSLATE_ADDRESS_ROUTINE64;
45
typedef int PVOID;
46
typedef int HINSTANCE;
47
typedef LPAPI_VERSION (*IMAGEHLPAPIVERSION)(void);
48
typedef BOOL (__stdcall *SYMINITIALIZE) (HANDLE, PSTR, BOOL);
49
typedef BOOL (__stdcall *SYMINITIALIZEW) (HANDLE, PWSTR, BOOL);
50
typedef BOOL (__stdcall *SYMCLEANUP)(HANDLE hProcess);
51
typedef BOOL (__stdcall *SYMCLEANUP) (HANDLE);
52
typedef DWORD (__stdcall *SYMGETOPTIONS) (void);
53
typedef DWORD (__stdcall *SYMSETOPTIONS) (DWORD);
54
typedef BOOL (__stdcall *SYMFROMADDR) (HANDLE, DWORD64, PDWORD64, PSYMBOL_INFO);
55
typedef BOOL (__stdcall *STACKWALK64) ( DWORD
56
,HANDLE
57
,HANDLE
58
,LPSTACKFRAME64
59
,PVOID
60
,PREAD_PROCESS_MEMORY_ROUTINE64
61
,PFUNCTION_TABLE_ACCESS_ROUTINE64
62
,PGET_MODULE_BASE_ROUTINE64
63
,PTRANSLATE_ADDRESS_ROUTINE64
64
);
65
typedef int SOCKADDR;
66
typedef int SOCKET;
67
typedef int SOCKADDR_IN;
68
typedef void *KAFFINITY;
69
typedef unsigned short WORD;
70
typedef unsigned char BYTE;
71
typedef int INT;
72
typedef unsigned int UINT;
73
74
#endif
75
76