| 1 | #include <odin.h> | 
|---|
| 2 | #include <odinwrap.h> | 
|---|
| 3 | #include <os2sel.h> | 
|---|
| 4 |  | 
|---|
| 5 | #include <os2win.h> | 
|---|
| 6 | #include <winreg.h> | 
|---|
| 7 | #include <winnt.h> | 
|---|
| 8 | #include <wincon.h> | 
|---|
| 9 | #include <winthunk.h> | 
|---|
| 10 | #include <winuser.h> | 
|---|
| 11 | #include <ddeml.h> | 
|---|
| 12 | #include <dde.h> | 
|---|
| 13 | #include <winnls.h> | 
|---|
| 14 | #include <ntddk.h> | 
|---|
| 15 | #include <heapstring.h> | 
|---|
| 16 |  | 
|---|
| 17 | #define DBG_LOCALLOG    DBG_trace | 
|---|
| 18 | #include <dbglocal.h> | 
|---|
| 19 |  | 
|---|
| 20 | #define DBGWRAP_MODULE "USER32" | 
|---|
| 21 | #include <dbgwrap.h> | 
|---|
| 22 |  | 
|---|
| 23 |  | 
|---|
| 24 |  | 
|---|
| 25 | #undef DBG_LOCALLOG | 
|---|
| 26 | #define DBG_LOCALLOG    DBG_menu | 
|---|
| 27 | DEBUGWRAP16(AppendMenuA) | 
|---|
| 28 | DEBUGWRAP16(AppendMenuW) | 
|---|
| 29 | DEBUGWRAP20(ChangeMenuA) | 
|---|
| 30 | DEBUGWRAP20(ChangeMenuW) | 
|---|
| 31 | DEBUGWRAP12(CheckMenuItem) | 
|---|
| 32 | DEBUGWRAP20(CheckMenuRadioItem) | 
|---|
| 33 | DEBUGWRAP0(CreateMenu) | 
|---|
| 34 | DEBUGWRAP0(CreatePopupMenu) | 
|---|
| 35 | DEBUGWRAP12(DeleteMenu) | 
|---|
| 36 | DEBUGWRAP4(DestroyMenu) | 
|---|
| 37 | DEBUGWRAP12(EnableMenuItem) | 
|---|
| 38 | DEBUGWRAP4(DrawMenuBar) | 
|---|
| 39 | DEBUGWRAP4(GetMenu) | 
|---|
| 40 | DEBUGWRAP0(GetMenuCheckMarkDimensions) | 
|---|
| 41 | DEBUGWRAP4(GetMenuContextHelpId) | 
|---|
| 42 | DEBUGWRAP12(GetMenuDefaultItem) | 
|---|
| 43 | DEBUGWRAP4(GetMenuItemCount) | 
|---|
| 44 | DEBUGWRAP8(GetMenuItemID) | 
|---|
| 45 | DEBUGWRAP16(GetMenuItemInfoA) | 
|---|
| 46 | DEBUGWRAP16(GetMenuItemInfoW) | 
|---|
| 47 | DEBUGWRAP16(GetMenuItemRect) | 
|---|
| 48 | DEBUGWRAP12(GetMenuState) | 
|---|
| 49 | DEBUGWRAP20(GetMenuStringA) | 
|---|
| 50 | DEBUGWRAP20(GetMenuStringW) | 
|---|
| 51 | DEBUGWRAP8(GetSubMenu) | 
|---|
| 52 | DEBUGWRAP8(GetSystemMenu) | 
|---|
| 53 | DEBUGWRAP16(HiliteMenuItem) | 
|---|
| 54 | DEBUGWRAP20(InsertMenuA) | 
|---|
| 55 | DEBUGWRAP16(InsertMenuItemA) | 
|---|
| 56 | DEBUGWRAP16(InsertMenuItemW) | 
|---|
| 57 | DEBUGWRAP20(InsertMenuW) | 
|---|
| 58 | DEBUGWRAP4(IsMenu) | 
|---|
| 59 | DEBUGWRAP8(LoadMenuA) | 
|---|
| 60 | DEBUGWRAP4(LoadMenuIndirectW) | 
|---|
| 61 | DEBUGWRAP8(LoadMenuW) | 
|---|
| 62 | DEBUGWRAP16(MenuItemFromPoint) | 
|---|
| 63 | DEBUGWRAP20(ModifyMenuA) | 
|---|
| 64 | DEBUGWRAP20(ModifyMenuW) | 
|---|
| 65 | DEBUGWRAP12(RemoveMenu) | 
|---|
| 66 | DEBUGWRAP8(SetMenu) | 
|---|
| 67 | DEBUGWRAP8(SetMenuContextHelpId) | 
|---|
| 68 | DEBUGWRAP12(SetMenuDefaultItem) | 
|---|
| 69 | DEBUGWRAP20(SetMenuItemBitmaps) | 
|---|
| 70 | DEBUGWRAP16(SetMenuItemInfoA) | 
|---|
| 71 | DEBUGWRAP16(SetMenuItemInfoW) | 
|---|
| 72 | DEBUGWRAP28(TrackPopupMenu) | 
|---|
| 73 | DEBUGWRAP24(TrackPopupMenuEx) | 
|---|
| 74 | DEBUGWRAP8(GetMenuInfo) | 
|---|
| 75 | DEBUGWRAP8(SetMenuInfo) | 
|---|
| 76 |  | 
|---|
| 77 | #undef DBG_LOCALLOG | 
|---|
| 78 | #define DBG_LOCALLOG    DBG_scroll | 
|---|
| 79 | DEBUGWRAP12(EnableScrollBar) | 
|---|
| 80 | DEBUGWRAP12(GetScrollBarInfo) | 
|---|
| 81 | DEBUGWRAP12(GetScrollInfo) | 
|---|
| 82 | DEBUGWRAP8(GetScrollPos) | 
|---|
| 83 | DEBUGWRAP16(GetScrollRange) | 
|---|
| 84 | DEBUGWRAP16(SetScrollInfo) | 
|---|
| 85 | DEBUGWRAP16(SetScrollPos) | 
|---|
| 86 | DEBUGWRAP20(SetScrollRange) | 
|---|
| 87 | DEBUGWRAP12(ShowScrollBar) | 
|---|
| 88 |  | 
|---|
| 89 |  | 
|---|
| 90 | #if 0 | 
|---|
| 91 |  | 
|---|
| 92 | #undef DBG_LOCALLOG | 
|---|
| 93 | #define DBG_LOCALLOG    DBG_windlg | 
|---|
| 94 | DEBUGWRAP16(SetDlgItemInt) | 
|---|
| 95 | DEBUGWRAP12(SetDlgItemTextA) | 
|---|
| 96 | DEBUGWRAP12(SetDlgItemTextW) | 
|---|
| 97 | DEBUGWRAP12(CheckDlgButton) | 
|---|
| 98 | DEBUGWRAP20(DlgDirListA) | 
|---|
| 99 | DEBUGWRAP20(DlgDirListComboBoxA) | 
|---|
| 100 | DEBUGWRAP20(DlgDirListComboBoxW) | 
|---|
| 101 | DEBUGWRAP20(DlgDirListW) | 
|---|
| 102 | DEBUGWRAP16(DlgDirSelectComboBoxExA) | 
|---|
| 103 | DEBUGWRAP16(DlgDirSelectComboBoxExW) | 
|---|
| 104 | DEBUGWRAP16(DlgDirSelectExA) | 
|---|
| 105 | DEBUGWRAP16(DlgDirSelectExW) | 
|---|
| 106 | DEBUGWRAP4(GetDlgCtrlID) | 
|---|
| 107 | DEBUGWRAP8(GetDlgItem) | 
|---|
| 108 | DEBUGWRAP16(GetDlgItemInt) | 
|---|
| 109 | DEBUGWRAP16(GetDlgItemTextA) | 
|---|
| 110 | DEBUGWRAP16(GetDlgItemTextW) | 
|---|
| 111 | DEBUGWRAP12(GetNextDlgGroupItem) | 
|---|
| 112 | DEBUGWRAP12(GetNextDlgTabItem) | 
|---|
| 113 | DEBUGWRAP8(IsDlgButtonChecked) | 
|---|
| 114 | DEBUGWRAP20(CreateDialogIndirectParamA) | 
|---|
| 115 | DEBUGWRAP20(CreateDialogIndirectParamW) | 
|---|
| 116 | DEBUGWRAP20(CreateDialogParamA) | 
|---|
| 117 | DEBUGWRAP20(CreateDialogParamW) | 
|---|
| 118 | DEBUGWRAP20(DialogBoxIndirectParamA) | 
|---|
| 119 | DEBUGWRAP20(DialogBoxIndirectParamW) | 
|---|
| 120 | DEBUGWRAP20(DialogBoxParamA) | 
|---|
| 121 | DEBUGWRAP20(DialogBoxParamW) | 
|---|
| 122 | DEBUGWRAP8(EndDialog) | 
|---|
| 123 | DEBUGWRAP0(GetDialogBaseUnits) | 
|---|
| 124 | DEBUGWRAP8(MapDialogRect) | 
|---|
| 125 |  | 
|---|
| 126 |  | 
|---|
| 127 | #endif | 
|---|