Changeset 345 for trunk/src/user32/new/oslibwin.cpp
- Timestamp:
- Jul 20, 1999, 5:46:54 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/oslibwin.cpp
r342 r345 1 /* $Id: oslibwin.cpp,v 1.1 7 1999-07-20 07:42:35sandervl Exp $ */1 /* $Id: oslibwin.cpp,v 1.18 1999-07-20 15:46:53 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 143 143 //****************************************************************************** 144 144 //****************************************************************************** 145 HWND OSLibWinCreateMenu(HWND hwndParent, PVOID menutemplate)146 {147 return WinCreateMenu(hwndParent, menutemplate);148 }149 //******************************************************************************150 //******************************************************************************151 BOOL OSLibWinSetAccelTable(HWND hwnd, PVOID acceltemplate)152 {153 HACCEL haccel;154 HAB hab = WinQueryAnchorBlock(hwnd);155 156 haccel = WinCreateAccelTable(hab, (PACCELTABLE)acceltemplate);157 if(haccel == 0) {158 dprintf(("OSLibWinSetAccelTable: WinCreateAccelTable returned 0"));159 return FALSE;160 }161 return WinSetAccelTable(hab, haccel, hwnd);162 }163 145 //****************************************************************************** 164 146 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.