aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/windows/dynamic-linker.h
blob: 1b06902ccc40874c4da471949dbe67ced89831b5 (plain)
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
27
28
29
30
31
32
/* Windows #defines and typedefs required for processing of extracts
   from WINDOWS.H */

#define FAR
#define WINBASEAPI
#define WINAPI
#define CONST const
#define VOID void
typedef int                 BOOL;
typedef unsigned char       BYTE;
typedef unsigned int        DWORD;
typedef int                 INT;
typedef int                 INT32;
typedef __int64             INT64;
typedef float               FLOAT;
typedef struct _handle*     HANDLE;
typedef HANDLE              HMODULE;
typedef long                LONG;
typedef const char*         LPCSTR;
typedef const short*        LPCWSTR;
typedef void*               LPVOID;
typedef struct _proc*       PROC;
typedef unsigned int*       PUINT;
typedef unsigned int        UINT;
typedef unsigned short      USHORT;
typedef unsigned short      WORD;

// Dynamic loading routines
WINBASEAPI DWORD WINAPI GetLastError(VOID);
WINBASEAPI HMODULE WINAPI LoadLibraryW(LPCWSTR lpLibFileName);
WINBASEAPI PROC WINAPI GetProcAddressA(HMODULE hModule, LPCSTR lpProcName);
WINBASEAPI BOOL WINAPI FreeLibrary(HMODULE hLibModule);