00001 /* $Id: oslibutil.h,v 1.4 2000/01/18 20:08:12 sandervl Exp $ */ 00002 /* 00003 * Window API utility functions for OS/2 00004 * 00005 * 00006 * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl) 00007 * 00008 * 00009 * Project Odin Software License can be found in LICENSE.TXT 00010 * 00011 */ 00012 #ifndef __OSLIBUTIL_H__ 00013 #define __OSLIBUTIL_H__ 00014 00015 #ifndef OS2_INCLUDED 00016 #define HAB ULONG 00017 #define HMQ ULONG 00018 #endif 00019 00020 HAB GetThreadHAB(); 00021 void SetThreadHAB(HAB hab); 00022 00023 HMQ GetThreadMessageQueue(); 00024 void SetThreadMessageQueue(HMQ hmq); 00025 00026 DWORD GetThreadMessageExtraInfo(); 00027 DWORD SetThreadMessageExtraInfo(DWORD lParam); 00028 00029 #endif //__OSLIBUTIL_H__