source: trunk/src/user32/oslibmsg.h@ 1036

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

Moved new user32 here

File size: 952 bytes
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
18ULONG TranslateWinMsg(ULONG msg);
19
20#ifdef OS2DEF_INCLUDED
21void OS2ToWinMsgTranslate(QMSG *os2Msg, MSG *winMsg, BOOL isUnicode);
22void WinToOS2MsgTranslate(MSG *winMsg, QMSG *os2Msg, BOOL isUnicode);
23#endif
24
25BOOL OSLibWinGetMsg(LPMSG pMsg, HWND hwnd, UINT uMsgFilterMin, UINT uMsgFilterMax, BOOL isUnicode = FALSE);
26BOOL OSLibWinPeekMsg(LPMSG pMsg, HWND hwnd, UINT uMsgFilterMin, UINT uMsgFilterMax, BOOL fRemove, BOOL isUnicode = FALSE);
27void OSLibWinPostQuitMessage(ULONG nExitCode);
28LONG OSLibWinDispatchMsg(MSG *msg, BOOL isUnicode = FALSE);
29
30BOOL OSLibInitMsgQueue();
31
32#endif //__OSLIBMSG_H__
Note: See TracBrowser for help on using the repository browser.