Line | |
---|
1 | /* $Id: oslibmsg.h,v 1.1 1999-09-15 23:18:54 sandervl Exp $ */
|
---|
2 | /*
|
---|
3 | * Window message translation functions for OS/2
|
---|
4 | *
|
---|
5 | *
|
---|
6 | * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl)
|
---|
7 | *
|
---|
8 | *
|
---|
9 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
10 | *
|
---|
11 | */
|
---|
12 | #ifndef __OSLIBMSG_H__
|
---|
13 | #define __OSLIBMSG_H__
|
---|
14 |
|
---|
15 | #define MSG_NOREMOVE 0
|
---|
16 | #define MSG_REMOVE 1
|
---|
17 |
|
---|
18 | ULONG TranslateWinMsg(ULONG msg);
|
---|
19 |
|
---|
20 | #ifdef OS2DEF_INCLUDED
|
---|
21 | void OS2ToWinMsgTranslate(QMSG *os2Msg, MSG *winMsg, BOOL isUnicode);
|
---|
22 | void WinToOS2MsgTranslate(MSG *winMsg, QMSG *os2Msg, BOOL isUnicode);
|
---|
23 | #endif
|
---|
24 |
|
---|
25 | BOOL OSLibWinGetMsg(LPMSG pMsg, HWND hwnd, UINT uMsgFilterMin, UINT uMsgFilterMax, BOOL isUnicode = FALSE);
|
---|
26 | BOOL OSLibWinPeekMsg(LPMSG pMsg, HWND hwnd, UINT uMsgFilterMin, UINT uMsgFilterMax, BOOL fRemove, BOOL isUnicode = FALSE);
|
---|
27 | void OSLibWinPostQuitMessage(ULONG nExitCode);
|
---|
28 | LONG OSLibWinDispatchMsg(MSG *msg, BOOL isUnicode = FALSE);
|
---|
29 |
|
---|
30 | BOOL OSLibInitMsgQueue();
|
---|
31 |
|
---|
32 | #endif //__OSLIBMSG_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.