source: trunk/src/kernel32/oslibmisc.h@ 7963

Last change on this file since 7963 was 7963, checked in by sandervl, 24 years ago

country updates

File size: 2.8 KB
Line 
1/* $Id: oslibmisc.h,v 1.9 2002-02-19 13:08:19 sandervl Exp $ */
2/*
3 * Misc util. procedures
4 *
5 * Copyright 1998 Sander van Leeuwen (sandervl@xs4all.nl)
6 * Copyright 1998 Peter FitzSimmons
7 * Copyright 1998 Patrick Haller
8 *
9 */
10#ifndef __OSLIBMISC_H__
11#define __OSLIBMISC_H__
12
13char *OSLibGetDllName(ULONG hModule);
14BOOL OSLibGetDllName(ULONG hModule, char *name, int length);
15
16char *OSLibStripPath(char *path);
17
18ULONG OSLibiGetModuleHandleA(char *pszModule);
19ULONG OSLibQueryModuleHandle(char *modname);
20
21void OSLibWait(ULONG msec);
22
23ULONG OSLibAllocSel(ULONG size, USHORT *selector);
24ULONG OSLibFreeSel(USHORT selector);
25PVOID OSLibSelToFlat(USHORT selector);
26
27#define TIB_STACKTOP 0
28#define TIB_STACKLOW 1
29
30ULONG OSLibGetTIB(int tiboff);
31
32#define PIB_HMTE 0
33#define PIB_TASKHNDL PIB_HMTE
34#define PIB_TASKTYPE 1
35#define PIB_PCHCMD 2
36
37#define TASKTYPE_PM 0
38#define TASKTYPE_VIO 1
39
40ULONG OSLibGetPIB(int iPIB);
41
42ULONG OSLibAllocThreadLocalMemory(int nrdwords);
43
44ULONG OSLibWinInitialize();
45ULONG OSLibWinQueryMsgQueue(ULONG hab);
46
47//#define CTRY_NONE 0
48#define CTRY_USA 1
49#define CTRY_CANADA 2
50#define CTRY_LATIN_AMERICA 3
51#define CTRY_RUSSIA 7
52#define CTRY_GREECE 30
53#define CTRY_NETHERLANDS 31
54#define CTRY_BELGIUM 32
55#define CTRY_FRANCE 33
56#define CTRY_SPAIN 34
57#define CTRY_ITALY 39
58#define CTRY_SWITZERLAND 41
59#define CTRY_AUSTRIA 43
60#define CTRY_UNITED_KINGDOM 44
61#define CTRY_DENMARK 45
62#define CTRY_SWEDEN 46
63#define CTRY_NORWAY 47
64#define CTRY_POLAND 48
65#define CTRY_GERMANY 49
66#define CTRY_MEXICO 52
67#define CTRY_BRAZIL 55
68#define CTRY_AUSTRALIA 61
69#define CTRY_NEW_ZEALAND 64
70#define CTRY_SINGAPORE 65
71#define CTRY_JAPAN 81
72#define CTRY_KOREA 82
73#define CTRY_CHINA 86
74#define CTRY_TAIWAN 88
75#define CTRY_TURKEY 90
76#define CTRY_PORTUGAL 351
77#define CTRY_LUXEMBOURG 352
78#define CTRY_IRELAND 353
79#define CTRY_ICELAND 354
80#define CTRY_FINLAND 358
81#define CTRY_BULGARIA 359
82#define CTRY_CROATIA 385
83#define CTRY_SLOVENIA 386
84#define CTRY_CZECH_REPUBLIC 421
85#define CTRY_SLOVAK_REPUBLIC 422
86#define CTRY_HONG_KONG 852
87//#define CTRY_TAIWAN 886
88
89ULONG OSLibQueryCountry();
90
91#endif
Note: See TracBrowser for help on using the repository browser.