Line | |
---|
1 | /*
|
---|
2 | *
|
---|
3 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
4 | *
|
---|
5 | */
|
---|
6 | /*
|
---|
7 | * Misc util. procedures
|
---|
8 | *
|
---|
9 | * Copyright 1998 Sander van Leeuwen (sandervl@xs4all.nl)
|
---|
10 | * Copyright 1998 Peter FitzSimmons
|
---|
11 | * Copyright 1998 Patrick Haller
|
---|
12 | *
|
---|
13 | */
|
---|
14 | #ifndef __OS2UTIL_H__
|
---|
15 | #define __OS2UTIL_H__
|
---|
16 |
|
---|
17 | #ifdef _OS2WIN_H
|
---|
18 | #include <winos2def.h>
|
---|
19 | #else
|
---|
20 | #include <win32type.h>
|
---|
21 | #endif
|
---|
22 |
|
---|
23 | #ifdef __cplusplus
|
---|
24 | extern "C" {
|
---|
25 | #endif
|
---|
26 |
|
---|
27 | void OS2SetExitList(unsigned long handler);
|
---|
28 | void OS2ClearExitList();
|
---|
29 | void OS2RemoveExitList(unsigned long handler);
|
---|
30 |
|
---|
31 | char *OS2GetDllName(ULONG hModule);
|
---|
32 |
|
---|
33 | HMODULE OS2iGetModuleHandleA(PSZ pszModule);
|
---|
34 | HMODULE OS2QueryModuleHandle(char *modname);
|
---|
35 |
|
---|
36 | ULONG OS2GetResourceSize(HMODULE hinstance, int id);
|
---|
37 | BOOL OS2GetResource(HMODULE hinstance, int id, char *destbuf, int bufLength);
|
---|
38 |
|
---|
39 | void OS2Wait(ULONG msec);
|
---|
40 |
|
---|
41 | #ifdef __cplusplus
|
---|
42 | }
|
---|
43 | #endif
|
---|
44 |
|
---|
45 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.