Alexandre Julliard | 1285c2f | 1996-05-06 16:06:24 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Help Viewer |
| 3 | * |
| 4 | * Copyright 1996 Ulrich Schmid |
| 5 | */ |
| 6 | |
| 7 | #include <stdio.h> |
Alexandre Julliard | 9ea19e5 | 1997-01-01 17:29:55 +0000 | [diff] [blame] | 8 | #include "windows.h" |
| 9 | #include "commdlg.h" |
Alexandre Julliard | 1285c2f | 1996-05-06 16:06:24 +0000 | [diff] [blame] | 10 | #ifdef WINELIB |
Alexandre Julliard | 9ea19e5 | 1997-01-01 17:29:55 +0000 | [diff] [blame] | 11 | #include "shell.h" |
Alexandre Julliard | 1285c2f | 1996-05-06 16:06:24 +0000 | [diff] [blame] | 12 | #endif |
| 13 | #include "winhelp.h" |
| 14 | #include "macro.h" |
Alexandre Julliard | 54c2711 | 1998-03-29 19:44:57 +0000 | [diff] [blame] | 15 | #include "debug.h" |
Alexandre Julliard | 1285c2f | 1996-05-06 16:06:24 +0000 | [diff] [blame] | 16 | |
| 17 | VOID MACRO_About(VOID) |
| 18 | { |
| 19 | fprintf(stderr, "About()\n"); |
| 20 | } |
| 21 | |
| 22 | VOID MACRO_AddAccelerator(LONG u1, LONG u2, LPCSTR str) |
| 23 | { |
| 24 | fprintf(stderr, "AddAccelerator(%lu, %lu, \"%s\")\n", u1, u2, str); |
| 25 | } |
| 26 | |
| 27 | VOID MACRO_ALink(LPCSTR str1, LONG u, LPCSTR str2) |
| 28 | { |
| 29 | fprintf(stderr, "ALink(\"%s\", %lu, \"%s\")\n", str1, u, str2); |
| 30 | } |
| 31 | |
| 32 | VOID MACRO_Annotate(VOID) |
| 33 | { |
| 34 | fprintf(stderr, "Annotate()\n"); |
| 35 | } |
| 36 | |
| 37 | VOID MACRO_AppendItem(LPCSTR str1, LPCSTR str2, LPCSTR str3, LPCSTR str4) |
| 38 | { |
| 39 | fprintf(stderr, "AppendItem(\"%s\", \"%s\", \"%s\", \"%s\")\n", str1, str2, str3, str4); |
| 40 | } |
| 41 | |
| 42 | VOID MACRO_Back(VOID) |
| 43 | { |
| 44 | fprintf(stderr, "Back()\n"); |
| 45 | } |
| 46 | |
| 47 | VOID MACRO_BackFlush(VOID) |
| 48 | { |
| 49 | fprintf(stderr, "BackFlush()\n"); |
| 50 | } |
| 51 | |
| 52 | VOID MACRO_BookmarkDefine(VOID) |
| 53 | { |
| 54 | fprintf(stderr, "BookmarkDefine()\n"); |
| 55 | } |
| 56 | |
| 57 | VOID MACRO_BookmarkMore(VOID) |
| 58 | { |
| 59 | fprintf(stderr, "BookmarkMore()\n"); |
| 60 | } |
| 61 | |
| 62 | VOID MACRO_BrowseButtons(VOID) |
| 63 | { |
| 64 | MACRO_CreateButton("BTN_PREV", "&<<", "Prev()"); |
| 65 | MACRO_CreateButton("BTN_NEXT", "&>>", "Next()"); |
| 66 | } |
| 67 | |
| 68 | VOID MACRO_ChangeButtonBinding(LPCSTR str1, LPCSTR str2) |
| 69 | { |
| 70 | fprintf(stderr, "ChangeButtonBinding(\"%s\", \"%s\")\n", str1, str2); |
| 71 | } |
| 72 | |
| 73 | VOID MACRO_ChangeEnable(LPCSTR str1, LPCSTR str2) |
| 74 | { |
| 75 | fprintf(stderr, "ChangeEnable(\"%s\", \"%s\")\n", str1, str2); |
| 76 | } |
| 77 | |
| 78 | VOID MACRO_ChangeItemBinding(LPCSTR str1, LPCSTR str2) |
| 79 | { |
| 80 | fprintf(stderr, "ChangeItemBinding(\"%s\", \"%s\")\n", str1, str2); |
| 81 | } |
| 82 | |
| 83 | VOID MACRO_CheckItem(LPCSTR str) |
| 84 | { |
| 85 | fprintf(stderr, "CheckItem(\"%s\")\n", str); |
| 86 | } |
| 87 | |
| 88 | VOID MACRO_CloseSecondarys(VOID) |
| 89 | { |
| 90 | WINHELP_WINDOW *win; |
| 91 | for (win = Globals.win_list; win; win = win->next) |
| 92 | if (win->lpszName && lstrcmpi(win->lpszName, "main")) |
| 93 | DestroyWindow(win->hMainWnd); |
| 94 | } |
| 95 | |
| 96 | VOID MACRO_CloseWindow(LPCSTR lpszWindow) |
| 97 | { |
| 98 | WINHELP_WINDOW *win; |
| 99 | if (!lpszWindow || !lpszWindow[0]) lpszWindow = "main"; |
| 100 | |
| 101 | for (win = Globals.win_list; win; win = win->next) |
| 102 | if (win->lpszName && !lstrcmpi(win->lpszName, lpszWindow)) |
| 103 | DestroyWindow(win->hMainWnd); |
| 104 | } |
| 105 | |
| 106 | VOID MACRO_Compare(LPCSTR str) |
| 107 | { |
| 108 | fprintf(stderr, "Compare(\"%s\")\n", str); |
| 109 | } |
| 110 | |
| 111 | VOID MACRO_Contents(VOID) |
| 112 | { |
| 113 | if (Globals.active_win->page) |
| 114 | MACRO_JumpContents(Globals.active_win->page->file->lpszPath, NULL); |
| 115 | } |
| 116 | |
| 117 | VOID MACRO_ControlPanel(LPCSTR str1, LPCSTR str2, LONG u) |
| 118 | { |
| 119 | fprintf(stderr, "ControlPanel(\"%s\", \"%s\", %lu)\n", str1, str2, u); |
| 120 | } |
| 121 | |
| 122 | VOID MACRO_CopyDialog(VOID) |
| 123 | { |
| 124 | fprintf(stderr, "CopyDialog()\n"); |
| 125 | } |
| 126 | |
| 127 | VOID MACRO_CopyTopic(VOID) |
| 128 | { |
| 129 | fprintf(stderr, "CopyTopic()\n"); |
| 130 | } |
| 131 | |
| 132 | VOID MACRO_CreateButton(LPCSTR id, LPCSTR name, LPCSTR macro) |
| 133 | { |
| 134 | WINHELP_WINDOW *win = Globals.active_win; |
| 135 | WINHELP_BUTTON *button, **b; |
| 136 | LONG size; |
| 137 | HGLOBAL handle; |
| 138 | LPSTR ptr; |
| 139 | |
| 140 | size = sizeof(WINHELP_BUTTON) + lstrlen(id) + lstrlen(name) + lstrlen(macro) + 3; |
| 141 | handle = GlobalAlloc(GMEM_FIXED, size); |
| 142 | if (!handle) return; |
| 143 | |
| 144 | button = GlobalLock(handle); |
| 145 | button->hSelf = handle; |
| 146 | button->next = 0; |
| 147 | button->hWnd = 0; |
| 148 | |
| 149 | ptr = GlobalLock(handle); |
| 150 | ptr += sizeof(WINHELP_BUTTON); |
| 151 | |
| 152 | lstrcpy(ptr, (LPSTR) id); |
| 153 | button->lpszID = ptr; |
| 154 | ptr += lstrlen(id) + 1; |
| 155 | |
| 156 | lstrcpy(ptr, (LPSTR) name); |
| 157 | button->lpszName = ptr; |
| 158 | ptr += lstrlen(name) + 1; |
| 159 | |
| 160 | lstrcpy(ptr, (LPSTR) macro); |
| 161 | button->lpszMacro = ptr; |
| 162 | |
| 163 | button->wParam = WH_FIRST_BUTTON; |
| 164 | for (b = &win->first_button; *b; b = &(*b)->next) |
| 165 | button->wParam = MAX(button->wParam, (*b)->wParam + 1); |
| 166 | *b = button; |
| 167 | |
| 168 | SendMessage(win->hMainWnd, WM_USER, 0, 0); |
| 169 | } |
| 170 | |
| 171 | VOID MACRO_DeleteItem(LPCSTR str) |
| 172 | { |
| 173 | fprintf(stderr, "DeleteItem(\"%s\")\n", str); |
| 174 | } |
| 175 | |
| 176 | VOID MACRO_DeleteMark(LPCSTR str) |
| 177 | { |
| 178 | fprintf(stderr, "DeleteMark(\"%s\")\n", str); |
| 179 | } |
| 180 | |
| 181 | VOID MACRO_DestroyButton(LPCSTR str) |
| 182 | { |
| 183 | fprintf(stderr, "DestroyButton(\"%s\")\n", str); |
| 184 | } |
| 185 | |
| 186 | VOID MACRO_DisableButton(LPCSTR str) |
| 187 | { |
| 188 | fprintf(stderr, "DisableButton(\"%s\")\n", str); |
| 189 | } |
| 190 | |
| 191 | VOID MACRO_DisableItem(LPCSTR str) |
| 192 | { |
| 193 | fprintf(stderr, "DisableItem(\"%s\")\n", str); |
| 194 | } |
| 195 | |
| 196 | VOID MACRO_EnableButton(LPCSTR str) |
| 197 | { |
| 198 | fprintf(stderr, "EnableButton(\"%s\")\n", str); |
| 199 | } |
| 200 | |
| 201 | VOID MACRO_EnableItem(LPCSTR str) |
| 202 | { |
| 203 | fprintf(stderr, "EnableItem(\"%s\")\n", str); |
| 204 | } |
| 205 | |
| 206 | VOID MACRO_EndMPrint(VOID) |
| 207 | { |
| 208 | fprintf(stderr, "EndMPrint()\n"); |
| 209 | } |
| 210 | |
| 211 | VOID MACRO_ExecFile(LPCSTR str1, LPCSTR str2, LONG u, LPCSTR str3) |
| 212 | { |
| 213 | fprintf(stderr, "ExecFile(\"%s\", \"%s\", %lu, \"%s\")\n", str1, str2, u, str3); |
| 214 | } |
| 215 | |
| 216 | VOID MACRO_ExecProgram(LPCSTR str, LONG u) |
| 217 | { |
| 218 | fprintf(stderr, "ExecProgram(\"%s\", %lu)\n", str, u); |
| 219 | } |
| 220 | |
| 221 | VOID MACRO_Exit(VOID) |
| 222 | { |
| 223 | while(Globals.win_list) |
| 224 | DestroyWindow(Globals.win_list->hMainWnd); |
| 225 | } |
| 226 | |
| 227 | VOID MACRO_ExtAbleItem(LPCSTR str, LONG u) |
| 228 | { |
| 229 | fprintf(stderr, "ExtAbleItem(\"%s\", %lu)\n", str, u); |
| 230 | } |
| 231 | |
| 232 | VOID MACRO_ExtInsertItem(LPCSTR str1, LPCSTR str2, LPCSTR str3, LPCSTR str4, LONG u1, LONG u2) |
| 233 | { |
| 234 | fprintf(stderr, "ExtInsertItem(\"%s\", \"%s\", \"%s\", \"%s\", %lu, %lu)\n", str1, str2, str3, str4, u1, u2); |
| 235 | } |
| 236 | |
| 237 | VOID MACRO_ExtInsertMenu(LPCSTR str1, LPCSTR str2, LPCSTR str3, LONG u1, LONG u2) |
| 238 | { |
| 239 | fprintf(stderr, "ExtInsertMenu(\"%s\", \"%s\", \"%s\", %lu, %lu)\n", str1, str2, str3, u1, u2); |
| 240 | } |
| 241 | |
| 242 | BOOL MACRO_FileExist(LPCSTR str) |
| 243 | { |
| 244 | fprintf(stderr, "FileExist(\"%s\")\n", str); |
| 245 | return TRUE; |
| 246 | } |
| 247 | |
| 248 | VOID MACRO_FileOpen(VOID) |
| 249 | { |
| 250 | OPENFILENAME openfilename; |
| 251 | CHAR szPath[MAX_PATHNAME_LEN]; |
| 252 | CHAR szDir[MAX_PATHNAME_LEN]; |
| 253 | CHAR szzFilter[2 * MAX_STRING_LEN + 100]; |
| 254 | LPSTR p = szzFilter; |
| 255 | |
| 256 | LoadString(Globals.hInstance, IDS_HELP_FILES_HLP, p, MAX_STRING_LEN); |
| 257 | p += strlen(p) + 1; |
| 258 | lstrcpy(p, "*.hlp"); |
| 259 | p += strlen(p) + 1; |
| 260 | LoadString(Globals.hInstance, IDS_ALL_FILES, p, MAX_STRING_LEN); |
| 261 | p += strlen(p) + 1; |
| 262 | lstrcpy(p, "*.*"); |
| 263 | p += strlen(p) + 1; |
| 264 | *p = '\0'; |
| 265 | |
| 266 | GetWindowsDirectory(szDir, sizeof(szDir)); |
| 267 | |
| 268 | openfilename.lStructSize = 0; |
| 269 | openfilename.hwndOwner = Globals.active_win->hMainWnd; |
| 270 | openfilename.hInstance = Globals.hInstance; |
| 271 | openfilename.lpstrFilter = szzFilter; |
| 272 | openfilename.lpstrCustomFilter = 0; |
| 273 | openfilename.nMaxCustFilter = 0; |
| 274 | openfilename.nFilterIndex = 0; |
| 275 | openfilename.lpstrFile = szPath; |
| 276 | openfilename.nMaxFile = sizeof(szPath); |
| 277 | openfilename.lpstrFileTitle = 0; |
| 278 | openfilename.nMaxFileTitle = 0; |
| 279 | openfilename.lpstrInitialDir = szDir; |
| 280 | openfilename.lpstrTitle = 0; |
| 281 | openfilename.Flags = 0; |
| 282 | openfilename.nFileOffset = 0; |
| 283 | openfilename.nFileExtension = 0; |
| 284 | openfilename.lpstrDefExt = 0; |
| 285 | openfilename.lCustData = 0; |
| 286 | openfilename.lpfnHook = 0; |
| 287 | openfilename.lpTemplateName = 0; |
| 288 | |
| 289 | if (GetOpenFileName(&openfilename)) |
| 290 | WINHELP_CreateHelpWindow(szPath, 0, "main", FALSE, NULL, NULL, SW_SHOWNORMAL); |
| 291 | } |
| 292 | |
| 293 | VOID MACRO_Find(VOID) |
| 294 | { |
| 295 | fprintf(stderr, "Find()\n"); |
| 296 | } |
| 297 | |
| 298 | VOID MACRO_Finder(VOID) |
| 299 | { |
| 300 | fprintf(stderr, "Finder()\n"); |
| 301 | } |
| 302 | |
| 303 | VOID MACRO_FloatingMenu(VOID) |
| 304 | { |
| 305 | fprintf(stderr, "FloatingMenu()\n"); |
| 306 | } |
| 307 | |
| 308 | VOID MACRO_Flush(VOID) |
| 309 | { |
| 310 | fprintf(stderr, "Flush()\n"); |
| 311 | } |
| 312 | |
| 313 | VOID MACRO_FocusWindow(LPCSTR str) |
| 314 | { |
| 315 | fprintf(stderr, "FocusWindow(\"%s\")\n", str); |
| 316 | } |
| 317 | |
| 318 | VOID MACRO_Generate(LPCSTR str, WPARAM w, LPARAM l) |
| 319 | { |
| 320 | fprintf(stderr, "Generate(\"%s\", %x, %lx)\n", str, w, l); |
| 321 | } |
| 322 | |
| 323 | VOID MACRO_GotoMark(LPCSTR str) |
| 324 | { |
| 325 | fprintf(stderr, "GotoMark(\"%s\")\n", str); |
| 326 | } |
| 327 | |
| 328 | VOID MACRO_HelpOn(VOID) |
| 329 | { |
| 330 | MACRO_JumpContents((Globals.wVersion > 4) ? "winhelp32.hlp" : "winhelp.hlp", NULL); |
| 331 | } |
| 332 | |
| 333 | VOID MACRO_HelpOnTop(VOID) |
| 334 | { |
| 335 | fprintf(stderr, "HelpOnTop()\n"); |
| 336 | } |
| 337 | |
| 338 | VOID MACRO_History(VOID) |
| 339 | { |
| 340 | fprintf(stderr, "History()\n"); |
| 341 | } |
| 342 | |
| 343 | BOOL MACRO_InitMPrint(VOID) |
| 344 | { |
| 345 | fprintf(stderr, "InitMPrint()\n"); |
| 346 | return FALSE; |
| 347 | } |
| 348 | |
| 349 | VOID MACRO_InsertItem(LPCSTR str1, LPCSTR str2, LPCSTR str3, LPCSTR str4, LONG u) |
| 350 | { |
| 351 | fprintf(stderr, "InsertItem(\"%s\", \"%s\", \"%s\", \"%s\", %lu)\n", str1, str2, str3, str4, u); |
| 352 | } |
| 353 | |
| 354 | VOID MACRO_InsertMenu(LPCSTR str1, LPCSTR str2, LONG u) |
| 355 | { |
| 356 | fprintf(stderr, "InsertMenu(\"%s\", \"%s\", %lu)\n", str1, str2, u); |
| 357 | } |
| 358 | |
| 359 | BOOL MACRO_IsBook(VOID) |
| 360 | { |
| 361 | fprintf(stderr, "IsBook()\n"); |
| 362 | return TRUE; |
| 363 | } |
| 364 | |
| 365 | BOOL MACRO_IsMark(LPCSTR str) |
| 366 | { |
| 367 | fprintf(stderr, "IsMark(\"%s\")\n", str); |
| 368 | return FALSE; |
| 369 | } |
| 370 | |
| 371 | BOOL MACRO_IsNotMark(LPCSTR str) |
| 372 | { |
| 373 | fprintf(stderr, "IsNotMark(\"%s\")\n", str); |
| 374 | return TRUE; |
| 375 | } |
| 376 | |
| 377 | VOID MACRO_JumpContents(LPCSTR lpszPath, LPCSTR lpszWindow) |
| 378 | { |
| 379 | WINHELP_CreateHelpWindow(lpszPath, 0, lpszWindow, FALSE, NULL, NULL, SW_NORMAL); |
| 380 | } |
| 381 | |
| 382 | VOID MACRO_JumpContext(LPCSTR lpszPath, LPCSTR lpszWindow, LONG context) |
| 383 | { |
| 384 | fprintf(stderr, "JumpContext(\"%s\", \"%s\", %lu)\n", lpszPath, lpszWindow, context); |
| 385 | } |
| 386 | |
| 387 | VOID MACRO_JumpHash(LPCSTR lpszPath, LPCSTR lpszWindow, LONG lHash) |
| 388 | { |
| 389 | WINHELP_CreateHelpWindow(lpszPath, lHash, lpszWindow, FALSE, NULL, NULL, SW_NORMAL); |
| 390 | } |
| 391 | |
| 392 | VOID MACRO_JumpHelpOn(VOID) |
| 393 | { |
| 394 | fprintf(stderr, "JumpHelpOn()\n"); |
| 395 | } |
| 396 | |
| 397 | VOID MACRO_JumpID(LPCSTR lpszPath, LPCSTR lpszWindow, LPCSTR topic_id) |
| 398 | { |
| 399 | MACRO_JumpHash(lpszPath, lpszWindow, HLPFILE_Hash(topic_id)); |
| 400 | } |
| 401 | |
| 402 | VOID MACRO_JumpKeyword(LPCSTR lpszPath, LPCSTR lpszWindow, LPCSTR keyword) |
| 403 | { |
| 404 | fprintf(stderr, "JumpKeyword(\"%s\", \"%s\", \"%s\")\n", lpszPath, lpszWindow, keyword); |
| 405 | } |
| 406 | |
| 407 | VOID MACRO_KLink(LPCSTR str1, LONG u, LPCSTR str2, LPCSTR str3) |
| 408 | { |
| 409 | fprintf(stderr, "KLink(\"%s\", %lu, \"%s\", \"%s\")\n", str1, u, str2, str3); |
| 410 | } |
| 411 | |
| 412 | VOID MACRO_Menu(VOID) |
| 413 | { |
| 414 | fprintf(stderr, "Menu()\n"); |
| 415 | } |
| 416 | |
| 417 | VOID MACRO_MPrintHash(LONG u) |
| 418 | { |
| 419 | fprintf(stderr, "MPrintHash(%lu)\n", u); |
| 420 | } |
| 421 | |
| 422 | VOID MACRO_MPrintID(LPCSTR str) |
| 423 | { |
| 424 | fprintf(stderr, "MPrintID(\"%s\")\n", str); |
| 425 | } |
| 426 | |
| 427 | VOID MACRO_Next(VOID) |
| 428 | { |
| 429 | fprintf(stderr, "Next()\n"); |
| 430 | } |
| 431 | |
| 432 | VOID MACRO_NoShow(VOID) |
| 433 | { |
| 434 | fprintf(stderr, "NoShow()\n"); |
| 435 | } |
| 436 | |
| 437 | VOID MACRO_PopupContext(LPCSTR str, LONG u) |
| 438 | { |
| 439 | fprintf(stderr, "PopupContext(\"%s\", %lu)\n", str, u); |
| 440 | } |
| 441 | |
| 442 | VOID MACRO_PopupHash(LPCSTR str, LONG u) |
| 443 | { |
| 444 | fprintf(stderr, "PopupHash(\"%s\", %lu)\n", str, u); |
| 445 | } |
| 446 | |
| 447 | VOID MACRO_PopupId(LPCSTR str1, LPCSTR str2) |
| 448 | { |
| 449 | fprintf(stderr, "PopupId(\"%s\", \"%s\")\n", str1, str2); |
| 450 | } |
| 451 | |
| 452 | VOID MACRO_PositionWindow(LONG i1, LONG i2, LONG u1, LONG u2, LONG u3, LPCSTR str) |
| 453 | { |
| 454 | fprintf(stderr, "PositionWindow(%li, %li, %lu, %lu, %lu, \"%s\")\n", i1, i2, u1, u2, u3, str); |
| 455 | } |
| 456 | |
| 457 | VOID MACRO_Prev(VOID) |
| 458 | { |
| 459 | fprintf(stderr, "Prev()\n"); |
| 460 | } |
| 461 | |
| 462 | VOID MACRO_Print(VOID) |
| 463 | { |
Alexandre Julliard | 54c2711 | 1998-03-29 19:44:57 +0000 | [diff] [blame] | 464 | PRINTDLG printer; |
| 465 | |
| 466 | printer.lStructSize = sizeof(printer); |
| 467 | printer.hwndOwner = Globals.active_win->hMainWnd; |
| 468 | printer.hInstance = Globals.hInstance; |
| 469 | printer.hDevMode = 0; |
| 470 | printer.hDevNames = 0; |
| 471 | printer.hDC = 0; |
| 472 | printer.Flags = 0; |
| 473 | printer.nFromPage = 0; |
| 474 | printer.nToPage = 0; |
| 475 | printer.nMinPage = 0; |
| 476 | printer.nMaxPage = 0; |
| 477 | printer.nCopies = 0; |
| 478 | printer.lCustData = 0; |
| 479 | printer.lpfnPrintHook = 0; |
| 480 | printer.lpfnSetupHook = 0; |
| 481 | printer.lpPrintTemplateName = 0; |
| 482 | printer.lpSetupTemplateName = 0; |
| 483 | printer.hPrintTemplate = 0; |
| 484 | printer.hSetupTemplate = 0; |
| 485 | |
| 486 | if (PrintDlg16(&printer)) { |
| 487 | fprintf(stderr, "Print()\n"); |
| 488 | }; |
Alexandre Julliard | 1285c2f | 1996-05-06 16:06:24 +0000 | [diff] [blame] | 489 | } |
| 490 | |
| 491 | VOID MACRO_PrinterSetup(VOID) |
| 492 | { |
| 493 | fprintf(stderr, "PrinterSetup()\n"); |
| 494 | } |
| 495 | |
| 496 | VOID MACRO_RegisterRoutine(LPCSTR str1, LPCSTR str2, LPCSTR str3) |
| 497 | { |
| 498 | fprintf(stderr, "RegisterRoutine(\"%s\", \"%s\", \"%s\")\n", str1, str2, str3); |
| 499 | } |
| 500 | |
| 501 | VOID MACRO_RemoveAccelerator(LONG u1, LONG u2) |
| 502 | { |
| 503 | fprintf(stderr, "RemoveAccelerator(%lu, %lu)\n", u1, u2); |
| 504 | } |
| 505 | |
| 506 | VOID MACRO_ResetMenu(VOID) |
| 507 | { |
| 508 | fprintf(stderr, "ResetMenu()\n"); |
| 509 | } |
| 510 | |
| 511 | VOID MACRO_SaveMark(LPCSTR str) |
| 512 | { |
| 513 | fprintf(stderr, "SaveMark(\"%s\")\n", str); |
| 514 | } |
| 515 | |
| 516 | VOID MACRO_Search(VOID) |
| 517 | { |
| 518 | fprintf(stderr, "Search()\n"); |
| 519 | } |
| 520 | |
| 521 | VOID MACRO_SetContents(LPCSTR str, LONG u) |
| 522 | { |
| 523 | fprintf(stderr, "SetContents(\"%s\", %lu)\n", str, u); |
| 524 | } |
| 525 | |
| 526 | VOID MACRO_SetHelpOnFile(LPCSTR str) |
| 527 | { |
| 528 | fprintf(stderr, "SetHelpOnFile(\"%s\")\n", str); |
| 529 | } |
| 530 | |
| 531 | VOID MACRO_SetPopupColor(LONG u1, LONG u2, LONG u3) |
| 532 | { |
| 533 | fprintf(stderr, "SetPopupColor(%lu, %lu, %lu)\n", u1, u2, u3); |
| 534 | } |
| 535 | |
| 536 | VOID MACRO_ShellExecute(LPCSTR str1, LPCSTR str2, LONG u1, LONG u2, LPCSTR str3, LPCSTR str4) |
| 537 | { |
| 538 | fprintf(stderr, "ShellExecute(\"%s\", \"%s\", %lu, %lu, \"%s\", \"%s\")\n", str1, str2, u1, u2, str3, str4); |
| 539 | } |
| 540 | |
| 541 | VOID MACRO_ShortCut(LPCSTR str1, LPCSTR str2, WPARAM w, LPARAM l, LPCSTR str) |
| 542 | { |
| 543 | fprintf(stderr, "ShortCut(\"%s\", \"%s\", %x, %lx, \"%s\")\n", str1, str2, w, l, str); |
| 544 | } |
| 545 | |
| 546 | VOID MACRO_TCard(LONG u) |
| 547 | { |
| 548 | fprintf(stderr, "TCard(%lu)\n", u); |
| 549 | } |
| 550 | |
| 551 | VOID MACRO_Test(LONG u) |
| 552 | { |
| 553 | fprintf(stderr, "Test(%lu)\n", u); |
| 554 | } |
| 555 | |
| 556 | BOOL MACRO_TestALink(LPCSTR str) |
| 557 | { |
| 558 | fprintf(stderr, "TestALink(\"%s\")\n", str); |
| 559 | return FALSE; |
| 560 | } |
| 561 | |
| 562 | BOOL MACRO_TestKLink(LPCSTR str) |
| 563 | { |
| 564 | fprintf(stderr, "TestKLink(\"%s\")\n", str); |
| 565 | return FALSE; |
| 566 | } |
| 567 | |
| 568 | VOID MACRO_UncheckItem(LPCSTR str) |
| 569 | { |
| 570 | fprintf(stderr, "UncheckItem(\"%s\")\n", str); |
| 571 | } |
| 572 | |
| 573 | VOID MACRO_UpdateWindow(LPCSTR str1, LPCSTR str2) |
| 574 | { |
| 575 | fprintf(stderr, "UpdateWindow(\"%s\", \"%s\")\n", str1, str2); |
| 576 | } |
| 577 | |
| 578 | /* Local Variables: */ |
| 579 | /* c-file-style: "GNU" */ |
| 580 | /* End: */ |