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

Last change on this file since 4 was 4, checked in by ktk, 26 years ago

Import

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