source: trunk/src/kernel32/os2util.h@ 46

Last change on this file since 46 was 46, checked in by sandervl, 26 years ago

* empty log message *

File size: 855 bytes
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
27void OS2SetExitList(unsigned long handler);
28void OS2ClearExitList();
29void OS2RemoveExitList(unsigned long handler);
30
31char *OS2GetDllName(ULONG hModule);
32
33HMODULE OS2iGetModuleHandleA(PSZ pszModule);
34HMODULE OS2QueryModuleHandle(char *modname);
35
36ULONG OS2GetResourceSize(HMODULE hinstance, int id);
37BOOL OS2GetResource(HMODULE hinstance, int id, char *destbuf, int bufLength);
38
39void OS2Wait(ULONG msec);
40
41#ifdef __cplusplus
42 }
43#endif
44
45#endif
Note: See TracBrowser for help on using the repository browser.