| Line | |
|---|
| 1 | /* $Id: oslibmsg.cpp,v 1.1 1999-07-17 11:52:22 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 | * TODO: Simply copy for now. Probably need to make a real translation
|
|---|
| 12 | *
|
|---|
| 13 | */
|
|---|
| 14 | #define INCL_WIN
|
|---|
| 15 | #define INCL_PM
|
|---|
| 16 | #include <os2.h>
|
|---|
| 17 | #include <os2wrap.h>
|
|---|
| 18 | #include <string.h>
|
|---|
| 19 | #include <misc.h>
|
|---|
| 20 | #include "oslibmsg.h"
|
|---|
| 21 |
|
|---|
| 22 | //******************************************************************************
|
|---|
| 23 | //******************************************************************************
|
|---|
| 24 | void WinToOS2MsgTranslate(MSG *winMsg, QMSG *os2Msg, BOOL isUnicode)
|
|---|
| 25 | {
|
|---|
| 26 | memcpy(os2Msg, winMsg, sizeof(MSG));
|
|---|
| 27 | os2Msg->reserved = 0;
|
|---|
| 28 | }
|
|---|
| 29 | //******************************************************************************
|
|---|
| 30 | //******************************************************************************
|
|---|
| 31 | void OS2ToWinMsgTranslate(QMSG *os2Msg, MSG *winMsg, BOOL isUnicode)
|
|---|
| 32 | {
|
|---|
| 33 | memcpy(winMsg, os2Msg, sizeof(MSG));
|
|---|
| 34 | }
|
|---|
| 35 | //******************************************************************************
|
|---|
| 36 | //TODO!!!
|
|---|
| 37 | //******************************************************************************
|
|---|
| 38 | ULONG TranslateWinMsg(ULONG msg)
|
|---|
| 39 | {
|
|---|
| 40 | return 0;
|
|---|
| 41 | }
|
|---|
| 42 | //******************************************************************************
|
|---|
| 43 | //******************************************************************************
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.