1 {**************************************************************************** 2 3 4 This file is part of the Free Pascal run time library. 5 Copyright (c) 1999-2000 by Florian Klaempfl 6 Copyright (c) 1999-2000 by Ramon Bosque 7 Copyrigth (c) 2003 by Yuri Prokushev 8 9 OS/2 Presentation Manager windowing functions, plus common 10 PM constants and types (PMWIN.DLL interface unit). 11 12 See the file COPYING.FPC, included in this distribution, 13 for details about the copyright. 14 15 This program is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 18 19 ****************************************************************************} 20 21 unit pmwin; 22 23 {$mode objfpc} 24 25 {$MACRO ON} 26 27 interface 28 29 uses 30 os2def; 31 32 const 33 MaxMB2DText = 70; 34 35 type 36 proc=function (hwnd,msg : cardinal;mp1,mp2 : pointer) : pointer; cdecl; 37 QVERSDATA = record 38 environment : word; 39 version : word; 40 end; 41 PQVERSDATA = ^QVERSDATA; 42 SWP = record 43 fl : cardinal; 44 cy : longint; 45 cx : longint; 46 y : longint; 47 x : longint; 48 hwndInsertBehind : cardinal; 49 hwnd : cardinal; 50 ulReserved1 : cardinal; 51 ulReserved2 : cardinal; 52 end; 53 PSWP = ^SWP; 54 CREATESTRUCT = record 55 pPresParams : pointer; 56 pCtlData : pointer; 57 id : cardinal; 58 hwndInsertBehind : cardinal; 59 hwndOwner : cardinal; 60 cy : longint; 61 cx : longint; 62 y : longint; 63 x : longint; 64 flStyle : cardinal; 65 pszText : pchar; 66 pszClass : pchar; 67 hwndParent : cardinal; 68 end; 69 PCREATESTRUCT = ^CREATESTRUCT; 70 CLASSINFO = record 71 flClassStyle : cardinal; 72 pfnWindowProc : proc; 73 cbWindowData : cardinal; 74 end; 75 PCLASSINFO = ^CLASSINFO; 76 QMSG = record 77 hwnd : cardinal; 78 msg : cardinal; 79 mp1 : pointer; 80 mp2 : pointer; 81 time : cardinal; 82 ptl : POINTL; 83 reserved : cardinal; 84 end; 85 PQMSG = ^QMSG; 86 MQINFO = record 87 cb : cardinal; 88 pid : cardinal; 89 tid : cardinal; 90 cmsgs : cardinal; 91 pReserved : pointer; 92 end; 93 PMQINFO = ^MQINFO; 94 WNDPARAMS = record 95 fsStatus : cardinal; 96 cchText : cardinal; 97 pszText : pchar; 98 cbPresParams : cardinal; 99 pPresParams : pointer; 100 cbCtlData : cardinal; 101 pCtlData : pointer; 102 end; 103 PWNDPARAMS = ^WNDPARAMS; 104 USERBUTTON = record 105 hwnd : cardinal; 106 hps : cardinal; 107 fsState : cardinal; 108 fsStateOld : cardinal; 109 end; 110 PUSERBUTTON = ^USERBUTTON; 111 OWNERITEM = record 112 hwnd : cardinal; 113 hps : cardinal; 114 fsState : cardinal; 115 fsAttribute : cardinal; 116 fsStateOld : cardinal; 117 fsAttributeOld : cardinal; 118 rclItem : TRectl; 119 idItem : longint; 120 hItem : cardinal; 121 end; 122 POWNERITEM = ^OWNERITEM; 123 PARAM = record 124 id : cardinal; 125 cb : cardinal; 126 ab : array[0..1-1] of BYTE; 127 end; 128 PPARAM = ^PARAM; 129 PRESPARAMS = record 130 cb : cardinal; 131 aparam : array[0..1-1] of PARAM; 132 end; 133 PPRESPARAMS = ^PRESPARAMS; 134 TRACKINFO = record 135 cxBorder : longint; 136 cyBorder : longint; 137 cxGrid : longint; 138 cyGrid : longint; 139 cxKeyboard : longint; 140 cyKeyboard : longint; 141 rclTrack : TRectl; 142 rclBoundary : TRectl; 143 ptlMinTrackSize : POINTL; 144 ptlMaxTrackSize : POINTL; 145 fs : cardinal; 146 end; 147 PTRACKINFO = ^TRACKINFO; 148 CURSORINFO = record 149 hwnd : cardinal; 150 x : longint; 151 y : longint; 152 cx : longint; 153 cy : longint; 154 fs : cardinal; 155 rclClip : TRectl; 156 end; 157 PCURSORINFO = ^CURSORINFO; 158 POINTERINFO = record 159 fPointer : cardinal; 160 xHotspot : longint; 161 yHotspot : longint; 162 hbmPointer : cardinal; 163 hbmColor : cardinal; 164 hbmMiniPointer : cardinal; 165 hbmMiniColor : cardinal; 166 end; 167 PPOINTERINFO = ^POINTERINFO; 168 SMHSTRUCT = record 169 mp2 : pointer; 170 mp1 : pointer; 171 msg : cardinal; 172 hwnd : cardinal; 173 model : cardinal; 174 end; 175 PSMHSTRUCT = ^SMHSTRUCT; 176 ERRINFO = record 177 cbFixedErrInfo : cardinal; 178 idError : cardinal; 179 cDetailLevel : cardinal; 180 offaoffszMsg : cardinal; 181 offBinaryData : cardinal; 182 end; 183 PERRINFO = ^ERRINFO; 184 CONVCONTEXT = record 185 cb : cardinal; 186 fsContext : cardinal; 187 idCountry : cardinal; 188 usCodepage : cardinal; 189 usLangID : cardinal; 190 usSubLangID : cardinal; 191 end; 192 PCONVCONTEXT = ^CONVCONTEXT; 193 DDEINIT = record 194 cb : cardinal; 195 pszAppName : pchar; 196 pszTopic : pchar; 197 offConvContext : cardinal; 198 end; 199 PDDEINIT = ^DDEINIT; 200 DDESTRUCT = record 201 cbData : cardinal; 202 fsStatus : word; 203 usFormat : word; 204 offszItemName : word; 205 offabData : word; 206 end; 207 PDDESTRUCT = ^DDESTRUCT; 208 DESKTOP = record 209 cbSize : cardinal; 210 hbm : cardinal; 211 x : longint; 212 y : longint; 213 fl : cardinal; 214 lTileCount : longint; 215 szFile : array[0..260-1] of shortint; 216 end; 217 PDESKTOP = ^DESKTOP; 218 {$PACKRECORDS 1} 219 CMDMSG = record 220 cmd : word; 221 unused : word; 222 source : word; 223 fMouse : word; 224 end; 225 PCMDMSG = ^CMDMSG; 226 MSEMSG = record 227 x : integer; 228 y : integer; 229 codeHitTest : word; 230 fsInp : word; 231 end; 232 PMSEMSG = ^MSEMSG; 233 CHRMSG = record 234 fs : word; 235 cRepeat : byte; 236 scancode : byte; 237 chr : word; 238 vkey : word; 239 end; 240 PCHRMSG = ^CHRMSG; 241 {$PACKRECORDS NORMAL} 242 243 {$PACKRECORDS 2} 244 DLGTITEM = record 245 fsItemStatus : word; 246 cChildren : word; 247 cchClassName : word; 248 offClassName : word; 249 cchText : word; 250 offText : word; 251 flStyle : cardinal; 252 x : integer; 253 y : integer; 254 cx : integer; 255 cy : integer; 256 id : word; 257 offPresParams : word; 258 offCtlData : word; 259 end; 260 PDLGTITEM = ^DLGTITEM; 261 DLGTEMPLATE = record 262 cbTemplate : word; 263 _type : word; 264 codepage : word; 265 offadlgti : word; 266 fsTemplateStatus : word; 267 iItemFocus : word; 268 coffPresParams : word; 269 adlgti : array[0..0] of DLGTITEM; 270 end; 271 PDLGTEMPLATE = ^DLGTEMPLATE; 272 BTNCDATA = record 273 cb : word; 274 fsCheckState : word; 275 fsHiliteState : word; 276 hImage : cardinal; 277 end; 278 PBTNCDATA = ^BTNCDATA; 279 ENTRYFDATA = record 280 cb : word; 281 cchEditLimit : word; 282 ichMinSel : word; 283 ichMaxSel : word; 284 end; 285 PENTRYFDATA = ^ENTRYFDATA; 286 MENUITEM = record 287 iPosition : integer; 288 afStyle : word; 289 afAttribute : word; 290 id : word; 291 hwndSubMenu : cardinal; 292 hItem : cardinal; 293 end; 294 PMENUITEM = ^MENUITEM; 295 SBCDATA = record 296 cb : word; 297 sHilite : word; 298 posFirst : integer; 299 posLast : integer; 300 posThumb : integer; 301 cVisible : integer; 302 cTotal : integer; 303 end; 304 PSBCDATA = ^SBCDATA; 305 FRAMECDATA = record 306 cb : word; 307 flCreateFlags : cardinal; 308 hmodResources : word; 309 idResources : word; 310 end; 311 PFRAMECDATA = ^FRAMECDATA; 312 ACCEL = record 313 fs : word; 314 key : word; 315 cmd : word; 316 end; 317 PACCEL = ^ACCEL; 318 ACCELTABLE = record 319 cAccel : word; 320 codepage : word; 321 aaccel : array[0..1-1] of ACCEL; 322 end; 323 PACCELTABLE = ^ACCELTABLE; 324 MFP = record 325 sizeBounds : POINTL; 326 sizeMM : POINTL; 327 cbLength : cardinal; 328 mapMode : word; 329 reserved : word; 330 abData : array[0..1-1] of BYTE; 331 end; 332 PMFP = ^MFP; 333 CPTEXT = record 334 idCountry : word; 335 usCodepage : word; 336 usLangID : word; 337 usSubLangID : word; 338 abText : array[0..1-1] of BYTE; 339 end; 340 PCPTEXT = ^CPTEXT; 341 342 (* Type definitions for WinMessageBox2 *) 343 MB2D = record 344 achText: array [0..MaxMB2DText] of char; 345 idButtons: cardinal; 346 flStyle: cardinal; 347 end; 348 TMB2D = MB2D; 349 PMB2D = ^TMB2D; 350 351 MB2Info = record 352 cb: cardinal; (* size of data *) 353 hIcon: cardinal; (* icon handle *) 354 cButtons: cardinal; (* number of buttons *) 355 flStyle: cardinal; (* icon style flags *) 356 hwndNotify: cardinal; (* owner notification handle *) 357 MB2D: array [0..0] of TMB2D; (* button definitions *) 358 end; 359 TMB2Info = MB2Info; 360 PMB2Info = ^TMB2Info; 361 362 //***************************************************************************\ 363 //* FontRangeEntry 364 //* 365 //* ulRun = number of consecutive glyphs contained in the font 366 //* ulSkip = number of consecutive glyphs skipped in the font, 367 //* ulSkip == 0 --> Last FontRangeEntry in table 368 //***************************************************************************/ 369 type 370 FONTRANGEENTRY=record // fre 371 ulRun: Cardinal; 372 ulSkip: Cardinal; 373 end; 374 PFONTRANGEENTRY=^FONTRANGEENTRY; 375 376 //***************************************************************************\ 377 //* FontCharDef 378 //* 379 //* ulGlyphOffset = offset to rendered character bitmap (0 from driver) 380 //* sAspace = pre-character space 381 //* sBspace = character width (always non-zero) 382 //* sCspace = post-character space 383 //***************************************************************************/ 384 type 385 FONTCHARDEF=record // fcd 386 ulGlyphOffset: Cardinal; 387 sAspace: Integer; 388 sBspace: Word; 389 sCspace: integer; 390 end; 391 PFONTCHARDEF=^FONTCHARDEF; 392 393 //***************************************************************************\ 394 //* FocaMetricsExtension 395 //***************************************************************************/ 396 type 397 FOCAMETRICSEXT=record // fme 398 ulSize: Cardinal; // Total size of extension 399 ulFlags: Cardinal; // Reserved, must be 0 400 ulGlyphCount: Cardinal; 401 ulDefaultIndex: Cardinal; 402 ulRangeTableEntries: Cardinal; 403 afreRangeTable: Array[1..1] of FONTRANGEENTRY; 404 end; 405 PFOCAMETRICSEXT=^FOCAMETRICSEXT; 406 407 //************************************************************************** 408 type 409 FOCAMETRICS=record // foca 410 ulIdentity: Cardinal; 411 ulSize: Cardinal; 412 szFamilyname: Array[1..32] of Char; 413 szFacename: Array[1..32] of Char; 414 usRegistryId: Integer; 415 usCodePage: Integer; 416 yEmHeight: Integer; 417 yXHeight: Integer; 418 yMaxAscender: Integer; 419 yMaxDescender: Integer; 420 yLowerCaseAscent: Integer; 421 yLowerCaseDescent: Integer; 422 yInternalLeading: Integer; 423 yExternalLeading: Integer; 424 xAveCharWidth: Integer; 425 xMaxCharInc: Integer; 426 xEmInc: Integer; 427 yMaxBaselineExt: Integer; 428 sCharSlope: Integer; 429 sInlineDir: Integer; 430 sCharRot: Integer; 431 usWeightClass: Word; 432 usWidthClass: Word; 433 xDeviceRes: Integer; 434 yDeviceRes: Integer; 435 usFirstChar: Integer; 436 usLastChar: Integer; 437 usDefaultChar: Integer; 438 usBreakChar: Integer; 439 usNominalPointSize: Integer; 440 usMinimumPointSize: Integer; 441 usMaximumPointSize: Integer; 442 fsTypeFlags: Integer; 443 fsDefn: Integer; 444 fsSelectionFlags: Integer; 445 fsCapabilities: Integer; 446 ySubscriptXSize: Integer; 447 ySubscriptYSize: Integer; 448 ySubscriptXOffset: Integer; 449 ySubscriptYOffset: Integer; 450 ySuperscriptXSize: Integer; 451 ySuperscriptYSize: Integer; 452 ySuperscriptXOffset: Integer; 453 ySuperscriptYOffset: Integer; 454 yUnderscoreSize: Integer; 455 yUnderscorePosition: Integer; 456 yStrikeoutSize: Integer; 457 yStrikeoutPosition: Integer; 458 usKerningPairs: Integer; 459 sFamilyClass: Integer; 460 pszDeviceNameOffset: PChar; 461 end; 462 PFOCAMETRICS=^FOCAMETRICS; 463 464 // REUSE - long offset to extension relative to FocaMetrics 465 {$define loffExtension:=pszDeviceNameOffset} 466 467 type 468 FONTFILEMETRICS=record // ffm 469 ulIdentity: Cardinal; 470 ulSize: Cardinal; 471 szFamilyname: Array[0..32-1] of Char; 472 szFacename: Array[0..32-1] of Char; 473 usRegistryId: Integer; 474 usCodePage: Integer; 475 yEmHeight: Integer; 476 yXHeight: Integer; 477 yMaxAscender: Integer; 478 yMaxDescender: Integer; 479 yLowerCaseAscent: Integer; 480 yLowerCaseDescent: Integer; 481 yInternalLeading: Integer; 482 yExternalLeading: Integer; 483 xAveCharWidth: Integer; 484 xMaxCharInc: Integer; 485 xEmInc: Integer; 486 yMaxBaselineExt: Integer; 487 sCharSlope: Integer; 488 sInlineDir: Integer; 489 sCharRot: Integer; 490 usWeightClass: Word; 491 usWidthClass: Word; 492 xDeviceRes: Integer; 493 yDeviceRes: Integer; 494 usFirstChar: Integer; 495 usLastChar: Integer; 496 usDefaultChar: Integer; 497 usBreakChar: Integer; 498 usNominalPointSize: Integer; 499 usMinimumPointSize: Integer; 500 usMaximumPointSize: Integer; 501 fsTypeFlags: Integer; 502 fsDefn: Integer; 503 fsSelectionFlags: Integer; 504 fsCapabilities: Integer; 505 ySubscriptXSize: Integer; 506 ySubscriptYSize: Integer; 507 ySubscriptXOffset: Integer; 508 ySubscriptYOffset: Integer; 509 ySuperscriptXSize: Integer; 510 ySuperscriptYSize: Integer; 511 ySuperscriptXOffset: Integer; 512 ySuperscriptYOffset: Integer; 513 yUnderscoreSize: Integer; 514 yUnderscorePosition: Integer; 515 yStrikeoutSize: Integer; 516 yStrikeoutPosition: Integer; 517 usKerningPairs: Integer; 518 sFamilyClass: Integer; 519 ulReserved: Cardinal; 520 anose: PANOSE; 521 end; 522 PFONTFILEMETRICS=^FONTFILEMETRICS; 523 524 FONTDEFINITIONHEADER=record // fdh 525 ulIdentity: Cardinal; 526 ulSize: Cardinal; 527 fsFontdef: Integer; 528 fsChardef: Integer; 529 usCellSize: Integer; 530 xCellWidth: Integer; 531 yCellHeight: Integer; 532 xCellIncrement: Integer; 533 xCellA: Integer; 534 xCellB: Integer; 535 xCellC: Integer; 536 pCellBaseOffset: Integer; 537 end; 538 PFONTDEFINITIONHEADER=^FONTDEFINITIONHEADER; 539 540 const 541 FONTDEFFONT1 =$0047; // set width, height, inc. & base offset 542 FONTDEFFONT2 =$0042; // set height & base offset 543 FONTDEFFONT3 =$0042; // set height & base offset 544 FONTDEFCHAR1 =$0081; // set char offset and width 545 FONTDEFCHAR2 =$0081; // set char offset and width 546 FONTDEFCHAR3 =$00b8; // set char offset, A, B, and C space 547 SPACE_UNDEF =$8000; // space undefined = take default 548 FONTDEFFOCA32 =$4000; 549 FONTDEFDEVFONT =$2000; // Device or Downloadable font 550 551 type 552 FONTSIGNATURE=record // fs 553 ulIdentity: Cardinal; 554 ulSize: Cardinal; 555 achSignature: Array[0..12-1] of Char; 556 end; 557 PFONTSIGNATURE=^FONTSIGNATURE; 558 559 ADDITIONALMETRICS=record // am 560 ulIdentity: Cardinal; 561 ulSize: Cardinal; 562 anose: PANOSE; 563 end; 564 PADDITIONALMETRICS=^ADDITIONALMETRICS; 565 566 FOCAFONT=record // ff 567 fsSignature: FONTSIGNATURE; 568 fmMetrics: FOCAMETRICS; 569 fdDefinitions: FONTDEFINITIONHEADER; 570 end; 571 PFOCAFONT=^FOCAFONT; 572 573 const 574 FONT_SIGNATURE =$fffffffe;// Identity header start 575 FONT_METRICS =$00000001;// Identity metrics 576 FONT_DEFINITION =$00000002;// Identity definition 577 FONT_KERNPAIRS =$00000003;// Identity Kern Pairs 578 FONT_ADDITIONALMETRICS =$00000004;// Identity Additional Metrics 579 FONT_ENDRECORD =$ffffffff;// Identity record end 580 581 type 582 FOCAFONT32=FOCAFONT; 583 PFOCAFONT32=^FOCAFONT32; 584 585 // Options for QueryFonts 586 const 587 QUERY_PUBLIC_FONTS =$0001; 588 QUERY_PRIVATE_FONTS =$0002; 589 590 CDEF_GENERIC =$0001; 591 CDEF_BOLD =$0002; 592 CDEF_ITALIC =$0004; 593 CDEF_UNDERSCORE =$0008; 594 CDEF_STRIKEOUT =$0010; 595 CDEF_OUTLINE =$0020; 596 597 const 598 //************************************************************************* 599 //* MLE Window styles ( in addition to WS_* ) 600 //*************************************************************************/ 601 MLS_WORDWRAP = $00000001; 602 MLS_BORDER = $00000002; 603 MLS_VSCROLL = $00000004; 604 MLS_HSCROLL = $00000008; 605 MLS_READONLY = $00000010; 606 MLS_IGNORETAB = $00000020; 607 MLS_DISABLEUNDO = $00000040; 608 MLS_LIMITVSCROLL = $00000080; 609 610 //************************************************************************* 611 //* MLE External Data Types 612 //*************************************************************************/ 613 type 614 IPT=Longint; // insertion point 615 PIPT=^IPT; // insertion point 616 PIX=Longint; // pixel 617 LINE=Cardinal; // Line number 618 619 FORMATRECT=record // MLEFRD 620 cxFormat: Longint; // format rectangle width 621 cyFormat: Longint; // format rectangle height 622 end; 623 PMLEFORMATRECT=^FORMATRECT; 624 625 MLECTLDATA=record // MLECTL 626 cbCtlData: Word; // Length of the MLECTLDATA structure 627 afIEFormat: Word; // import/export format 628 cchText: Cardinal; // text limit 629 iptAnchor: IPT; // beginning of selection 630 iptCursor: IPT; // ending of selection 631 cxFormat: Longint; // format rectangle width 632 cyFormat: Longint; // format rectangle height 633 afFormatFlags: Cardinal; // formatting rectangle flags 634 pHWXCtlData: Pointer; // reserved for Pen CtlData (penpm.h) 635 end; 636 PMLECTLDATA=^MLECTLDATA; 637 638 //************************************************************************* 639 //* afFormatFlags mask 640 //*************************************************************************/ 641 const 642 MLFFMTRECT_LIMITHORZ =$00000001; 643 MLFFMTRECT_LIMITVERT =$00000002; 644 MLFFMTRECT_MATCHWINDOW =$00000004; 645 MLFFMTRECT_FORMATRECT =$00000007; 646 647 //************************************************************************ 648 //* afIEFormat - Import/Export Format flags 649 //************************************************************************ 650 MLFIE_CFTEXT = 0; 651 MLFIE_NOTRANS = 1; 652 MLFIE_WINFMT = 2; 653 MLFIE_RTF = 3; 654 655 //************************************************************************* 656 //* MLE color types: MLM_QUERY(TEXT/BACK)COLOR, MLM_SET(TEXT/BACK)COLOR 657 //*************************************************************************/ 658 MLE_INDEX = 0; 659 MLE_RGB = 1; 660 661 //************************************************************************* 662 //* MLN_OVERFLOW structure 663 //*************************************************************************/ 664 type 665 MLEOVERFLOW=record // overflow 666 afErrInd: Cardinal; // see mask below 667 nBytesOver: Longint; // number of bytes overflowed 668 pixHorzOver: Longint; // number of pixels horizontally overflow 669 pixVertOver: Longint; // number of pixels vertically overflowed 670 end; 671 POVERFLOW=^MLEOVERFLOW; 672 673 //************************************************************************* 674 //* afErrInd - error format rectangle flags 675 //*************************************************************************/ 676 const 677 MLFEFR_RESIZE = $00000001; 678 MLFEFR_TABSTOP = $00000002; 679 MLFEFR_FONT = $00000004; 680 MLFEFR_TEXT = $00000008; 681 MLFEFR_WORDWRAP = $00000010; 682 MLFETL_TEXTBYTES = $00000020; 683 684 //************************************************************************* 685 //* MLN_MARGIN structure 686 //*************************************************************************/ 687 type 688 MLEMARGSTRUCT=record // margin 689 afMargins: Word; // margin indicator 690 usMouMsg: Word; // mouse message 691 iptNear: IPT; // the geometrically nearest insertion point 692 end; 693 PMARGSTRUCT=^MLEMARGSTRUCT; 694 695 //************************************************************************* 696 //* afFlags - margin notification indicators 697 //*************************************************************************/ 698 const 699 MLFMARGIN_LEFT =$0001; 700 MLFMARGIN_BOTTOM =$0002; 701 MLFMARGIN_RIGHT =$0003; 702 MLFMARGIN_TOP =$0004; 703 704 //************************************************************************* 705 // MLM_QUERYSELECTION flags 706 //************************************************************************/ 707 MLFQS_MINMAXSEL = 0; 708 MLFQS_MINSEL = 1; 709 MLFQS_MAXSEL = 2; 710 MLFQS_ANCHORSEL = 3; 711 MLFQS_CURSORSEL = 4; 712 713 //************************************************************************* 714 //* MLN_CLPBDFAIL flags 715 //*************************************************************************/ 716 MLFCLPBD_TOOMUCHTEXT =$00000001; 717 MLFCLPBD_ERROR =$00000002; 718 719 //************************************************************************* 720 //* MLM_SEARCH structure 721 //*************************************************************************/ 722 type 723 MLE_SEARCHDATA=record // search 724 cb: Word; // size of search spec structure 725 pchFind: PChar; // string to search for 726 pchReplace: PChar; // string to replace with 727 cchFind: Integer; // length of pchFindString 728 cchReplace: Integer; // length of replace string 729 iptStart: IPT; // point at which to start search 730 // (negative indicates cursor pt) 731 // becomes pt where string found 732 iptStop: IPT; // point at which to stop search 733 // (negative indicates EOT) 734 cchFound: Word; // Length of found string at iptStart 735 end; 736 PMLE_SEARCHDATA=^MLE_SEARCHDATA; 737 738 //************************************************************************* 739 //* MLM_SEARCH style flags 740 //*************************************************************************/ 741 const 742 MLFSEARCH_CASESENSITIVE =$00000001; 743 MLFSEARCH_SELECTMATCH =$00000002; 744 MLFSEARCH_CHANGEALL =$00000004; 745 746 //************************************************************************* 747 //* MLE messages - MLM from 0x01b0 to 0x01de; MLN from 0x0001 to 0x000f 748 //*************************************************************************/ 749 // formatting messages 750 MLM_SETTEXTLIMIT =$01b0; 751 MLM_QUERYTEXTLIMIT =$01b1; 752 MLM_SETFORMATRECT =$01b2; 753 MLM_QUERYFORMATRECT =$01b3; 754 MLM_SETWRAP =$01b4; 755 MLM_QUERYWRAP =$01b5; 756 MLM_SETTABSTOP =$01b6; 757 MLM_QUERYTABSTOP =$01b7; 758 MLM_SETREADONLY =$01b8; 759 MLM_QUERYREADONLY =$01b9; 760 761 // text content manipulation and queries messages 762 MLM_QUERYCHANGED =$01ba; 763 MLM_SETCHANGED =$01bb; 764 MLM_QUERYLINECOUNT =$01bc; 765 MLM_CHARFROMLINE =$01bd; 766 MLM_LINEFROMCHAR =$01be; 767 MLM_QUERYLINELENGTH =$01bf; 768 MLM_QUERYTEXTLENGTH =$01c0; 769 770 // text import and export messages 771 MLM_FORMAT =$01c1; 772 MLM_SETIMPORTEXPORT =$01c2; 773 MLM_IMPORT =$01c3; 774 MLM_EXPORT =$01c4; 775 MLM_DELETE =$01c6; 776 MLM_QUERYFORMATLINELENGTH =$01c7; 777 MLM_QUERYFORMATTEXTLENGTH =$01c8; 778 MLM_INSERT =$01c9; 779 780 // selection messages 781 MLM_SETSEL =$01ca; 782 MLM_QUERYSEL =$01cb; 783 MLM_QUERYSELTEXT =$01cc; 784 785 // undo and redo messages 786 MLM_QUERYUNDO =$01cd; 787 MLM_UNDO =$01ce; 788 MLM_RESETUNDO =$01cf; 789 790 // text attributes messages 791 MLM_QUERYFONT =$01d0; 792 MLM_SETFONT =$01d1; 793 MLM_SETTEXTCOLOR =$01d2; 794 MLM_QUERYTEXTCOLOR =$01d3; 795 MLM_SETBACKCOLOR =$01d4; 796 MLM_QUERYBACKCOLOR =$01d5; 797 798 // scrolling messages 799 MLM_QUERYFIRSTCHAR =$01d6; 800 MLM_SETFIRSTCHAR =$01d7; 801 802 // clipboard messages 803 MLM_CUT =$01d8; 804 MLM_COPY =$01d9; 805 MLM_PASTE =$01da; 806 MLM_CLEAR =$01db; 807 808 // display manipulation messages 809 MLM_ENABLEREFRESH =$01dc; 810 MLM_DISABLEREFRESH =$01dd; 811 812 // search message 813 MLM_SEARCH =$01de; 814 MLM_QUERYIMPORTEXPORT =$01df; 815 816 // notification messages 817 MLN_OVERFLOW =$0001; 818 MLN_PIXHORZOVERFLOW =$0002; 819 MLN_PIXVERTOVERFLOW =$0003; 820 MLN_TEXTOVERFLOW =$0004; 821 MLN_VSCROLL =$0005; 822 MLN_HSCROLL =$0006; 823 MLN_CHANGE =$0007; 824 MLN_SETFOCUS =$0008; 825 MLN_KILLFOCUS =$0009; 826 MLN_MARGIN =$000a; 827 MLN_SEARCHPAUSE =$000b; 828 MLN_MEMERROR =$000c; 829 MLN_UNDOOVERFLOW =$000d; 830 MLN_CLPBDFAIL =$000f; 831 832 833 const 834 DTYP_USER =(16384); 835 836 DTYP_CTL_ARRAY =(1); 837 DTYP_CTL_PARRAY =(-1); 838 DTYP_CTL_OFFSET =(2); 839 DTYP_CTL_LENGTH =(3); 840 841 //**********************************************************************/ 842 //* Ordinary datatypes */ 843 //**********************************************************************/ 844 DTYP_ACCEL =(28); 845 DTYP_ACCELTABLE =(29); 846 DTYP_ARCPARAMS =(38); 847 DTYP_AREABUNDLE =(139); 848 DTYP_ATOM =(90); 849 DTYP_BITMAPINFO =(60); 850 DTYP_BITMAPINFOHEADER =(61); 851 DTYP_BITMAPINFO2 =(170); 852 DTYP_BITMAPINFOHEADER2 =(171); 853 DTYP_BIT16 =(20); 854 DTYP_BIT32 =(21); 855 DTYP_BIT8 =(19); 856 DTYP_BOOL =(18); 857 DTYP_BTNCDATA =(35); 858 DTYP_BYTE =(13); 859 DTYP_CATCHBUF =(141); 860 DTYP_CHAR =(15); 861 DTYP_CHARBUNDLE =(135); 862 DTYP_CLASSINFO =(95); 863 DTYP_COUNT2 =(93); 864 DTYP_COUNT2B =(70); 865 DTYP_COUNT2CH =(82); 866 DTYP_COUNT4 =(152); 867 DTYP_COUNT4B =(42); 868 DTYP_CPID =(57); 869 DTYP_CREATESTRUCT =(98); 870 DTYP_CURSORINFO =(34); 871 DTYP_DEVOPENSTRUC =(124); 872 DTYP_DLGTEMPLATE =(96); 873 DTYP_DLGTITEM =(97); 874 DTYP_ENTRYFDATA =(127); 875 DTYP_ERRORID =(45); 876 DTYP_FATTRS =(75); 877 DTYP_FFDESCS =(142); 878 DTYP_FIXED =(99); 879 DTYP_FONTMETRICS =(74); 880 DTYP_FRAMECDATA =(144); 881 DTYP_GRADIENTL =(48); 882 DTYP_HAB =(10); 883 DTYP_HACCEL =(30); 884 DTYP_HAPP =(146); 885 DTYP_HATOMTBL =(91); 886 DTYP_HBITMAP =(62); 887 DTYP_HCINFO =(46); 888 DTYP_HDC =(132); 889 DTYP_HENUM =(117); 890 DTYP_HHEAP =(109); 891 DTYP_HINI =(53); 892 DTYP_HLIB =(147); 893 DTYP_HMF =(85); 894 DTYP_HMQ =(86); 895 DTYP_HPOINTER =(106); 896 DTYP_HPROGRAM =(131); 897 DTYP_HPS =(12); 898 DTYP_HRGN =(116); 899 DTYP_HSEM =(140); 900 DTYP_HSPL =(32); 901 DTYP_HSWITCH =(66); 902 DTYP_HVPS =(58); 903 DTYP_HWND =(11); 904 DTYP_IDENTITY =(133); 905 DTYP_IDENTITY4 =(169); 906 DTYP_IMAGEBUNDLE =(136); 907 DTYP_INDEX2 =(81); 908 DTYP_IPT =(155); 909 DTYP_KERNINGPAIRS =(118); 910 DTYP_LENGTH2 =(68); 911 DTYP_LENGTH4 =(69); 912 DTYP_LINEBUNDLE =(137); 913 DTYP_LONG =(25); 914 DTYP_MARKERBUNDLE =(138); 915 DTYP_MATRIXLF =(113); 916 DTYP_MLECTLDATA =(161); 917 DTYP_MLEMARGSTRUCT =(157); 918 DTYP_MLEOVERFLOW =(158); 919 DTYP_OFFSET2B =(112); 920 DTYP_OWNERITEM =(154); 921 DTYP_PID =(92); 922 DTYP_PIX =(156); 923 DTYP_POINTERINFO =(105); 924 DTYP_POINTL =(77); 925 DTYP_PROGCATEGORY =(129); 926 DTYP_PROGRAMENTRY =(128); 927 DTYP_PROGTYPE =(130); 928 DTYP_PROPERTY2 =(88); 929 DTYP_PROPERTY4 =(89); 930 DTYP_QMSG =(87); 931 DTYP_RECTL =(121); 932 DTYP_RESID =(125); 933 DTYP_RGB =(111); 934 DTYP_RGNRECT =(115); 935 DTYP_SBCDATA =(159); 936 DTYP_SEGOFF =(126); 937 DTYP_SHORT =(23); 938 DTYP_SIZEF =(101); 939 DTYP_SIZEL =(102); 940 DTYP_STRL =(17); 941 DTYP_STR16 =(40); 942 DTYP_STR32 =(37); 943 DTYP_STR64 =(47); 944 DTYP_STR8 =(33); 945 DTYP_SWBLOCK =(63); 946 DTYP_SWCNTRL =(64); 947 DTYP_SWENTRY =(65); 948 DTYP_SWP =(31); 949 DTYP_TID =(104); 950 DTYP_TIME =(107); 951 DTYP_TRACKINFO =(73); 952 DTYP_UCHAR =(22); 953 DTYP_ULONG =(26); 954 DTYP_USERBUTTON =(36); 955 DTYP_USHORT =(24); 956 DTYP_WIDTH4 =(108); 957 DTYP_WNDPARAMS =(83); 958 DTYP_WNDPROC =(84); 959 DTYP_WPOINT =(59); 960 DTYP_WRECT =(55); 961 DTYP_XYWINSIZE =(52); 962 963 964 //**********************************************************************/ 965 //* Pointer datatypes */ 966 //**********************************************************************/ 967 DTYP_PACCEL =(-28); 968 DTYP_PACCELTABLE =(-29); 969 DTYP_PARCPARAMS =(-38); 970 DTYP_PAREABUNDLE =(-139); 971 DTYP_PATOM =(-90); 972 DTYP_PBITMAPINFO =(-60); 973 DTYP_PBITMAPINFOHEADER =(-61); 974 DTYP_PBITMAPINFO2 =(-170); 975 DTYP_PBITMAPINFOHEADER2=(-171); 976 DTYP_PBIT16 =(-20); 977 DTYP_PBIT32 =(-21); 978 DTYP_PBIT8 =(-19); 979 DTYP_PBOOL =(-18); 980 DTYP_PBTNCDATA =(-35); 981 DTYP_PBYTE =(-13); 982 DTYP_PCATCHBUF =(-141); 983 DTYP_PCHAR =(-15); 984 DTYP_PCHARBUNDLE =(-135); 985 DTYP_PCLASSINFO =(-95); 986 DTYP_PCOUNT2 =(-93); 987 DTYP_PCOUNT2B =(-70); 988 DTYP_PCOUNT2CH =(-82); 989 DTYP_PCOUNT4 =(-152); 990 DTYP_PCOUNT4B =(-42); 991 DTYP_PCPID =(-57); 992 DTYP_PCREATESTRUCT =(-98); 993 DTYP_PCURSORINFO =(-34); 994 DTYP_PDEVOPENSTRUC =(-124); 995 DTYP_PDLGTEMPLATE =(-96); 996 DTYP_PDLGTITEM =(-97); 997 DTYP_PENTRYFDATA =(-127); 998 DTYP_PERRORID =(-45); 999 DTYP_PFATTRS =(-75); 1000 DTYP_PFFDESCS =(-142); 1001 DTYP_PFIXED =(-99); 1002 DTYP_PFONTMETRICS =(-74); 1003 DTYP_PFRAMECDATA =(-144); 1004 DTYP_PGRADIENTL =(-48); 1005 DTYP_PHAB =(-10); 1006 DTYP_PHACCEL =(-30); 1007 DTYP_PHAPP =(-146); 1008 DTYP_PHATOMTBL =(-91); 1009 DTYP_PHBITMAP =(-62); 1010 DTYP_PHCINFO =(-46); 1011 DTYP_PHDC =(-132); 1012 DTYP_PHENUM =(-117); 1013 DTYP_PHHEAP =(-109); 1014 DTYP_PHINI =(-53); 1015 DTYP_PHLIB =(-147); 1016 DTYP_PHMF =(-85); 1017 DTYP_PHMQ =(-86); 1018 DTYP_PHPOINTER =(-106); 1019 DTYP_PHPROGRAM =(-131); 1020 DTYP_PHPS =(-12); 1021 DTYP_PHRGN =(-116); 1022 DTYP_PHSEM =(-140); 1023 DTYP_PHSPL =(-32); 1024 DTYP_PHSWITCH =(-66); 1025 DTYP_PHVPS =(-58); 1026 DTYP_PHWND =(-11); 1027 DTYP_PIDENTITY =(-133); 1028 DTYP_PIDENTITY4 =(-169); 1029 DTYP_PIMAGEBUNDLE =(-136); 1030 DTYP_PINDEX2 =(-81); 1031 DTYP_PIPT =(-155); 1032 DTYP_PKERNINGPAIRS =(-118); 1033 DTYP_PLENGTH2 =(-68); 1034 DTYP_PLENGTH4 =(-69); 1035 DTYP_PLINEBUNDLE =(-137); 1036 DTYP_PLONG =(-25); 1037 DTYP_PMARKERBUNDLE =(-138); 1038 DTYP_PMATRIXLF =(-113); 1039 DTYP_PMLECTLDATA =(-161); 1040 DTYP_PMLEMARGSTRUCT =(-157); 1041 DTYP_PMLEOVERFLOW =(-158); 1042 DTYP_POFFSET2B =(-112); 1043 DTYP_POWNERITEM =(-154); 1044 DTYP_PPID =(-92); 1045 DTYP_PPIX =(-156); 1046 DTYP_PPOINTERINFO =(-105); 1047 DTYP_PPOINTL =(-77); 1048 DTYP_PPROGCATEGORY =(-129); 1049 DTYP_PPROGRAMENTRY =(-128); 1050 DTYP_PPROGTYPE =(-130); 1051 DTYP_PPROPERTY2 =(-88); 1052 DTYP_PPROPERTY4 =(-89); 1053 DTYP_PQMSG =(-87); 1054 DTYP_PRECTL =(-121); 1055 DTYP_PRESID =(-125); 1056 DTYP_PRGB =(-111); 1057 DTYP_PRGNRECT =(-115); 1058 DTYP_PSBCDATA =(-159); 1059 DTYP_PSEGOFF =(-126); 1060 DTYP_PSHORT =(-23); 1061 DTYP_PSIZEF =(-101); 1062 DTYP_PSIZEL =(-102); 1063 DTYP_PSTRL =(-17); 1064 DTYP_PSTR16 =(-40); 1065 DTYP_PSTR32 =(-37); 1066 DTYP_PSTR64 =(-47); 1067 DTYP_PSTR8 =(-33); 1068 DTYP_PSWBLOCK =(-63); 1069 DTYP_PSWCNTRL =(-64); 1070 DTYP_PSWENTRY =(-65); 1071 DTYP_PSWP =(-31); 1072 DTYP_PTID =(-104); 1073 DTYP_PTIME =(-107); 1074 DTYP_PTRACKINFO =(-73); 1075 DTYP_PUCHAR =(-22); 1076 DTYP_PULONG =(-26); 1077 DTYP_PUSERBUTTON =(-36); 1078 DTYP_PUSHORT =(-24); 1079 DTYP_PWIDTH4 =(-108); 1080 DTYP_PWNDPARAMS =(-83); 1081 DTYP_PWNDPROC =(-84); 1082 DTYP_PWPOINT =(-59); 1083 DTYP_PWRECT =(-55); 1084 DTYP_PXYWINSIZE =(-52); 1085 1086 {$PACKRECORDS NORMAL} 1087 1088 {Names beginning with T for compatibility} 1089 type 1090 TQVERSDATA = QVERSDATA; 1091 TSWP = SWP; 1092 TCREATESTRUCT = CREATESTRUCT; 1093 TCLASSINFO = CLASSINFO; 1094 TQMSG = QMSG; 1095 TMQINFO = MQINFO; 1096 TWNDPARAMS = WNDPARAMS; 1097 TUSERBUTTON = USERBUTTON; 1098 TOWNERITEM = OWNERITEM; 1099 TPARAM = PARAM; 1100 TPRESPARAMS = PRESPARAMS; 1101 TTRACKINFO = TRACKINFO; 1102 TCURSORINFO = CURSORINFO; 1103 TPOINTERINFO = POINTERINFO; 1104 TSMHSTRUCT = SMHSTRUCT; 1105 TERRINFO = ERRINFO; 1106 TCONVCONTEXT = CONVCONTEXT; 1107 TDDEINIT = DDEINIT; 1108 TDDESTRUCT = DDESTRUCT; 1109 TDESKTOP = DESKTOP; 1110 TCMDMSG = CMDMSG; 1111 TMSEMSG = MSEMSG; 1112 TCHRMSG = CHRMSG; 1113 TDLGTITEM = DLGTITEM; 1114 TDLGTEMPLATE = DLGTEMPLATE; 1115 TBTNCDATA = BTNCDATA; 1116 TENTRYFDATA = ENTRYFDATA; 1117 TMENUITEM = MENUITEM; 1118 TSBCDATA = SBCDATA; 1119 TFRAMECDATA = FRAMECDATA; 1120 TACCEL = ACCEL; 1121 TACCELTABLE = ACCELTABLE; 1122 TMPF = MFP; 1123 TCPTEXT = CPTEXT; 1124 const 1125 WS_VISIBLE = $80000000; 1126 WS_DISABLED = $40000000; 1127 WS_CLIPCHILDREN = $20000000; 1128 WS_CLIPSIBLINGS = $10000000; 1129 WS_PARENTCLIP = $08000000; 1130 WS_SAVEBITS = $04000000; 1131 WS_SYNCPAINT = $02000000; 1132 WS_MINIMIZED = $01000000; 1133 WS_MAXIMIZED = $00800000; 1134 WS_ANIMATE = $00400000; 1135 WS_GROUP = $00010000; 1136 WS_TABSTOP = $00020000; 1137 WS_MULTISELECT = $00040000; 1138 CS_MOVENOTIFY = $00000001; 1139 CS_SIZEREDRAW = $00000004; 1140 CS_HITTEST = $00000008; 1141 CS_PUBLIC = $00000010; 1142 CS_FRAME = $00000020; 1143 CS_CLIPCHILDREN = $20000000; 1144 CS_CLIPSIBLINGS = $10000000; 1145 CS_PARENTCLIP = $08000000; 1146 CS_SAVEBITS = $04000000; 1147 CS_SYNCPAINT = $02000000; 1148 1149 HWND_DESKTOP = 1; 1150 HWND_OBJECT = 2; 1151 HWND_TOP = 3; 1152 HWND_BOTTOM = 4; 1153 HWND_THREADCAPTURE = 5; 1154 1155 PSF_LOCKWINDOWUPDATE = $0001; 1156 PSF_CLIPUPWARDS = $0002; 1157 PSF_CLIPDOWNWARDS = $0004; 1158 PSF_CLIPSIBLINGS = $0008; 1159 PSF_CLIPCHILDREN = $0010; 1160 PSF_PARENTCLIP = $0020; 1161 SW_SCROLLCHILDREN = $0001; 1162 SW_INVALIDATERGN = $0002; 1163 1164 QV_OS2 = $0000; 1165 QV_CMS = $0001; 1166 QV_TSO = $0002; 1167 QV_TSOBATCH = $0003; 1168 QV_OS400 = $0004; 1169 1170 QW_NEXT = 0; 1171 QW_PREV = 1; 1172 QW_TOP = 2; 1173 QW_BOTTOM = 3; 1174 QW_OWNER = 4; 1175 QW_PARENT = 5; 1176 QW_NEXTTOP = 6; 1177 QW_PREVTOP = 7; 1178 QW_FRAMEOWNER = 8; 1179 1180 AWP_MINIMIZED = $00010000; 1181 AWP_MAXIMIZED = $00020000; 1182 AWP_RESTORED = $00040000; 1183 AWP_ACTIVATE = $00080000; 1184 AWP_DEACTIVATE = $00100000; 1185 SWP_SIZE = $0001; 1186 SWP_MOVE = $0002; 1187 SWP_ZORDER = $0004; 1188 SWP_SHOW = $0008; 1189 SWP_HIDE = $0010; 1190 SWP_NOREDRAW = $0020; 1191 SWP_NOADJUST = $0040; 1192 SWP_ACTIVATE = $0080; 1193 SWP_DEACTIVATE = $0100; 1194 SWP_EXTSTATECHANGE = $0200; 1195 SWP_MINIMIZE = $0400; 1196 SWP_MAXIMIZE = $0800; 1197 SWP_RESTORE = $1000; 1198 SWP_FOCUSACTIVATE = $2000; 1199 SWP_FOCUSDEACTIVATE = $4000; 1200 SWP_NOAUTOCLOSE = $8000; 1201 1202 DBM_NORMAL = $0000; 1203 DBM_INVERT = $0001; 1204 DBM_HALFTONE = $0002; 1205 DBM_STRETCH = $0004; 1206 DBM_IMAGEATTRS = $0008; 1207 1208 DT_LEFT = $0000; 1209 DT_QUERYEXTENT = $0002; 1210 DT_UNDERSCORE = $0010; 1211 DT_STRIKEOUT = $0020; 1212 DT_TEXTATTRS = $0040; 1213 DT_EXTERNALLEADING = $0080; 1214 DT_CENTER = $0100; 1215 DT_RIGHT = $0200; 1216 DT_TOP = $0000; 1217 DT_VCENTER = $0400; 1218 DT_BOTTOM = $0800; 1219 DT_HALFTONE = $1000; 1220 DT_MNEMONIC = $2000; 1221 DT_WORDBREAK = $4000; 1222 DT_ERASERECT = $8000; 1223 1224 DB_PATCOPY = $0000; 1225 DB_PATINVERT = $0001; 1226 DB_DESTINVERT = $0002; 1227 DB_AREAMIXMODE = $0003; 1228 DB_ROP = $0007; 1229 DB_INTERIOR = $0008; 1230 DB_AREAATTRS = $0010; 1231 DB_STANDARD = $0100; 1232 DB_DLGBORDER = $0200; 1233 1234 QWS_USER = 0; 1235 QWS_ID = -1; 1236 QWS_MIN = -1; 1237 QWL_USER = 0; 1238 QWL_STYLE = -2; 1239 QWP_PFNWP = -3; 1240 QWL_HMQ = -4; 1241 QWL_RESERVED = -5; 1242 QWL_MIN = -6; 1243 QWL_HHEAP = $0004; 1244 QWL_HWNDFOCUSSAVE = $0018; 1245 QWL_DEFBUTTON = $0040; 1246 QWL_PSSCBLK = $0048; 1247 QWL_PFEPBLK = $004c; 1248 QWL_PSTATBLK = $0050; 1249 QWS_FLAGS = $0008; 1250 QWS_RESULT = $000a; 1251 QWS_XRESTORE = $000c; 1252 QWS_YRESTORE = $000e; 1253 QWS_CXRESTORE = $0010; 1254 QWS_CYRESTORE = $0012; 1255 QWS_XMINIMIZE = $0014; 1256 QWS_YMINIMIZE = $0016; 1257 1258 WM_NULL = $0000; 1259 WM_CREATE = $0001; 1260 WM_DESTROY = $0002; 1261 WM_ENABLE = $0004; 1262 WM_SHOW = $0005; 1263 WM_MOVE = $0006; 1264 WM_SIZE = $0007; 1265 WM_ADJUSTWINDOWPOS = $0008; 1266 WM_CALCVALIDRECTS = $0009; 1267 WM_SETWINDOWPARAMS = $000a; 1268 WM_QUERYWINDOWPARAMS = $000b; 1269 WM_HITTEST = $000c; 1270 WM_ACTIVATE = $000d; 1271 WM_SETFOCUS = $000f; 1272 WM_SETSELECTION = $0010; 1273 WM_PPAINT = $0011; 1274 WM_PSETFOCUS = $0012; 1275 WM_PSYSCOLORCHANGE = $0013; 1276 WM_PSIZE = $0014; 1277 WM_PACTIVATE = $0015; 1278 WM_PCONTROL = $0016; 1279 WM_COMMAND = $0020; 1280 WM_SYSCOMMAND = $0021; 1281 WM_HELP = $0022; 1282 WM_PAINT = $0023; 1283 WM_TIMER = $0024; 1284 WM_SEM1 = $0025; 1285 WM_SEM2 = $0026; 1286 WM_SEM3 = $0027; 1287 WM_SEM4 = $0028; 1288 WM_CLOSE = $0029; 1289 WM_QUIT = $002a; 1290 WM_SYSCOLORCHANGE = $002b; 1291 WM_SYSVALUECHANGED = $002d; 1292 WM_APPTERMINATENOTIFY = $002e; 1293 WM_PRESPARAMCHANGED = $002f; 1294 WM_CONTROL = $0030; 1295 WM_VSCROLL = $0031; 1296 WM_HSCROLL = $0032; 1297 WM_INITMENU = $0033; 1298 WM_MENUSELECT = $0034; 1299 WM_MENUEND = $0035; 1300 WM_DRAWITEM = $0036; 1301 WM_MEASUREITEM = $0037; 1302 WM_CONTROLPOINTER = $0038; 1303 WM_QUERYDLGCODE = $003a; 1304 WM_INITDLG = $003b; 1305 WM_SUBSTITUTESTRING = $003c; 1306 WM_MATCHMNEMONIC = $003d; 1307 WM_SAVEAPPLICATION = $003e; 1308 WM_HELPBASE = $0F00; 1309 WM_HELPTOP = $0FFF; 1310 WM_USER = $1000; 1311 CMDSRC_PUSHBUTTON = 1; 1312 CMDSRC_MENU = 2; 1313 CMDSRC_ACCELERATOR = 3; 1314 CMDSRC_FONTDLG = 4; 1315 CMDSRC_FILEDLG = 5; 1316 CMDSRC_PRINTDLG = 6; 1317 CMDSRC_COLORDLG = 7; 1318 CMDSRC_OTHER = 0; 1319 1320 PM_REMOVE = $0001; 1321 PM_NOREMOVE = $0000; 1322 RUM_IN = 1; 1323 RUM_OUT = 2; 1324 RUM_INOUT = 3; 1325 SMD_DELAYED = $0001; 1326 SMD_IMMEDIATE = $0002; 1327 SSM_SYNCHRONOUS = $0001; 1328 SSM_ASYNCHRONOUS = $0002; 1329 SSM_MIXED = $0003; 1330 CVR_ALIGNLEFT = $0001; 1331 CVR_ALIGNBOTTOM = $0002; 1332 CVR_ALIGNRIGHT = $0004; 1333 CVR_ALIGNTOP = $0008; 1334 CVR_REDRAW = $0010; 1335 HT_NORMAL = 0; 1336 HT_TRANSPARENT = (-1); 1337 HT_DISCARD = (-2); 1338 HT_ERROR = (-3); 1339 1340 WPM_TEXT = $0001; 1341 WPM_CTLDATA = $0002; 1342 WPM_PRESPARAMS = $0004; 1343 WPM_CCHTEXT = $0008; 1344 WPM_CBCTLDATA = $0010; 1345 WPM_CBPRESPARAMS = $0020; 1346 1347 BMSG_POST = $0000; 1348 BMSG_SEND = $0001; 1349 BMSG_POSTQUEUE = $0002; 1350 BMSG_DESCENDANTS = $0004; 1351 BMSG_FRAMEONLY = $0008; 1352 1353 QS_KEY = $0001; 1354 QS_MOUSEBUTTON = $0002; 1355 QS_MOUSEMOVE = $0004; 1356 QS_MOUSE = $0006; 1357 QS_TIMER = $0008; 1358 QS_PAINT = $0010; 1359 QS_POSTMSG = $0020; 1360 QS_SEM1 = $0040; 1361 QS_SEM2 = $0080; 1362 QS_SEM3 = $0100; 1363 QS_SEM4 = $0200; 1364 QS_SENDMSG = $0400; 1365 1366 SMIM_ALL = $0EFF; 1367 SMI_NOINTEREST = $0001; 1368 SMI_INTEREST = $0002; 1369 SMI_RESET = $0004; 1370 SMI_AUTODISPATCH = $0008; 1371 1372 FC_NOSETFOCUS = $0001; 1373 FC_NOBRINGTOTOP = FC_NOSETFOCUS; 1374 FC_NOLOSEFOCUS = $0002; 1375 FC_NOBRINGTOPFIRSTWINDOW = FC_NOLOSEFOCUS; 1376 FC_NOSETACTIVE = $0004; 1377 FC_NOLOSEACTIVE = $0008; 1378 FC_NOSETSELECTION = $0010; 1379 FC_NOLOSESELECTION = $0020; 1380 QFC_NEXTINCHAIN = $0001; 1381 QFC_ACTIVE = $0002; 1382 QFC_FRAME = $0003; 1383 QFC_SELECTACTIVE = $0004; 1384 QFC_PARTOFCHAIN = $0005; 1385 1386 WM_MOUSEFIRST = $0070; 1387 WM_MOUSELAST = $0079; 1388 WM_BUTTONCLICKFIRST = $0071; 1389 WM_BUTTONCLICKLAST = $0079; 1390 WM_MOUSEMOVE = $0070; 1391 WM_BUTTON1DOWN = $0071; 1392 WM_BUTTON1UP = $0072; 1393 WM_BUTTON1DBLCLK = $0073; 1394 WM_BUTTON2DOWN = $0074; 1395 WM_BUTTON2UP = $0075; 1396 WM_BUTTON2DBLCLK = $0076; 1397 WM_BUTTON3DOWN = $0077; 1398 WM_BUTTON3UP = $0078; 1399 WM_BUTTON3DBLCLK = $0079; 1400 WM_EXTMOUSEFIRST = $0410; 1401 WM_EXTMOUSELAST = $0419; 1402 WM_CHORD = $0410; 1403 WM_BUTTON1MOTIONSTART = $0411; 1404 WM_BUTTON1MOTIONEND = $0412; 1405 WM_BUTTON1CLICK = $0413; 1406 WM_BUTTON2MOTIONSTART = $0414; 1407 WM_BUTTON2MOTIONEND = $0415; 1408 WM_BUTTON2CLICK = $0416; 1409 WM_BUTTON3MOTIONSTART = $0417; 1410 WM_BUTTON3MOTIONEND = $0418; 1411 WM_BUTTON3CLICK = $0419; 1412 WM_MOUSETRANSLATEFIRST = $0420; 1413 WM_MOUSETRANSLATELAST = $0428; 1414 WM_BEGINDRAG = $0420; 1415 WM_ENDDRAG = $0421; 1416 WM_SINGLESELECT = $0422; 1417 WM_OPEN = $0423; 1418 WM_CONTEXTMENU = $0424; 1419 WM_CONTEXTHELP = $0425; 1420 WM_TEXTEDIT = $0426; 1421 WM_BEGINSELECT = $0427; 1422 WM_ENDSELECT = $0428; 1423 1424 WM_CHAR = $007a; 1425 WM_VIOCHAR = $007b; 1426 KC_NONE = $0000; 1427 KC_CHAR = $0001; 1428 KC_VIRTUALKEY = $0002; 1429 KC_SCANCODE = $0004; 1430 KC_SHIFT = $0008; 1431 KC_CTRL = $0010; 1432 KC_ALT = $0020; 1433 KC_KEYUP = $0040; 1434 KC_PREVDOWN = $0080; 1435 KC_LONEKEY = $0100; 1436 KC_DEADKEY = $0200; 1437 KC_COMPOSITE = $0400; 1438 KC_INVALIDCOMP = $0800; 1439 KC_TOGGLE = $1000; 1440 KC_INVALIDCHAR = $2000; 1441 KC_DBCSRSRVD1 = $4000; 1442 KC_DBCSRSRVD2 = $8000; 1443 1444 INP_NONE = $0000; 1445 INP_KBD = $0001; 1446 INP_MULT = $0002; 1447 INP_RES2 = $0004; 1448 INP_SHIFT = $0008; 1449 INP_CTRL = $0010; 1450 INP_ALT = $0020; 1451 INP_RES3 = $0040; 1452 INP_RES4 = $0080; 1453 INP_IGNORE = $FFFF; 1454 VK_BUTTON1 = $01; 1455 VK_BUTTON2 = $02; 1456 VK_BUTTON3 = $03; 1457 VK_BREAK = $04; 1458 VK_BACKSPACE = $05; 1459 VK_TAB = $06; 1460 VK_BACKTAB = $07; 1461 VK_NEWLINE = $08; 1462 VK_SHIFT = $09; 1463 VK_CTRL = $0A; 1464 VK_ALT = $0B; 1465 VK_ALTGRAF = $0C; 1466 VK_PAUSE = $0D; 1467 VK_CAPSLOCK = $0E; 1468 VK_ESC = $0F; 1469 VK_SPACE = $10; 1470 VK_PAGEUP = $11; 1471 VK_PAGEDOWN = $12; 1472 VK_END = $13; 1473 VK_HOME = $14; 1474 VK_LEFT = $15; 1475 VK_UP = $16; 1476 VK_RIGHT = $17; 1477 VK_DOWN = $18; 1478 VK_PRINTSCRN = $19; 1479 VK_INSERT = $1A; 1480 VK_DELETE = $1B; 1481 VK_SCRLLOCK = $1C; 1482 VK_NUMLOCK = $1D; 1483 VK_ENTER = $1E; 1484 VK_SYSRQ = $1F; 1485 VK_F1 = $20; 1486 VK_F2 = $21; 1487 VK_F3 = $22; 1488 VK_F4 = $23; 1489 VK_F5 = $24; 1490 VK_F6 = $25; 1491 VK_F7 = $26; 1492 VK_F8 = $27; 1493 VK_F9 = $28; 1494 VK_F10 = $29; 1495 VK_F11 = $2A; 1496 VK_F12 = $2B; 1497 VK_F13 = $2C; 1498 VK_F14 = $2D; 1499 VK_F15 = $2E; 1500 VK_F16 = $2F; 1501 VK_F17 = $30; 1502 VK_F18 = $31; 1503 VK_F19 = $32; 1504 VK_F20 = $33; 1505 VK_F21 = $34; 1506 VK_F22 = $35; 1507 VK_F23 = $36; 1508 VK_F24 = $37; 1509 VK_ENDDRAG = $38; 1510 VK_MENU = VK_F10; 1511 VK_DBCSFIRST = $0080; 1512 VK_DBCSLAST = $00ff; 1513 VK_USERFIRST = $0100; 1514 VK_USERLAST = $01ff; 1515 1516 WM_JOURNALNOTIFY = $007c; 1517 JRN_QUEUESTATUS = $00000001; 1518 JRN_PHYSKEYSTATE = $00000002; 1519 1520 DID_OK = 1; 1521 DID_CANCEL = 2; 1522 DID_ERROR = $ffff; 1523 1524 WA_WARNING = 0; 1525 WA_NOTE = 1; 1526 WA_ERROR = 2; 1527 WA_CWINALARMS = 3; 1528 1529 MB_OK = $0000; 1530 MB_OKCANCEL = $0001; 1531 MB_RETRYCANCEL = $0002; 1532 MB_ABORTRETRYIGNORE = $0003; 1533 MB_YESNO = $0004; 1534 MB_YESNOCANCEL = $0005; 1535 MB_CANCEL = $0006; 1536 MB_ENTER = $0007; 1537 MB_ENTERCANCEL = $0008; 1538 MB_NOICON = $0000; 1539 MB_CUANOTIFICATION = $0000; 1540 MB_ICONQUESTION = $0010; 1541 MB_ICONEXCLAMATION = $0020; 1542 MB_CUAWARNING = $0020; 1543 MB_ICONASTERISK = $0030; 1544 MB_ICONHAND = $0040; 1545 MB_CUACRITICAL = $0040; 1546 MB_QUERY = MB_ICONQUESTION; 1547 MB_WARNING = MB_CUAWARNING; 1548 MB_INFORMATION = MB_ICONASTERISK; 1549 MB_CRITICAL = MB_CUACRITICAL; 1550 MB_ERROR = MB_CRITICAL; 1551 MB_DEFBUTTON1 = $0000; 1552 MB_DEFBUTTON2 = $0100; 1553 MB_DEFBUTTON3 = $0200; 1554 MB_APPLMODAL = $0000; 1555 MB_SYSTEMMODAL = $1000; 1556 MB_HELP = $2000; 1557 MB_MOVEABLE = $4000; 1558 MBID_OK = 1; 1559 MBID_CANCEL = 2; 1560 MBID_ABORT = 3; 1561 MBID_RETRY = 4; 1562 MBID_IGNORE = 5; 1563 MBID_YES = 6; 1564 MBID_NO = 7; 1565 MBID_HELP = 8; 1566 MBID_ENTER = 9; 1567 MBID_ERROR = $ffff; 1568 DLGC_ENTRYFIELD = $0001; 1569 DLGC_BUTTON = $0002; 1570 DLGC_RADIOBUTTON = $0004; 1571 DLGC_STATIC = $0008; 1572 DLGC_DEFAULT = $0010; 1573 DLGC_PUSHBUTTON = $0020; 1574 DLGC_CHECKBOX = $0040; 1575 DLGC_SCROLLBAR = $0080; 1576 DLGC_MENU = $0100; 1577 DLGC_TABONCLICK = $0200; 1578 DLGC_MLE = $0400; 1579 1580 EDI_FIRSTTABITEM = 0; 1581 EDI_LASTTABITEM = 1; 1582 EDI_NEXTTABITEM = 2; 1583 EDI_PREVTABITEM = 3; 1584 EDI_FIRSTGROUPITEM = 4; 1585 EDI_LASTGROUPITEM = 5; 1586 EDI_NEXTGROUPITEM = 6; 1587 EDI_PREVGROUPITEM = 7; 1588 1589 SS_TEXT = $0001; 1590 SS_GROUPBOX = $0002; 1591 SS_ICON = $0003; 1592 SS_BITMAP = $0004; 1593 SS_FGNDRECT = $0005; 1594 SS_HALFTONERECT = $0006; 1595 SS_BKGNDRECT = $0007; 1596 SS_FGNDFRAME = $0008; 1597 SS_HALFTONEFRAME = $0009; 1598 SS_BKGNDFRAME = $000a; 1599 SS_SYSICON = $000b; 1600 SS_AUTOSIZE = $0040; 1601 SM_SETHANDLE = $0100; 1602 SM_QUERYHANDLE = $0101; 1603 BS_PUSHBUTTON = 0; 1604 BS_CHECKBOX = 1; 1605 BS_AUTOCHECKBOX = 2; 1606 BS_RADIOBUTTON = 3; 1607 BS_AUTORADIOBUTTON = 4; 1608 BS_3STATE = 5; 1609 BS_AUTO3STATE = 6; 1610 BS_USERBUTTON = 7; 1611 BS_PRIMARYSTYLES = $000f; 1612 BS_BITMAP = $0040; 1613 BS_ICON = $0080; 1614 BS_HELP = $0100; 1615 BS_SYSCOMMAND = $0200; 1616 BS_DEFAULT = $0400; 1617 BS_NOPOINTERFOCUS = $0800; 1618 BS_NOBORDER = $1000; 1619 BS_NOCURSORSELECT = $2000; 1620 BS_AUTOSIZE = $4000; 1621 1622 BM_CLICK = $0120; 1623 BM_QUERYCHECKINDEX = $0121; 1624 BM_QUERYHILITE = $0122; 1625 BM_SETHILITE = $0123; 1626 BM_QUERYCHECK = $0124; 1627 BM_SETCHECK = $0125; 1628 BM_SETDEFAULT = $0126; 1629 BN_CLICKED = 1; 1630 BN_DBLCLICKED = 2; 1631 BN_PAINT = 3; 1632 BDS_HILITED = $0100; 1633 BDS_DISABLED = $0200; 1634 BDS_DEFAULT = $0400; 1635 ES_LEFT = $00000000; 1636 ES_CENTER = $00000001; 1637 ES_RIGHT = $00000002; 1638 ES_AUTOSCROLL = $00000004; 1639 ES_MARGIN = $00000008; 1640 ES_AUTOTAB = $00000010; 1641 ES_READONLY = $00000020; 1642 ES_COMMAND = $00000040; 1643 ES_UNREADABLE = $00000080; 1644 ES_AUTOSIZE = $00000200; 1645 ES_ANY = $00000000; 1646 ES_SBCS = $00001000; 1647 ES_DBCS = $00002000; 1648 ES_MIXED = $00003000; 1649 CBS_SIMPLE = $0001; 1650 CBS_DROPDOWN = $0002; 1651 CBS_DROPDOWNLIST = $0004; 1652 CBS_COMPATIBLE = $0008; 1653 CBID_LIST = $029A; 1654 CBID_EDIT = $029B; 1655 CBM_SHOWLIST = $0170; 1656 CBM_HILITE = $0171; 1657 CBM_ISLISTSHOWING = $0172; 1658 CBN_EFCHANGE = 1; 1659 CBN_EFSCROLL = 2; 1660 CBN_MEMERROR = 3; 1661 CBN_LBSELECT = 4; 1662 CBN_LBSCROLL = 5; 1663 CBN_SHOWLIST = 6; 1664 CBN_ENTER = 7; 1665 1666 EM_QUERYCHANGED = $0140; 1667 EM_QUERYSEL = $0141; 1668 EM_SETSEL = $0142; 1669 EM_SETTEXTLIMIT = $0143; 1670 EM_CUT = $0144; 1671 EM_COPY = $0145; 1672 EM_CLEAR = $0146; 1673 EM_PASTE = $0147; 1674 EM_QUERYFIRSTCHAR = $0148; 1675 EM_SETFIRSTCHAR = $0149; 1676 EM_QUERYREADONLY = $014a; 1677 EM_SETREADONLY = $014b; 1678 EM_SETINSERTMODE = $014c; 1679 EN_SETFOCUS = $0001; 1680 EN_KILLFOCUS = $0002; 1681 EN_CHANGE = $0004; 1682 EN_SCROLL = $0008; 1683 EN_MEMERROR = $0010; 1684 EN_OVERFLOW = $0020; 1685 EN_INSERTMODETOGGLE = $0040; 1686 LS_MULTIPLESEL = $00000001; 1687 LS_OWNERDRAW = $00000002; 1688 LS_NOADJUSTPOS = $00000004; 1689 LS_HORZSCROLL = $00000008; 1690 LS_EXTENDEDSEL = $00000010; 1691 LN_SELECT = 1; 1692 LN_SETFOCUS = 2; 1693 LN_KILLFOCUS = 3; 1694 LN_SCROLL = 4; 1695 LN_ENTER = 5; 1696 LM_QUERYITEMCOUNT = $0160; 1697 LM_INSERTITEM = $0161; 1698 LM_SETTOPINDEX = $0162; 1699 LM_DELETEITEM = $0163; 1700 LM_SELECTITEM = $0164; 1701 LM_QUERYSELECTION = $0165; 1702 LM_SETITEMTEXT = $0166; 1703 LM_QUERYITEMTEXTLENGTH = $0167; 1704 LM_QUERYITEMTEXT = $0168; 1705 LM_SETITEMHANDLE = $0169; 1706 LM_QUERYITEMHANDLE = $016a; 1707 LM_SEARCHSTRING = $016b; 1708 LM_SETITEMHEIGHT = $016c; 1709 LM_QUERYTOPINDEX = $016d; 1710 LM_DELETEALL = $016e; 1711 LIT_CURSOR = (-4); 1712 LIT_ERROR = (-3); 1713 LIT_MEMERROR = (-2); 1714 LIT_NONE = (-1); 1715 LIT_FIRST = (-1); 1716 LIT_END = (-1); 1717 LIT_SORTASCENDING = (-2); 1718 LIT_SORTDESCENDING = (-3); 1719 LSS_SUBSTRING = $0001; 1720 LSS_PREFIX = $0002; 1721 LSS_CASESENSITIVE = $0004; 1722 MS_ACTIONBAR = $00000001; 1723 MS_TITLEBUTTON = $00000002; 1724 MS_VERTICALFLIP = $00000004; 1725 MS_CONDITIONALCASCADE = $00000040; 1726 1727 // Menu control messages 1728 MM_INSERTITEM = $0180; 1729 MM_DELETEITEM = $0181; 1730 MM_QUERYITEM = $0182; 1731 MM_SETITEM = $0183; 1732 MM_QUERYITEMCOUNT = $0184; 1733 MM_STARTMENUMODE = $0185; 1734 MM_ENDMENUMODE = $0186; 1735 MM_REMOVEITEM = $0188; 1736 MM_SELECTITEM = $0189; 1737 MM_QUERYSELITEMID = $018a; 1738 MM_QUERYITEMTEXT = $018b; 1739 MM_QUERYITEMTEXTLENGTH = $018c; 1740 MM_SETITEMHANDLE = $018d; 1741 MM_SETITEMTEXT = $018e; 1742 MM_ITEMPOSITIONFROMID = $018f; 1743 MM_ITEMIDFROMPOSITION = $0190; 1744 MM_QUERYITEMATTR = $0191; 1745 MM_SETITEMATTR = $0192; 1746 MM_ISITEMVALID = $0193; 1747 MM_QUERYITEMRECT = $0194; 1748 MM_DELETEITEMBYPOS = $01f1; //UNDOCUMENTED 1749 MM_QUERYDEFAULTITEMID = $0431; 1750 MM_SETDEFAULTITEMID = $0432; 1751 1752 MIT_END = (-1); 1753 MIT_NONE = (-1); 1754 MIT_MEMERROR = (-1); 1755 MIT_ERROR = (-1); 1756 MIT_FIRST = (-2); 1757 MIT_LAST = (-3); 1758 MID_NONE = MIT_NONE; 1759 MID_ERROR = (-1); 1760 MIS_TEXT = $0001; 1761 MIS_BITMAP = $0002; 1762 MIS_SEPARATOR = $0004; 1763 MIS_OWNERDRAW = $0008; 1764 MIS_SUBMENU = $0010; 1765 MIS_MULTMENU = $0020; 1766 MIS_SYSCOMMAND = $0040; 1767 MIS_HELP = $0080; 1768 MIS_STATIC = $0100; 1769 MIS_BUTTONSEPARATOR = $0200; 1770 MIS_BREAK = $0400; 1771 MIS_BREAKSEPARATOR = $0800; 1772 MIS_GROUP = $1000; 1773 MIS_SINGLE = $2000; 1774 MIA_NODISMISS = $0020; 1775 MIA_FRAMED = $1000; 1776 MIA_CHECKED = $2000; 1777 MIA_DISABLED = $4000; 1778 MIA_HILITED = $8000; 1779 1780 PU_POSITIONONITEM = $0001; 1781 PU_HCONSTRAIN = $0002; 1782 PU_VCONSTRAIN = $0004; 1783 PU_NONE = $0000; 1784 PU_MOUSEBUTTON1DOWN = $0008; 1785 PU_MOUSEBUTTON2DOWN = $0010; 1786 PU_MOUSEBUTTON3DOWN = $0018; 1787 PU_SELECTITEM = $0020; 1788 PU_MOUSEBUTTON1 = $0040; 1789 PU_MOUSEBUTTON2 = $0080; 1790 PU_MOUSEBUTTON3 = $0100; 1791 PU_KEYBOARD = $0200; 1792 SBS_HORZ = 0; 1793 SBS_VERT = 1; 1794 SBS_THUMBSIZE = 2; 1795 SBS_AUTOTRACK = 4; 1796 SBS_AUTOSIZE = $2000; 1797 SBM_SETSCROLLBAR = $01a0; 1798 SBM_SETPOS = $01a1; 1799 SBM_QUERYPOS = $01a2; 1800 SBM_QUERYRANGE = $01a3; 1801 SBM_SETTHUMBSIZE = $01a6; 1802 SB_LINEUP = 1; 1803 SB_LINEDOWN = 2; 1804 SB_LINELEFT = 1; 1805 SB_LINERIGHT = 2; 1806 SB_PAGEUP = 3; 1807 SB_PAGEDOWN = 4; 1808 SB_PAGELEFT = 3; 1809 SB_PAGERIGHT = 4; 1810 SB_SLIDERTRACK = 5; 1811 SB_SLIDERPOSITION = 6; 1812 SB_ENDSCROLL = 7; 1813 1814 FCF_TITLEBAR = $00000001; 1815 FCF_SYSMENU = $00000002; 1816 FCF_MENU = $00000004; 1817 FCF_SIZEBORDER = $00000008; 1818 FCF_MINBUTTON = $00000010; 1819 FCF_MAXBUTTON = $00000020; 1820 FCF_MINMAX = $00000030; 1821 FCF_VERTSCROLL = $00000040; 1822 FCF_HORZSCROLL = $00000080; 1823 FCF_DLGBORDER = $00000100; 1824 FCF_BORDER = $00000200; 1825 FCF_SHELLPOSITION = $00000400; 1826 FCF_TASKLIST = $00000800; 1827 FCF_NOBYTEALIGN = $00001000; 1828 FCF_NOMOVEWITHOWNER = $00002000; 1829 FCF_ICON = $00004000; 1830 FCF_ACCELTABLE = $00008000; 1831 FCF_SYSMODAL = $00010000; 1832 FCF_SCREENALIGN = $00020000; 1833 FCF_MOUSEALIGN = $00040000; 1834 FCF_HIDEBUTTON = $01000000; 1835 FCF_HIDEMAX = $01000020; 1836 FCF_DBE_APPSTAT = $80000000; 1837 FCF_AUTOICON = $40000000; 1838 FCF_STANDARD = $0000CC3F; 1839 FS_ICON = $00000001; 1840 FS_ACCELTABLE = $00000002; 1841 FS_SHELLPOSITION = $00000004; 1842 FS_TASKLIST = $00000008; 1843 FS_NOBYTEALIGN = $00000010; 1844 FS_NOMOVEWITHOWNER = $00000020; 1845 FS_SYSMODAL = $00000040; 1846 FS_DLGBORDER = $00000080; 1847 FS_BORDER = $00000100; 1848 FS_SCREENALIGN = $00000200; 1849 FS_MOUSEALIGN = $00000400; 1850 FS_SIZEBORDER = $00000800; 1851 FS_AUTOICON = $00001000; 1852 FS_DBE_APPSTAT = $00008000; 1853 FS_STANDARD = $0000000F; 1854 FF_FLASHWINDOW = $0001; 1855 FF_ACTIVE = $0002; 1856 FF_FLASHHILITE = $0004; 1857 FF_OWNERHIDDEN = $0008; 1858 FF_DLGDISMISSED = $0010; 1859 FF_OWNERDISABLED = $0020; 1860 FF_SELECTED = $0040; 1861 FF_NOACTIVATESWP = $0080; 1862 1863 WM_FLASHWINDOW = $0040; 1864 WM_FORMATFRAME = $0041; 1865 WM_UPDATEFRAME = $0042; 1866 WM_FOCUSCHANGE = $0043; 1867 WM_SETBORDERSIZE = $0044; 1868 WM_TRACKFRAME = $0045; 1869 WM_MINMAXFRAME = $0046; 1870 WM_SETICON = $0047; 1871 WM_QUERYICON = $0048; 1872 WM_SETACCELTABLE = $0049; 1873 WM_QUERYACCELTABLE = $004a; 1874 WM_TRANSLATEACCEL = $004b; 1875 WM_QUERYTRACKINFO = $004c; 1876 WM_QUERYBORDERSIZE = $004d; 1877 WM_NEXTMENU = $004e; 1878 WM_ERASEBACKGROUND = $004f; 1879 WM_QUERYFRAMEINFO = $0050; 1880 WM_QUERYFOCUSCHAIN = $0051; 1881 WM_OWNERPOSCHANGE = $0052; 1882 WM_CALCFRAMERECT = $0053; 1883 WM_WINDOWPOSCHANGED = $0055; 1884 WM_ADJUSTFRAMEPOS = $0056; 1885 WM_QUERYFRAMECTLCOUNT = $0059; 1886 WM_QUERYHELPINFO = $005B; 1887 WM_SETHELPINFO = $005C; 1888 WM_ERROR = $005D; 1889 WM_REALIZEPALETTE = $005E; 1890 FI_FRAME = $00000001; 1891 FI_OWNERHIDE = $00000002; 1892 FI_ACTIVATEOK = $00000004; 1893 FI_NOMOVEWITHOWNER = $00000008; 1894 1895 FID_SYSMENU = $8002; 1896 FID_TITLEBAR = $8003; 1897 FID_MINMAX = $8004; 1898 FID_MENU = $8005; 1899 FID_VERTSCROLL = $8006; 1900 FID_HORZSCROLL = $8007; 1901 FID_CLIENT = $8008; 1902 FID_DBE_APPSTAT = $8010; 1903 FID_DBE_KBDSTAT = $8011; 1904 FID_DBE_PECIC = $8012; 1905 FID_DBE_KKPOPUP = $8013; 1906 SC_SIZE = $8000; 1907 SC_MOVE = $8001; 1908 SC_MINIMIZE = $8002; 1909 SC_MAXIMIZE = $8003; 1910 SC_CLOSE = $8004; 1911 SC_NEXT = $8005; 1912 SC_APPMENU = $8006; 1913 SC_SYSMENU = $8007; 1914 SC_RESTORE = $8008; 1915 SC_NEXTFRAME = $8009; 1916 SC_NEXTWINDOW = $8010; 1917 SC_TASKMANAGER = $8011; 1918 SC_HELPKEYS = $8012; 1919 SC_HELPINDEX = $8013; 1920 SC_HELPEXTENDED = $8014; 1921 SC_SWITCHPANELIDS = $8015; 1922 SC_DBE_FIRST = $8018; 1923 SC_DBE_LAST = $801F; 1924 SC_BEGINDRAG = $8020; 1925 SC_ENDDRAG = $8021; 1926 SC_SELECT = $8022; 1927 SC_OPEN = $8023; 1928 SC_CONTEXTMENU = $8024; 1929 SC_CONTEXTHELP = $8025; 1930 SC_TEXTEDIT = $8026; 1931 SC_BEGINSELECT = $8027; 1932 SC_ENDSELECT = $8028; 1933 SC_WINDOW = $8029; 1934 SC_HIDE = $802a; 1935 TBM_SETHILITE = $01e3; 1936 TBM_QUERYHILITE = $01e4; 1937 1938 SV_SWAPBUTTON = 0; 1939 SV_DBLCLKTIME = 1; 1940 SV_CXDBLCLK = 2; 1941 SV_CYDBLCLK = 3; 1942 SV_CXSIZEBORDER = 4; 1943 SV_CYSIZEBORDER = 5; 1944 SV_ALARM = 6; 1945 SV_RESERVEDFIRST1 = 7; 1946 SV_RESERVEDLAST1 = 8; 1947 SV_CURSORRATE = 9; 1948 SV_FIRSTSCROLLRATE = 10; 1949 SV_SCROLLRATE = 11; 1950 SV_NUMBEREDLISTS = 12; 1951 SV_WARNINGFREQ = 13; 1952 SV_NOTEFREQ = 14; 1953 SV_ERRORFREQ = 15; 1954 SV_WARNINGDURATION = 16; 1955 SV_NOTEDURATION = 17; 1956 SV_ERRORDURATION = 18; 1957 SV_RESERVEDFIRST = 19; 1958 SV_RESERVEDLAST = 19; 1959 SV_CXSCREEN = 20; 1960 SV_CYSCREEN = 21; 1961 SV_CXVSCROLL = 22; 1962 SV_CYHSCROLL = 23; 1963 SV_CYVSCROLLARROW = 24; 1964 SV_CXHSCROLLARROW = 25; 1965 SV_CXBORDER = 26; 1966 SV_CYBORDER = 27; 1967 SV_CXDLGFRAME = 28; 1968 SV_CYDLGFRAME = 29; 1969 SV_CYTITLEBAR = 30; 1970 SV_CYVSLIDER = 31; 1971 SV_CXHSLIDER = 32; 1972 SV_CXMINMAXBUTTON = 33; 1973 SV_CYMINMAXBUTTON = 34; 1974 SV_CYMENU = 35; 1975 SV_CXFULLSCREEN = 36; 1976 SV_CYFULLSCREEN = 37; 1977 SV_CXICON = 38; 1978 SV_CYICON = 39; 1979 SV_CXPOINTER = 40; 1980 SV_CYPOINTER = 41; 1981 SV_DEBUG = 42; 1982 SV_CMOUSEBUTTONS = 43; 1983 SV_CPOINTERBUTTONS = 43; 1984 SV_POINTERLEVEL = 44; 1985 SV_CURSORLEVEL = 45; 1986 SV_TRACKRectlEVEL = 46; 1987 SV_CTIMERS = 47; 1988 SV_MOUSEPRESENT = 48; 1989 SV_CXBYTEALIGN = 49; 1990 SV_CXALIGN = 49; 1991 SV_CYBYTEALIGN = 50; 1992 SV_CYALIGN = 50; 1993 SV_NOTRESERVED = 56; 1994 SV_EXTRAKEYBEEP = 57; 1995 SV_SETLIGHTS = 58; 1996 SV_INSERTMODE = 59; 1997 SV_MENUROLLDOWNDELAY = 64; 1998 SV_MENUROLLUPDELAY = 65; 1999 SV_ALTMNEMONIC = 66; 2000 SV_TASKLISTMOUSEACCESS = 67; 2001 SV_CXICONTEXTWIDTH = 68; 2002 SV_CICONTEXTLINES = 69; 2003 SV_CHORDTIME = 70; 2004 SV_CXCHORD = 71; 2005 SV_CYCHORD = 72; 2006 SV_CXMOTION = 73; 2007 SV_CYMOTION = 74; 2008 SV_BEGINDRAG = 75; 2009 SV_ENDDRAG = 76; 2010 SV_SINGLESELECT = 77; 2011 SV_OPEN = 78; 2012 SV_CONTEXTMENU = 79; 2013 SV_CONTEXTHELP = 80; 2014 SV_TEXTEDIT = 81; 2015 SV_BEGINSELECT = 82; 2016 SV_ENDSELECT = 83; 2017 SV_BEGINDRAGKB = 84; 2018 SV_ENDDRAGKB = 85; 2019 SV_SELECTKB = 86; 2020 SV_OPENKB = 87; 2021 SV_CONTEXTMENUKB = 88; 2022 SV_CONTEXTHELPKB = 89; 2023 SV_TEXTEDITKB = 90; 2024 SV_BEGINSELECTKB = 91; 2025 SV_ENDSELECTKB = 92; 2026 SV_ANIMATION = 93; 2027 SV_ANIMATIONSPEED = 94; 2028 SV_MONOICONS = 95; 2029 SV_KBDALTERED = 96; 2030 SV_PRINTSCREEN = 97; 2031 SV_CSYSVALUES = 98; 2032 2033 PP_FOREGROUNDCOLOR = 1; 2034 PP_FOREGROUNDCOLORINDEX = 2; 2035 PP_BACKGROUNDCOLOR = 3; 2036 PP_BACKGROUNDCOLORINDEX = 4; 2037 PP_HILITEFOREGROUNDCOLOR = 5; 2038 PP_HILITEFOREGROUNDCOLORINDEX = 6; 2039 PP_HILITEBACKGROUNDCOLOR = 7; 2040 PP_HILITEBACKGROUNDCOLORINDEX = 8; 2041 PP_DISABLEDFOREGROUNDCOLOR = 9; 2042 PP_DISABLEDFOREGROUNDCOLORINDEX = 10; 2043 PP_DISABLEDBACKGROUNDCOLOR = 11; 2044 PP_DISABLEDBACKGROUNDCOLORINDEX = 12; 2045 PP_BORDERCOLOR = 13; 2046 PP_BORDERCOLORINDEX = 14; 2047 PP_FONTNAMESIZE = 15; 2048 PP_FONTHANDLE = 16; 2049 PP_RESERVED = 17; 2050 PP_ACTIVECOLOR = 18; 2051 PP_ACTIVECOLORINDEX = 19; 2052 PP_INACTIVECOLOR = 20; 2053 PP_INACTIVECOLORINDEX = 21; 2054 PP_ACTIVETEXTFGNDCOLOR = 22; 2055 PP_ACTIVETEXTFGNDCOLORINDEX = 23; 2056 PP_ACTIVETEXTBGNDCOLOR = 24; 2057 PP_ACTIVETEXTBGNDCOLORINDEX = 25; 2058 PP_INACTIVETEXTFGNDCOLOR = 26; 2059 PP_INACTIVETEXTFGNDCOLORINDEX = 27; 2060 PP_INACTIVETEXTBGNDCOLOR = 28; 2061 PP_INACTIVETEXTBGNDCOLORINDEX = 29; 2062 PP_SHADOW = 30; 2063 PP_MENUFOREGROUNDCOLOR = 31; 2064 PP_MENUFOREGROUNDCOLORINDEX = 32; 2065 PP_MENUBACKGROUNDCOLOR = 33; 2066 PP_MENUBACKGROUNDCOLORINDEX = 34; 2067 PP_MENUHILITEFGNDCOLOR = 35; 2068 PP_MENUHILITEFGNDCOLORINDEX = 36; 2069 PP_MENUHILITEBGNDCOLOR = 37; 2070 PP_MENUHILITEBGNDCOLORINDEX = 38; 2071 PP_MENUDISABLEDFGNDCOLOR = 39; 2072 PP_MENUDISABLEDFGNDCOLORINDEX = 40; 2073 PP_MENUDISABLEDBGNDCOLOR = 41; 2074 PP_MENUDISABLEDBGNDCOLORINDEX = 42; 2075 PP_USER = $8000; 2076 QPF_NOINHERIT = $0001; 2077 QPF_ID1COLORINDEX = $0002; 2078 QPF_ID2COLORINDEX = $0004; 2079 QPF_PURERGBCOLOR = $0008; 2080 QPF_VALIDFLAGS = $000F; 2081 2082 SYSCLR_SHADOWHILITEBGND = (-50); 2083 SYSCLR_SHADOWHILITEFGND = (-49); 2084 SYSCLR_SHADOWTEXT = (-48); 2085 SYSCLR_ENTRYFIELD = (-47); 2086 SYSCLR_MENUDISABLEDTEXT = (-46); 2087 SYSCLR_MENUHILITE = (-45); 2088 SYSCLR_MENUHILITEBGND = (-44); 2089 SYSCLR_PAGEBACKGROUND = (-43); 2090 SYSCLR_FIELDBACKGROUND = (-42); 2091 SYSCLR_BUTTONLIGHT = (-41); 2092 SYSCLR_BUTTONMIDDLE = (-40); 2093 SYSCLR_BUTTONDARK = (-39); 2094 SYSCLR_BUTTONDEFAULT = (-38); 2095 SYSCLR_TITLEBOTTOM = (-37); 2096 SYSCLR_SHADOW = (-36); 2097 SYSCLR_ICONTEXT = (-35); 2098 SYSCLR_DIALOGBACKGROUND = (-34); 2099 SYSCLR_HILITEFOREGROUND = (-33); 2100 SYSCLR_HILITEBACKGROUND = (-32); 2101 SYSCLR_INACTIVETITLETEXTBGND = (-31); 2102 SYSCLR_ACTIVETITLETEXTBGND = (-30); 2103 SYSCLR_INACTIVETITLETEXT = (-29); 2104 SYSCLR_ACTIVETITLETEXT = (-28); 2105 SYSCLR_OUTPUTTEXT = (-27); 2106 SYSCLR_WINDOWSTATICTEXT = (-26); 2107 SYSCLR_SCROLLBAR = (-25); 2108 SYSCLR_BACKGROUND = (-24); 2109 SYSCLR_ACTIVETITLE = (-23); 2110 SYSCLR_INACTIVETITLE = (-22); 2111 SYSCLR_MENU = (-21); 2112 SYSCLR_WINDOW = (-20); 2113 SYSCLR_WINDOWFRAME = (-19); 2114 SYSCLR_MENUTEXT = (-18); 2115 SYSCLR_WINDOWTEXT = (-17); 2116 SYSCLR_TITLETEXT = (-16); 2117 SYSCLR_ACTIVEBORDER = (-15); 2118 SYSCLR_INACTIVEBORDER = (-14); 2119 SYSCLR_APPWORKSPACE = (-13); 2120 SYSCLR_HELPBACKGROUND = (-12); 2121 SYSCLR_HELPTEXT = (-11); 2122 SYSCLR_HELPHILITE = (-10); 2123 SYSCLR_CSYSCOLORS = 41; 2124 2125 TID_CURSOR = $ffff; 2126 TID_SCROLL = $fffe; 2127 TID_FLASHWINDOW = $fffd; 2128 TID_USERMAX = $7fff; 2129 2130 AF_CHAR = $0001; 2131 AF_VIRTUALKEY = $0002; 2132 AF_SCANCODE = $0004; 2133 AF_SHIFT = $0008; 2134 AF_CONTROL = $0010; 2135 AF_ALT = $0020; 2136 AF_LONEKEY = $0040; 2137 AF_SYSCOMMAND = $0100; 2138 AF_HELP = $0200; 2139 2140 EAF_DEFAULTOWNER = $0001; 2141 EAF_UNCHANGEABLE = $0002; 2142 EAF_REUSEICON = $0004; 2143 2144 TF_LEFT = $0001; 2145 TF_TOP = $0002; 2146 TF_RIGHT = $0004; 2147 TF_BOTTOM = $0008; 2148 TF_MOVE = $000F; 2149 TF_SETPOINTERPOS = $0010; 2150 TF_GRID = $0020; 2151 TF_STANDARD = $0040; 2152 TF_ALLINBOUNDARY = $0080; 2153 TF_VALIDATETRACKRECT = $0100; 2154 TF_PARTINBOUNDARY = $0200; 2155 WM_RENDERFMT = $0060; 2156 WM_RENDERALLFMTS = $0061; 2157 WM_DESTROYCLIPBOARD = $0062; 2158 WM_PAINTCLIPBOARD = $0063; 2159 WM_SIZECLIPBOARD = $0064; 2160 WM_HSCROLLCLIPBOARD = $0065; 2161 WM_VSCROLLCLIPBOARD = $0066; 2162 WM_DRAWCLIPBOARD = $0067; 2163 CF_TEXT = 1; 2164 CF_BITMAP = 2; 2165 CF_DSPTEXT = 3; 2166 CF_DSPBITMAP = 4; 2167 CF_METAFILE = 5; 2168 CF_DSPMETAFILE = 6; 2169 CF_PALETTE = 9; 2170 SZFMT_TEXT = '#1'; 2171 SZFMT_BITMAP = '#2'; 2172 SZFMT_DSPTEXT = '#3'; 2173 SZFMT_DSPBITMAP = '#4'; 2174 SZFMT_METAFILE = '#5'; 2175 SZFMT_DSPMETAFILE = '#6'; 2176 SZFMT_PALETTE = '#9'; 2177 SZFMT_SYLK = 'Sylk'; 2178 SZFMT_DIF = 'Dif'; 2179 SZFMT_TIFF = 'Tiff'; 2180 SZFMT_OEMTEXT = 'OemText'; 2181 SZFMT_DIB = 'Dib'; 2182 SZFMT_OWNERDISPLAY = 'OwnerDisplay'; 2183 SZFMT_LINK = 'Link'; 2184 SZFMT_METAFILEPICT = 'MetaFilePict'; 2185 SZFMT_DSPMETAFILEPICT = 'DspMetaFilePict'; 2186 SZFMT_CPTEXT = 'Codepage Text'; 2187 SZDDEFMT_RTF = 'Rich Text Format'; 2188 SZDDEFMT_PTRPICT = 'Printer_Picture'; 2189 2190 CFI_OWNERFREE = $0001; 2191 CFI_OWNERDISPLAY = $0002; 2192 CFI_POINTER = $0400; 2193 CFI_HANDLE = $0200; 2194 2195 CURSOR_SOLID = $0000; 2196 CURSOR_HALFTONE = $0001; 2197 CURSOR_FRAME = $0002; 2198 CURSOR_FLASH = $0004; 2199 CURSOR_SETPOS = $8000; 2200 2201 SPTR_ARROW = 1; 2202 SPTR_TEXT = 2; 2203 SPTR_WAIT = 3; 2204 SPTR_SIZE = 4; 2205 SPTR_MOVE = 5; 2206 SPTR_SIZENWSE = 6; 2207 SPTR_SIZENESW = 7; 2208 SPTR_SIZEWE = 8; 2209 SPTR_SIZENS = 9; 2210 SPTR_APPICON = 10; 2211 SPTR_ICONINFORMATION = 11; 2212 SPTR_ICONQUESTION = 12; 2213 SPTR_ICONERROR = 13; 2214 SPTR_ICONWARNING = 14; 2215 SPTR_CPTR = 14; 2216 SPTR_ILLEGAL = 18; 2217 SPTR_FILE = 19; 2218 SPTR_FOLDER = 20; 2219 SPTR_MULTFILE = 21; 2220 SPTR_PROGRAM = 22; 2221 SPTR_HANDICON = SPTR_ICONERROR; 2222 SPTR_QUESICON = SPTR_ICONQUESTION; 2223 SPTR_BANGICON = SPTR_ICONWARNING; 2224 SPTR_NOTEICON = SPTR_ICONINFORMATION; 2225 2226 DP_NORMAL = $0000; 2227 DP_HALFTONED = $0001; 2228 DP_INVERTED = $0002; 2229 2230 SBMP_OLD_SYSMENU = 1; 2231 SBMP_OLD_SBUPARROW = 2; 2232 SBMP_OLD_SBDNARROW = 3; 2233 SBMP_OLD_SBRGARROW = 4; 2234 SBMP_OLD_SBLFARROW = 5; 2235 SBMP_MENUCHECK = 6; 2236 SBMP_OLD_CHECKBOXES = 7; 2237 SBMP_BTNCORNERS = 8; 2238 SBMP_OLD_MINBUTTON = 9; 2239 SBMP_OLD_MAXBUTTON = 10; 2240 SBMP_OLD_RESTOREBUTTON = 11; 2241 SBMP_OLD_CHILDSYSMENU = 12; 2242 SBMP_DRIVE = 15; 2243 SBMP_FILE = 16; 2244 SBMP_FOLDER = 17; 2245 SBMP_TREEPLUS = 18; 2246 SBMP_TREEMINUS = 19; 2247 SBMP_PROGRAM = 22; 2248 SBMP_MENUATTACHED = 23; 2249 SBMP_SIZEBOX = 24; 2250 SBMP_SYSMENU = 25; 2251 SBMP_MINBUTTON = 26; 2252 SBMP_MAXBUTTON = 27; 2253 SBMP_RESTOREBUTTON = 28; 2254 SBMP_CHILDSYSMENU = 29; 2255 SBMP_SYSMENUDEP = 30; 2256 SBMP_MINBUTTONDEP = 31; 2257 SBMP_MAXBUTTONDEP = 32; 2258 SBMP_RESTOREBUTTONDEP = 33; 2259 SBMP_CHILDSYSMENUDEP = 34; 2260 SBMP_SBUPARROW = 35; 2261 SBMP_SBDNARROW = 36; 2262 SBMP_SBLFARROW = 37; 2263 SBMP_SBRGARROW = 38; 2264 SBMP_SBUPARROWDEP = 39; 2265 SBMP_SBDNARROWDEP = 40; 2266 SBMP_SBLFARROWDEP = 41; 2267 SBMP_SBRGARROWDEP = 42; 2268 SBMP_SBUPARROWDIS = 43; 2269 SBMP_SBDNARROWDIS = 44; 2270 SBMP_SBLFARROWDIS = 45; 2271 SBMP_SBRGARROWDIS = 46; 2272 SBMP_COMBODOWN = 47; 2273 SBMP_CHECKBOXES = 48; 2274 2275 HK_SENDMSG = 0; 2276 HK_INPUT = 1; 2277 HK_MSGFILTER = 2; 2278 HK_JOURNALRECORD = 3; 2279 HK_JOURNALPLAYBACK = 4; 2280 HK_HELP = 5; 2281 HK_LOADER = 6; 2282 HK_REGISTERUSERMSG = 7; 2283 HK_MSGCONTROL = 8; 2284 HK_PLIST_ENTRY = 9; 2285 HK_PLIST_EXIT = 10; 2286 HK_FINDWORD = 11; 2287 HK_CODEPAGECHANGED = 12; 2288 HK_WINDOWDC = 15; 2289 HK_DESTROYWINDOW = 16; 2290 HK_CHECKMSGFILTER = 20; 2291 HMQ_CURRENT = 1; 2292 MSGF_DIALOGBOX = 1; 2293 MSGF_MESSAGEBOX = 2; 2294 MSGF_TRACK = 8; 2295 MSGF_DDEPOSTMSG = 3; 2296 HLPM_FRAME = (-1); 2297 HLPM_WINDOW = (-2); 2298 HLPM_MENU = (-3); 2299 PM_MODEL_1X = 0; 2300 PM_MODEL_2X = 1; 2301 2302 LHK_DELETEPROC = 1; 2303 LHK_DELETELIB = 2; 2304 LHK_LOADPROC = 3; 2305 LHK_LOADLIB = 4; 2306 MCHK_MSGINTEREST = 1; 2307 MCHK_CLASSMSGINTEREST = 2; 2308 MCHK_SYNCHRONISATION = 3; 2309 MCHK_MSGMODE = 4; 2310 RUMHK_DATATYPE = 1; 2311 RUMHK_MSG = 2; 2312 2313 {WinCompareStrings} 2314 WCS_ERROR = 0; 2315 WCS_EQ = 1; 2316 WCS_LT = 2; 2317 WCS_GT = 3; 2318 2319 WINDBG_HWND_NOT_DESTROYED = $1022; 2320 WINDBG_HPTR_NOT_DESTROYED = $1023; 2321 WINDBG_HACCEL_NOT_DESTROYED = $1024; 2322 WINDBG_HENUM_NOT_DESTROYED = $1025; 2323 WINDBG_VISRGN_SEM_BUSY = $1026; 2324 WINDBG_USER_SEM_BUSY = $1027; 2325 WINDBG_DC_CACHE_BUSY = $1028; 2326 WINDBG_HOOK_STILL_INSTALLED = $1029; 2327 WINDBG_WINDOW_STILL_LOCKED = $102a; 2328 WINDBG_UPDATEPS_ASSERTION_FAIL = $102b; 2329 WINDBG_SENDMSG_WITHIN_USER_SEM = $102c; 2330 WINDBG_USER_SEM_NOT_ENTERED = $102d; 2331 WINDBG_PROC_NOT_EXPORTED = $102e; 2332 WINDBG_BAD_SENDMSG_cardinal = $102f; 2333 WINDBG_ABNORMAL_EXIT = $1030; 2334 WINDBG_INTERNAL_REVISION = $1031; 2335 WINDBG_INITSYSTEM_FAILED = $1032; 2336 WINDBG_HATOMTBL_NOT_DESTROYED = $1033; 2337 WINDBG_WINDOW_UNLOCK_WAIT = $1035; 2338 2339 SZDDESYS_TOPIC = 'System'; 2340 SZDDESYS_ITEM_TOPICS = 'Topics'; 2341 SZDDESYS_ITEM_SYSITEMS = 'SysItems'; 2342 SZDDESYS_ITEM_RTNMSG = 'ReturnMessage'; 2343 SZDDESYS_ITEM_STATUS = 'Status'; 2344 SZDDESYS_ITEM_FORMATS = 'Formats'; 2345 SZDDESYS_ITEM_SECURITY = 'Security'; 2346 SZDDESYS_ITEM_ITEMFORMATS = 'ItemFormats'; 2347 SZDDESYS_ITEM_HELP = 'Help'; 2348 SZDDESYS_ITEM_PROTOCOLS = 'Protocols'; 2349 SZDDESYS_ITEM_RESTART = 'Restart'; 2350 2351 DDECTXT_CASESENSITIVE = $0001; 2352 2353 {DDE} 2354 DDE_FACK = $0001; 2355 DDE_FBUSY = $0002; 2356 DDE_FNODATA = $0004; 2357 DDE_FACKREQ = $0008; 2358 DDE_FRESPONSE = $0010; 2359 DDE_NOTPROCESSED = $0020; 2360 DDE_FRESERVED = $00C0; 2361 DDE_FAPPSTATUS = $FF00; 2362 DDEFMT_TEXT = $0001; 2363 DDEPM_RETRY = $00000001; 2364 DDEPM_NOFREE = $00000002; 2365 WM_DDE_FIRST = $00A0; 2366 WM_DDE_INITIATE = $00A0; 2367 WM_DDE_REQUEST = $00A1; 2368 WM_DDE_ACK = $00A2; 2369 WM_DDE_DATA = $00A3; 2370 WM_DDE_ADVISE = $00A4; 2371 WM_DDE_UNADVISE = $00A5; 2372 WM_DDE_POKE = $00A6; 2373 WM_DDE_EXECUTE = $00A7; 2374 WM_DDE_TERMINATE = $00A8; 2375 WM_DDE_INITIATEACK = $00A9; 2376 WM_DDE_LAST = $00AF; 2377 WM_QUERYCONVERTPOS = $00b0; 2378 QCP_CONVERT = $0001; 2379 QCP_NOCONVERT = $0000; 2380 2381 SDT_DESTROY = $0001; 2382 SDT_NOBKGND = $0002; 2383 SDT_TILE = $0004; 2384 SDT_SCALE = $0008; 2385 SDT_PATTERN = $0010; 2386 SDT_CENTER = $0020; 2387 SDT_RETAIN = $0040; 2388 SDT_LOADFILE = $0080; 2389 2390 STR_DLLNAME = 'keyremap'; 2391 WM_DBCSFIRST = $00b0; 2392 WM_DBCSLAST = $00cf; 2393 2394 { Standard Window Classes - for WinCreateWCWindow } 2395 WC_FRAME =$ffff0001; 2396 WC_COMBOBOX =$ffff0002; 2397 WC_BUTTON =$ffff0003; 2398 WC_MENU =$ffff0004; 2399 WC_STATIC =$ffff0005; 2400 WC_ENTRYFIELD =$ffff0006; 2401 WC_LISTBOX =$ffff0007; 2402 WC_SCROLLBAR =$ffff0008; 2403 WC_TITLEBAR =$ffff0009; 2404 WC_MLE =$ffff000A; 2405 { 000B to 000F reserved } 2406 WC_APPSTAT =$ffff0010; 2407 WC_KBDSTAT =$ffff0011; 2408 WC_PECIC =$ffff0012; 2409 WC_DBE_KKPOPUP =$ffff0013; 2410 { 0014 to 001F reserved } 2411 WC_SPINBUTTON =$ffff0020; 2412 { 0021 to 0024 reserved } 2413 WC_CONTAINER =$ffff0025; 2414 WC_SLIDER =$ffff0026; 2415 WC_VALUESET =$ffff0027; 2416 WC_NOTEBOOK =$ffff0028; 2417 { 0029 to 002C used by PEN } 2418 WC_PENFIRST =$ffff0029; 2419 WC_PENLAST =$ffff002C; 2420 { 002D to 0030 reserved } 2421 { 0030 to 003F reserved } 2422 WC_MMPMFIRST =$ffff0040; 2423 WC_MMPMLAST =$ffff004f; 2424 2425 { PM error constants } 2426 PMERR_INVALID_HWND = $1001; 2427 PMERR_INVALID_HMQ = $1002; 2428 PMERR_PARAMETER_OUT_OF_RANGE = $1003; 2429 PMERR_WINDOW_LOCK_UNDERFLOW = $1004; 2430 PMERR_WINDOW_LOCK_OVERFLOW = $1005; 2431 PMERR_BAD_WINDOW_LOCK_COUNT = $1006; 2432 PMERR_WINDOW_NOT_LOCKED = $1007; 2433 PMERR_INVALID_SELECTOR = $1008; 2434 PMERR_CALL_FROM_WRONG_THREAD = $1009; 2435 PMERR_RESOURCE_NOT_FOUND = $100A; 2436 PMERR_INVALID_STRING_PARM = $100B; 2437 PMERR_INVALID_HHEAP = $100C; 2438 PMERR_INVALID_HEAP_POINTER = $100D; 2439 PMERR_INVALID_HEAP_SIZE_PARM = $100E; 2440 PMERR_INVALID_HEAP_SIZE = $100F; 2441 PMERR_INVALID_HEAP_SIZE_WORD = $1010; 2442 PMERR_HEAP_OUT_OF_MEMORY = $1011; 2443 PMERR_HEAP_MAX_SIZE_REACHED = $1012; 2444 PMERR_INVALID_HATOMTBL = $1013; 2445 PMERR_INVALID_ATOM = $1014; 2446 PMERR_INVALID_ATOM_NAME = $1015; 2447 PMERR_INVALID_INTEGER_ATOM = $1016; 2448 PMERR_ATOM_NAME_NOT_FOUND = $1017; 2449 PMERR_QUEUE_TOO_LARGE = $1018; 2450 PMERR_INVALID_FLAG = $1019; 2451 PMERR_INVALID_HACCEL = $101A; 2452 PMERR_INVALID_HPTR = $101B; 2453 PMERR_INVALID_HENUM = $101C; 2454 PMERR_INVALID_SRC_CODEPAGE = $101D; 2455 PMERR_INVALID_DST_CODEPAGE = $101E; 2456 PMERR_UNKNOWN_COMPONENT_ID = $101f; 2457 PMERR_UNKNOWN_ERROR_CODE = $1020; 2458 PMERR_SEVERITY_LEVELS = $1021; 2459 PMERR_INVALID_RESOURCE_FORMAT = $1034; 2460 PMERR_NO_MSG_QUEUE = $1036; 2461 PMERR_WIN_DEBUGMSG = $1037; 2462 PMERR_QUEUE_FULL = $1038; 2463 PMERR_LIBRARY_LOAD_FAILED = $1039; 2464 PMERR_PROCEDURE_LOAD_FAILED = $103A; 2465 PMERR_LIBRARY_DELETE_FAILED = $103B; 2466 PMERR_PROCEDURE_DELETE_FAILED = $103C; 2467 PMERR_ARRAY_TOO_LARGE = $103D; 2468 PMERR_ARRAY_TOO_SMALL = $103E; 2469 PMERR_DATATYPE_ENTRY_BAD_INDEX = $103F; 2470 PMERR_DATATYPE_ENTRY_CTL_BAD = $1040; 2471 PMERR_DATATYPE_ENTRY_CTL_MISS = $1041; 2472 PMERR_DATATYPE_ENTRY_INVALID = $1042; 2473 PMERR_DATATYPE_ENTRY_NOT_NUM = $1043; 2474 PMERR_DATATYPE_ENTRY_NOT_OFF = $1044; 2475 PMERR_DATATYPE_INVALID = $1045; 2476 PMERR_DATATYPE_NOT_UNIQUE = $1046; 2477 PMERR_DATATYPE_TOO_LONG = $1047; 2478 PMERR_DATATYPE_TOO_SMALL = $1048; 2479 PMERR_DIRECTION_INVALID = $1049; 2480 PMERR_INVALID_HAB = $104A; 2481 PMERR_INVALID_HSTRUCT = $104D; 2482 PMERR_LENGTH_TOO_SMALL = $104E; 2483 PMERR_MSGID_TOO_SMALL = $104F; 2484 PMERR_NO_HANDLE_ALLOC = $1050; 2485 PMERR_NOT_IN_A_PM_SESSION = $1051; 2486 PMERR_MSG_QUEUE_ALREADY_EXISTS = $1052; 2487 PMERR_OLD_RESOURCE = $1055; 2488 PMERR_INVALID_PIB = $1101; 2489 PMERR_INSUFF_SPACE_TO_ADD = $1102; 2490 PMERR_INVALID_GROUP_HANDLE = $1103; 2491 PMERR_DUPLICATE_TITLE = $1104; 2492 PMERR_INVALID_TITLE = $1105; 2493 PMERR_HANDLE_NOT_IN_GROUP = $1107; 2494 PMERR_INVALID_TARGET_HANDLE = $1106; 2495 PMERR_INVALID_PATH_STATEMENT = $1108; 2496 PMERR_NO_PROGRAM_FOUND = $1109; 2497 PMERR_INVALID_BUFFER_SIZE = $110A; 2498 PMERR_BUFFER_TOO_SMALL = $110B; 2499 PMERR_PL_INITIALISATION_FAIL = $110C; 2500 PMERR_CANT_DESTROY_SYS_GROUP = $110D; 2501 PMERR_INVALID_TYPE_CHANGE = $110E; 2502 PMERR_INVALID_PROGRAM_HANDLE = $110F; 2503 PMERR_NOT_CURRENT_PL_VERSION = $1110; 2504 PMERR_INVALID_CIRCULAR_REF = $1111; 2505 PMERR_MEMORY_ALLOCATION_ERR = $1112; 2506 PMERR_MEMORY_DEALLOCATION_ERR = $1113; 2507 PMERR_TASK_HEADER_TOO_BIG = $1114; 2508 PMERR_INVALID_INI_FILE_HANDLE = $1115; 2509 PMERR_MEMORY_SHARE = $1116; 2510 PMERR_OPEN_QUEUE = $1117; 2511 PMERR_CREATE_QUEUE = $1118; 2512 PMERR_WRITE_QUEUE = $1119; 2513 PMERR_READ_QUEUE = $111A; 2514 PMERR_CALL_NOT_EXECUTED = $111B; 2515 PMERR_UNKNOWN_APIPKT = $111C; 2516 PMERR_INITHREAD_EXISTS = $111D; 2517 PMERR_CREATE_THREAD = $111E; 2518 PMERR_NO_HK_PROFILE_INSTALLED = $111F; 2519 PMERR_INVALID_DIRECTORY = $1120; 2520 PMERR_WILDCARD_IN_FILENAME = $1121; 2521 PMERR_FILENAME_BUFFER_FULL = $1122; 2522 PMERR_FILENAME_TOO_LONG = $1123; 2523 PMERR_INI_FILE_IS_SYS_OR_USER = $1124; 2524 PMERR_BROADCAST_PLMSG = $1125; 2525 PMERR_190_INIT_DONE = $1126; 2526 PMERR_HMOD_FOR_PMSHAPI = $1127; 2527 PMERR_SET_HK_PROFILE = $1128; 2528 PMERR_API_NOT_ALLOWED = $1129; 2529 PMERR_INI_STILL_OPEN = $112A; 2530 PMERR_PROGDETAILS_NOT_IN_INI = $112B; 2531 PMERR_PIBSTRUCT_NOT_IN_INI = $112C; 2532 PMERR_INVALID_DISKPROGDETAILS = $112D; 2533 PMERR_PROGDETAILS_READ_FAILURE = $112E; 2534 PMERR_PROGDETAILS_WRITE_FAILURE = $112F; 2535 PMERR_PROGDETAILS_QSIZE_FAILURE = $1130; 2536 PMERR_INVALID_PROGDETAILS = $1131; 2537 PMERR_SHEPROFILEHOOK_NOT_FOUND = $1132; 2538 PMERR_190PLCONVERTED = $1133; 2539 PMERR_FAILED_TO_CONVERT_INI_PL = $1134; 2540 PMERR_PMSHAPI_NOT_INITIALISED = $1135; 2541 PMERR_INVALID_SHELL_API_HOOK_ID = $1136; 2542 PMERR_DOS_ERROR = $1200; 2543 PMERR_NO_SPACE = $1201; 2544 PMERR_INVALID_SWITCH_HANDLE = $1202; 2545 PMERR_NO_HANDLE = $1203; 2546 PMERR_INVALID_PROCESS_ID = $1204; 2547 PMERR_NOT_SHELL = $1205; 2548 PMERR_INVALID_WINDOW = $1206; 2549 PMERR_INVALID_POST_MSG = $1207; 2550 PMERR_INVALID_PARAMETERS = $1208; 2551 PMERR_INVALID_PROGRAM_TYPE = $1209; 2552 PMERR_NOT_EXTENDED_FOCUS = $120A; 2553 PMERR_INVALID_SESSION_ID = $120B; 2554 PMERR_SMG_INVALID_ICON_FILE = $120C; 2555 PMERR_SMG_ICON_NOT_CREATED = $120D; 2556 PMERR_SHL_DEBUG = $120E; 2557 PMERR_OPENING_INI_FILE = $1301; 2558 PMERR_INI_FILE_CORRUPT = $1302; 2559 PMERR_INVALID_PARM = $1303; 2560 PMERR_NOT_IN_IDX = $1304; 2561 PMERR_NO_ENTRIES_IN_GROUP = $1305; 2562 PMERR_INI_WRITE_FAIL = $1306; 2563 PMERR_IDX_FULL = $1307; 2564 PMERR_INI_PROTECTED = $1308; 2565 PMERR_MEMORY_ALLOC = $1309; 2566 PMERR_INI_INIT_ALREADY_DONE = $130A; 2567 PMERR_INVALID_INTEGER = $130B; 2568 PMERR_INVALID_ASCIIZ = $130C; 2569 PMERR_CAN_NOT_CALL_SPOOLER = $130D; 2570 PMERR_VALIDATION_REJECTED = PMERR_CAN_NOT_CALL_SPOOLER; 2571 PMERR_WARNING_WINDOW_NOT_KILLED = $1401; 2572 PMERR_ERROR_INVALID_WINDOW = $1402; 2573 PMERR_ALREADY_INITIALIZED = $1403; 2574 PMERR_MSG_PROG_NO_MOU = $1405; 2575 PMERR_MSG_PROG_NON_RECOV = $1406; 2576 PMERR_WINCONV_INVALID_PATH = $1407; 2577 PMERR_PI_NOT_INITIALISED = $1408; 2578 PMERR_PL_NOT_INITIALISED = $1409; 2579 PMERR_NO_TASK_MANAGER = $140A; 2580 PMERR_SAVE_NOT_IN_PROGRESS = $140B; 2581 PMERR_NO_STACK_SPACE = $140C; 2582 PMERR_INVALID_COLR_FIELD = $140d; 2583 PMERR_INVALID_COLR_VALUE = $140e; 2584 PMERR_COLR_WRITE = $140f; 2585 PMERR_TARGET_FILE_EXISTS = $1501; 2586 PMERR_SOURCE_SAME_AS_TARGET = $1502; 2587 PMERR_SOURCE_FILE_NOT_FOUND = $1503; 2588 PMERR_INVALID_NEW_PATH = $1504; 2589 PMERR_TARGET_FILE_NOT_FOUND = $1505; 2590 PMERR_INVALID_DRIVE_NUMBER = $1506; 2591 PMERR_NAME_TOO_LONG = $1507; 2592 PMERR_NOT_ENOUGH_ROOM_ON_DISK = $1508; 2593 PMERR_NOT_ENOUGH_MEM = $1509; 2594 PMERR_LOG_DRV_DOES_NOT_EXIST = $150B; 2595 PMERR_INVALID_DRIVE = $150C; 2596 PMERR_ACCESS_DENIED = $150D; 2597 PMERR_NO_FIRST_SLASH = $150E; 2598 PMERR_READ_ONLY_FILE = $150F; 2599 PMERR_GROUP_PROTECTED = $151F; 2600 PMERR_INVALID_PROGRAM_CATEGORY = $152F; 2601 PMERR_INVALID_APPL = $1530; 2602 PMERR_CANNOT_START = $1531; 2603 PMERR_STARTED_IN_BACKGROUND = $1532; 2604 PMERR_INVALID_HAPP = $1533; 2605 PMERR_CANNOT_STOP = $1534; 2606 PMERR_INTERNAL_ERROR_1 = $1601; 2607 PMERR_INTERNAL_ERROR_2 = $1602; 2608 PMERR_INTERNAL_ERROR_3 = $1603; 2609 PMERR_INTERNAL_ERROR_4 = $1604; 2610 PMERR_INTERNAL_ERROR_5 = $1605; 2611 PMERR_INTERNAL_ERROR_6 = $1606; 2612 PMERR_INTERNAL_ERROR_7 = $1607; 2613 PMERR_INTERNAL_ERROR_8 = $1608; 2614 PMERR_INTERNAL_ERROR_9 = $1609; 2615 PMERR_INTERNAL_ERROR_10 = $160A; 2616 PMERR_INTERNAL_ERROR_11 = $160B; 2617 PMERR_INTERNAL_ERROR_12 = $160C; 2618 PMERR_INTERNAL_ERROR_13 = $160D; 2619 PMERR_INTERNAL_ERROR_14 = $160E; 2620 PMERR_INTERNAL_ERROR_15 = $160F; 2621 PMERR_INTERNAL_ERROR_16 = $1610; 2622 PMERR_INTERNAL_ERROR_17 = $1611; 2623 PMERR_INTERNAL_ERROR_18 = $1612; 2624 PMERR_INTERNAL_ERROR_19 = $1613; 2625 PMERR_INTERNAL_ERROR_20 = $1614; 2626 PMERR_INTERNAL_ERROR_21 = $1615; 2627 PMERR_INTERNAL_ERROR_22 = $1616; 2628 PMERR_INTERNAL_ERROR_23 = $1617; 2629 PMERR_INTERNAL_ERROR_24 = $1618; 2630 PMERR_INTERNAL_ERROR_25 = $1619; 2631 PMERR_INTERNAL_ERROR_26 = $161A; 2632 PMERR_INTERNAL_ERROR_27 = $161B; 2633 PMERR_INTERNAL_ERROR_28 = $161C; 2634 PMERR_INTERNAL_ERROR_29 = $161D; 2635 PMERR_INVALID_FREE_MESSAGE_ID = $1630; 2636 PMERR_FUNCTION_NOT_SUPPORTED = $1641; 2637 PMERR_INVALID_ARRAY_COUNT = $1642; 2638 PMERR_INVALID_LENGTH = $1643; 2639 PMERR_INVALID_BUNDLE_TYPE = $1644; 2640 PMERR_INVALID_PARAMETER = $1645; 2641 PMERR_INVALID_NUMBER_OF_PARMS = $1646; 2642 PMERR_GREATER_THAN_64K = $1647; 2643 PMERR_INVALID_PARAMETER_TYPE = $1648; 2644 PMERR_NEGATIVE_STRCOND_DIM = $1649; 2645 PMERR_INVALID_NUMBER_OF_TYPES = $164A; 2646 PMERR_INCORRECT_HSTRUCT = $164B; 2647 PMERR_INVALID_ARRAY_SIZE = $164C; 2648 PMERR_INVALID_CONTROL_DATATYPE = $164D; 2649 PMERR_INCOMPLETE_CONTROL_SEQU = $164E; 2650 PMERR_INVALID_DATATYPE = $164F; 2651 PMERR_INCORRECT_DATATYPE = $1650; 2652 PMERR_NOT_SELF_DESCRIBING_DTYP = $1651; 2653 PMERR_INVALID_CTRL_SEQ_INDEX = $1652; 2654 PMERR_INVALID_TYPE_FOR_LENGTH = $1653; 2655 PMERR_INVALID_TYPE_FOR_OFFSET = $1654; 2656 PMERR_INVALID_TYPE_FOR_MPARAM = $1655; 2657 PMERR_INVALID_MESSAGE_ID = $1656; 2658 PMERR_C_LENGTH_TOO_SMALL = $1657; 2659 PMERR_APPL_STRUCTURE_TOO_SMALL = $1658; 2660 PMERR_INVALID_ERRORINFO_HANDLE = $1659; 2661 PMERR_INVALID_CHARACTER_INDEX = $165A; 2662 WPERR_PROTECTED_CLASS = $1700; 2663 WPERR_INVALID_CLASS = $1701; 2664 WPERR_INVALID_SUPERCLASS = $1702; 2665 WPERR_NO_MEMORY = $1703; 2666 WPERR_SEMAPHORE_ERROR = $1704; 2667 WPERR_BUFFER_TOO_SMALL = $1705; 2668 WPERR_CLSLOADMOD_FAILED = $1706; 2669 WPERR_CLSPROCADDR_FAILED = $1707; 2670 WPERR_OBJWORD_LOCATION = $1708; 2671 WPERR_INVALID_OBJECT = $1709; 2672 WPERR_MEMORY_CLEANUP = $170A; 2673 WPERR_INVALID_MODULE = $170B; 2674 WPERR_INVALID_OLDCLASS = $170C; 2675 WPERR_INVALID_NEWCLASS = $170D; 2676 WPERR_NOT_IMMEDIATE_CHILD = $170E; 2677 WPERR_NOT_WORKPLACE_CLASS = $170F; 2678 WPERR_CANT_REPLACE_METACLS = $1710; 2679 WPERR_INI_FILE_WRITE = $1711; 2680 WPERR_INVALID_FOLDER = $1712; 2681 WPERR_BUFFER_OVERFLOW = $1713; 2682 WPERR_OBJECT_NOT_FOUND = $1714; 2683 WPERR_INVALID_HFIND = $1715; 2684 WPERR_INVALID_COUNT = $1716; 2685 WPERR_INVALID_BUFFER = $1717; 2686 WPERR_ALREADY_EXISTS = $1718; 2687 WPERR_INVALID_FLAGS = $1719; 2688 WPERR_INVALID_OBJECTID = $1720; 2689 PMERR_OK = $0000; 2690 PMERR_ALREADY_IN_AREA = $2001; 2691 PMERR_ALREADY_IN_ELEMENT = $2002; 2692 PMERR_ALREADY_IN_PATH = $2003; 2693 PMERR_ALREADY_IN_SEG = $2004; 2694 PMERR_AREA_INCOMPLETE = $2005; 2695 PMERR_BASE_ERROR = $2006; 2696 PMERR_BITBLT_LENGTH_EXCEEDED = $2007; 2697 PMERR_BITMAP_IN_USE = $2008; 2698 PMERR_BITMAP_IS_SELECTED = $2009; 2699 PMERR_BITMAP_NOT_FOUND = $200A; 2700 PMERR_BITMAP_NOT_SELECTED = $200B; 2701 PMERR_BOUNDS_OVERFLOW = $200C; 2702 PMERR_CALLED_SEG_IS_CHAINED = $200D; 2703 PMERR_CALLED_SEG_IS_CURRENT = $200E; 2704 PMERR_CALLED_SEG_NOT_FOUND = $200F; 2705 PMERR_CANNOT_DELETE_ALL_DATA = $2010; 2706 PMERR_CANNOT_REPLACE_ELEMENT_0 = $2011; 2707 PMERR_COL_TABLE_NOT_REALIZABLE = $2012; 2708 PMERR_COL_TABLE_NOT_REALIZED = $2013; 2709 PMERR_COORDINATE_OVERFLOW = $2014; 2710 PMERR_CORR_FORMAT_MISMATCH = $2015; 2711 PMERR_DATA_TOO_LONG = $2016; 2712 PMERR_DC_IS_ASSOCIATED = $2017; 2713 PMERR_DESC_STRING_TRUNCATED = $2018; 2714 PMERR_DEVICE_DRIVER_ERROR_1 = $2019; 2715 PMERR_DEVICE_DRIVER_ERROR_2 = $201A; 2716 PMERR_DEVICE_DRIVER_ERROR_3 = $201B; 2717 PMERR_DEVICE_DRIVER_ERROR_4 = $201C; 2718 PMERR_DEVICE_DRIVER_ERROR_5 = $201D; 2719 PMERR_DEVICE_DRIVER_ERROR_6 = $201E; 2720 PMERR_DEVICE_DRIVER_ERROR_7 = $201F; 2721 PMERR_DEVICE_DRIVER_ERROR_8 = $2020; 2722 PMERR_DEVICE_DRIVER_ERROR_9 = $2021; 2723 PMERR_DEVICE_DRIVER_ERROR_10 = $2022; 2724 PMERR_DEV_FUNC_NOT_INSTALLED = $2023; 2725 PMERR_DOSOPEN_FAILURE = $2024; 2726 PMERR_DOSREAD_FAILURE = $2025; 2727 PMERR_DRIVER_NOT_FOUND = $2026; 2728 PMERR_DUP_SEG = $2027; 2729 PMERR_DYNAMIC_SEG_SEQ_ERROR = $2028; 2730 PMERR_DYNAMIC_SEG_ZERO_INV = $2029; 2731 PMERR_ELEMENT_INCOMPLETE = $202A; 2732 PMERR_ESC_CODE_NOT_SUPPORTED = $202B; 2733 PMERR_EXCEEDS_MAX_SEG_LENGTH = $202C; 2734 PMERR_FONT_AND_MODE_MISMATCH = $202D; 2735 PMERR_FONT_FILE_NOT_LOADED = $202E; 2736 PMERR_FONT_NOT_LOADED = $202F; 2737 PMERR_FONT_TOO_BIG = $2030; 2738 PMERR_HARDWARE_INIT_FAILURE = $2031; 2739 PMERR_HBITMAP_BUSY = $2032; 2740 PMERR_HDC_BUSY = $2033; 2741 PMERR_HRGN_BUSY = $2034; 2742 PMERR_HUGE_FONTS_NOT_SUPPORTED = $2035; 2743 PMERR_ID_HAS_NO_BITMAP = $2036; 2744 PMERR_IMAGE_INCOMPLETE = $2037; 2745 PMERR_INCOMPAT_COLOR_FORMAT = $2038; 2746 PMERR_INCOMPAT_COLOR_OPTIONS = $2039; 2747 PMERR_INCOMPATIBLE_BITMAP = $203A; 2748 PMERR_INCOMPATIBLE_METAFILE = $203B; 2749 PMERR_INCORRECT_DC_TYPE = $203C; 2750 PMERR_INSUFFICIENT_DISK_SPACE = $203D; 2751 PMERR_INSUFFICIENT_MEMORY = $203E; 2752 PMERR_INV_ANGLE_PARM = $203F; 2753 PMERR_INV_ARC_CONTROL = $2040; 2754 PMERR_INV_AREA_CONTROL = $2041; 2755 PMERR_INV_ARC_POINTS = $2042; 2756 PMERR_INV_ATTR_MODE = $2043; 2757 PMERR_INV_BACKGROUND_COL_ATTR = $2044; 2758 PMERR_INV_BACKGROUND_MIX_ATTR = $2045; 2759 PMERR_INV_BITBLT_MIX = $2046; 2760 PMERR_INV_BITBLT_STYLE = $2047; 2761 PMERR_INV_BITMAP_DIMENSION = $2048; 2762 PMERR_INV_BOX_CONTROL = $2049; 2763 PMERR_INV_BOX_ROUNDING_PARM = $204A; 2764 PMERR_INV_CHAR_ANGLE_ATTR = $204B; 2765 PMERR_INV_CHAR_DIRECTION_ATTR = $204C; 2766 PMERR_INV_CHAR_MODE_ATTR = $204D; 2767 PMERR_INV_CHAR_POS_OPTIONS = $204E; 2768 PMERR_INV_CHAR_SET_ATTR = $204F; 2769 PMERR_INV_CHAR_SHEAR_ATTR = $2050; 2770 PMERR_INV_CLIP_PATH_OPTIONS = $2051; 2771 PMERR_INV_CODEPAGE = $2052; 2772 PMERR_INV_COLOR_ATTR = $2053; 2773 PMERR_INV_COLOR_DATA = $2054; 2774 PMERR_INV_COLOR_FORMAT = $2055; 2775 PMERR_INV_COLOR_INDEX = $2056; 2776 PMERR_INV_COLOR_OPTIONS = $2057; 2777 PMERR_INV_COLOR_START_INDEX = $2058; 2778 PMERR_INV_COORD_OFFSET = $2059; 2779 PMERR_INV_COORD_SPACE = $205A; 2780 PMERR_INV_COORDINATE = $205B; 2781 PMERR_INV_CORRELATE_DEPTH = $205C; 2782 PMERR_INV_CORRELATE_TYPE = $205D; 2783 PMERR_INV_CURSOR_BITMAP = $205E; 2784 PMERR_INV_DC_DATA = $205F; 2785 PMERR_INV_DC_TYPE = $2060; 2786 PMERR_INV_DEVICE_NAME = $2061; 2787 PMERR_INV_DEV_MODES_OPTIONS = $2062; 2788 PMERR_INV_DRAW_CONTROL = $2063; 2789 PMERR_INV_DRAW_VALUE = $2064; 2790 PMERR_INV_DRAWING_MODE = $2065; 2791 PMERR_INV_DRIVER_DATA = $2066; 2792 PMERR_INV_DRIVER_NAME = $2067; 2793 PMERR_INV_DRAW_BORDER_OPTION = $2068; 2794 PMERR_INV_EDIT_MODE = $2069; 2795 PMERR_INV_ELEMENT_OFFSET = $206A; 2796 PMERR_INV_ELEMENT_POINTER = $206B; 2797 PMERR_INV_END_PATH_OPTIONS = $206C; 2798 PMERR_INV_ESC_CODE = $206D; 2799 PMERR_INV_ESCAPE_DATA = $206E; 2800 PMERR_INV_EXTENDED_LCID = $206F; 2801 PMERR_INV_FILL_PATH_OPTIONS = $2070; 2802 PMERR_INV_FIRST_CHAR = $2071; 2803 PMERR_INV_FONT_ATTRS = $2072; 2804 PMERR_INV_FONT_FILE_DATA = $2073; 2805 PMERR_INV_FOR_THIS_DC_TYPE = $2074; 2806 PMERR_INV_FORMAT_CONTROL = $2075; 2807 PMERR_INV_FORMS_CODE = $2076; 2808 PMERR_INV_FONTDEF = $2077; 2809 PMERR_INV_GEOM_LINE_WIDTH_ATTR = $2078; 2810 PMERR_INV_GETDATA_CONTROL = $2079; 2811 PMERR_INV_GRAPHICS_FIELD = $207A; 2812 PMERR_INV_HBITMAP = $207B; 2813 PMERR_INV_HDC = $207C; 2814 PMERR_INV_HJOURNAL = $207D; 2815 PMERR_INV_HMF = $207E; 2816 PMERR_INV_HPS = $207F; 2817 PMERR_INV_HRGN = $2080; 2818 PMERR_INV_ID = $2081; 2819 PMERR_INV_IMAGE_DATA_LENGTH = $2082; 2820 PMERR_INV_IMAGE_DIMENSION = $2083; 2821 PMERR_INV_IMAGE_FORMAT = $2084; 2822 PMERR_INV_IN_AREA = $2085; 2823 PMERR_INV_IN_CALLED_SEG = $2086; 2824 PMERR_INV_IN_CURRENT_EDIT_MODE = $2087; 2825 PMERR_INV_IN_DRAW_MODE = $2088; 2826 PMERR_INV_IN_ELEMENT = $2089; 2827 PMERR_INV_IN_IMAGE = $208A; 2828 PMERR_INV_IN_PATH = $208B; 2829 PMERR_INV_IN_RETAIN_MODE = $208C; 2830 PMERR_INV_IN_SEG = $208D; 2831 PMERR_INV_IN_VECTOR_SYMBOL = $208E; 2832 PMERR_INV_INFO_TABLE = $208F; 2833 PMERR_INV_JOURNAL_OPTION = $2090; 2834 PMERR_INV_KERNING_FLAGS = $2091; 2835 PMERR_INV_LENGTH_OR_COUNT = $2092; 2836 PMERR_INV_LINE_END_ATTR = $2093; 2837 PMERR_INV_LINE_JOIN_ATTR = $2094; 2838 PMERR_INV_LINE_TYPE_ATTR = $2095; 2839 PMERR_INV_LINE_WIDTH_ATTR = $2096; 2840 PMERR_INV_LOGICAL_ADDRESS = $2097; 2841 PMERR_INV_MARKER_BOX_ATTR = $2098; 2842 PMERR_INV_MARKER_SET_ATTR = $2099; 2843 PMERR_INV_MARKER_SYMBOL_ATTR = $209A; 2844 PMERR_INV_MATRIX_ELEMENT = $209B; 2845 PMERR_INV_MAX_HITS = $209C; 2846 PMERR_INV_METAFILE = $209D; 2847 PMERR_INV_METAFILE_LENGTH = $209E; 2848 PMERR_INV_METAFILE_OFFSET = $209F; 2849 PMERR_INV_MICROPS_DRAW_CONTROL = $20A0; 2850 PMERR_INV_MICROPS_FUNCTION = $20A1; 2851 PMERR_INV_MICROPS_ORDER = $20A2; 2852 PMERR_INV_MIX_ATTR = $20A3; 2853 PMERR_INV_MODE_FOR_OPEN_DYN = $20A4; 2854 PMERR_INV_MODE_FOR_REOPEN_SEG = $20A5; 2855 PMERR_INV_MODIFY_PATH_MODE = $20A6; 2856 PMERR_INV_MULTIPLIER = $20A7; 2857 PMERR_INV_NESTED_FIGURES = $20A8; 2858 PMERR_INV_OR_INCOMPAT_OPTIONS = $20A9; 2859 PMERR_INV_ORDER_LENGTH = $20AA; 2860 PMERR_INV_ORDERING_PARM = $20AB; 2861 PMERR_INV_OUTSIDE_DRAW_MODE = $20AC; 2862 PMERR_INV_PAGE_VIEWPORT = $20AD; 2863 PMERR_INV_PATH_ID = $20AE; 2864 PMERR_INV_PATH_MODE = $20AF; 2865 PMERR_INV_PATTERN_ATTR = $20B0; 2866 PMERR_INV_PATTERN_REF_PT_ATTR = $20B1; 2867 PMERR_INV_PATTERN_SET_ATTR = $20B2; 2868 PMERR_INV_PATTERN_SET_FONT = $20B3; 2869 PMERR_INV_PICK_APERTURE_OPTION = $20B4; 2870 PMERR_INV_PICK_APERTURE_POSN = $20B5; 2871 PMERR_INV_PICK_APERTURE_SIZE = $20B6; 2872 PMERR_INV_PICK_NUMBER = $20B7; 2873 PMERR_INV_PLAY_METAFILE_OPTION = $20B8; 2874 PMERR_INV_PRIMITIVE_TYPE = $20B9; 2875 PMERR_INV_PS_SIZE = $20BA; 2876 PMERR_INV_PUTDATA_FORMAT = $20BB; 2877 PMERR_INV_QUERY_ELEMENT_NO = $20BC; 2878 PMERR_INV_RECT = $20BD; 2879 PMERR_INV_REGION_CONTROL = $20BE; 2880 PMERR_INV_REGION_MIX_MODE = $20BF; 2881 PMERR_INV_REPLACE_MODE_FUNC = $20C0; 2882 PMERR_INV_RESERVED_FIELD = $20C1; 2883 PMERR_INV_RESET_OPTIONS = $20C2; 2884 PMERR_INV_RGBCOLOR = $20C3; 2885 PMERR_INV_SCAN_START = $20C4; 2886 PMERR_INV_SEG_ATTR = $20C5; 2887 PMERR_INV_SEG_ATTR_VALUE = $20C6; 2888 PMERR_INV_SEG_CH_LENGTH = $20C7; 2889 PMERR_INV_SEG_NAME = $20C8; 2890 PMERR_INV_SEG_OFFSET = $20C9; 2891 PMERR_INV_SETID = $20CA; 2892 PMERR_INV_SETID_TYPE = $20CB; 2893 PMERR_INV_SET_VIEWPORT_OPTION = $20CC; 2894 PMERR_INV_SHARPNESS_PARM = $20CD; 2895 PMERR_INV_SOURCE_OFFSET = $20CE; 2896 PMERR_INV_STOP_DRAW_VALUE = $20CF; 2897 PMERR_INV_TRANSFORM_TYPE = $20D0; 2898 PMERR_INV_USAGE_PARM = $20D1; 2899 PMERR_INV_VIEWING_LIMITS = $20D2; 2900 PMERR_JFILE_BUSY = $20D3; 2901 PMERR_JNL_FUNC_DATA_TOO_LONG = $20D4; 2902 PMERR_KERNING_NOT_SUPPORTED = $20D5; 2903 PMERR_LABEL_NOT_FOUND = $20D6; 2904 PMERR_MATRIX_OVERFLOW = $20D7; 2905 PMERR_METAFILE_INTERNAL_ERROR = $20D8; 2906 PMERR_METAFILE_IN_USE = $20D9; 2907 PMERR_METAFILE_LIMIT_EXCEEDED = $20DA; 2908 PMERR_NAME_STACK_FULL = $20DB; 2909 PMERR_NOT_CREATED_BY_DEVOPENDC = $20DC; 2910 PMERR_NOT_IN_AREA = $20DD; 2911 PMERR_NOT_IN_DRAW_MODE = $20DE; 2912 PMERR_NOT_IN_ELEMENT = $20DF; 2913 PMERR_NOT_IN_IMAGE = $20E0; 2914 PMERR_NOT_IN_PATH = $20E1; 2915 PMERR_NOT_IN_RETAIN_MODE = $20E2; 2916 PMERR_NOT_IN_SEG = $20E3; 2917 PMERR_NO_BITMAP_SELECTED = $20E4; 2918 PMERR_NO_CURRENT_ELEMENT = $20E5; 2919 PMERR_NO_CURRENT_SEG = $20E6; 2920 PMERR_NO_METAFILE_RECORD_HANDLE = $20E7; 2921 PMERR_ORDER_TOO_BIG = $20E8; 2922 PMERR_OTHER_SET_ID_REFS = $20E9; 2923 PMERR_OVERRAN_SEG = $20EA; 2924 PMERR_OWN_SET_ID_REFS = $20EB; 2925 PMERR_PATH_INCOMPLETE = $20EC; 2926 PMERR_PATH_LIMIT_EXCEEDED = $20ED; 2927 PMERR_PATH_UNKNOWN = $20EE; 2928 PMERR_PEL_IS_CLIPPED = $20EF; 2929 PMERR_PEL_NOT_AVAILABLE = $20F0; 2930 PMERR_PRIMITIVE_STACK_EMPTY = $20F1; 2931 PMERR_PROLOG_ERROR = $20F2; 2932 PMERR_PROLOG_SEG_ATTR_NOT_SET = $20F3; 2933 PMERR_PS_BUSY = $20F4; 2934 PMERR_PS_IS_ASSOCIATED = $20F5; 2935 PMERR_RAM_JNL_FILE_TOO_SMALL = $20F6; 2936 PMERR_REALIZE_NOT_SUPPORTED = $20F7; 2937 PMERR_REGION_IS_CLIP_REGION = $20F8; 2938 PMERR_RESOURCE_DEPLETION = $20F9; 2939 PMERR_SEG_AND_REFSEG_ARE_SAME = $20FA; 2940 PMERR_SEG_CALL_RECURSIVE = $20FB; 2941 PMERR_SEG_CALL_STACK_EMPTY = $20FC; 2942 PMERR_SEG_CALL_STACK_FULL = $20FD; 2943 PMERR_SEG_IS_CURRENT = $20FE; 2944 PMERR_SEG_NOT_CHAINED = $20FF; 2945 PMERR_SEG_NOT_FOUND = $2100; 2946 PMERR_SEG_STORE_LIMIT_EXCEEDED = $2101; 2947 PMERR_SETID_IN_USE = $2102; 2948 PMERR_SETID_NOT_FOUND = $2103; 2949 PMERR_STARTDOC_NOT_ISSUED = $2104; 2950 PMERR_STOP_DRAW_OCCURRED = $2105; 2951 PMERR_TOO_MANY_METAFILES_IN_USE = $2106; 2952 PMERR_TRUNCATED_ORDER = $2107; 2953 PMERR_UNCHAINED_SEG_ZERO_INV = $2108; 2954 PMERR_UNSUPPORTED_ATTR = $2109; 2955 PMERR_UNSUPPORTED_ATTR_VALUE = $210A; 2956 PMERR_ENDDOC_NOT_ISSUED = $210B; 2957 PMERR_PS_NOT_ASSOCIATED = $210C; 2958 PMERR_INV_FLOOD_FILL_OPTIONS = $210D; 2959 PMERR_INV_FACENAME = $210E; 2960 PMERR_PALETTE_SELECTED = $210F; 2961 PMERR_NO_PALETTE_SELECTED = $2110; 2962 PMERR_INV_HPAL = $2111; 2963 PMERR_PALETTE_BUSY = $2112; 2964 PMERR_START_POINT_CLIPPED = $2113; 2965 PMERR_NO_FILL = $2114; 2966 PMERR_INV_FACENAMEDESC = $2115; 2967 PMERR_INV_BITMAP_DATA = $2116; 2968 PMERR_INV_CHAR_ALIGN_ATTR = $2117; 2969 PMERR_INV_HFONT = $2118; 2970 PMERR_HFONT_IS_SELECTED = $2119; 2971 PMERR_SPL_DRIVER_ERROR = $4001; 2972 PMERR_SPL_DEVICE_ERROR = $4002; 2973 PMERR_SPL_DEVICE_NOT_INSTALLED = $4003; 2974 PMERR_SPL_QUEUE_ERROR = $4004; 2975 PMERR_SPL_INV_HSPL = $4005; 2976 PMERR_SPL_NO_DISK_SPACE = $4006; 2977 PMERR_SPL_NO_MEMORY = $4007; 2978 PMERR_SPL_PRINT_ABORT = $4008; 2979 PMERR_SPL_SPOOLER_NOT_INSTALLED = $4009; 2980 PMERR_SPL_INV_FORMS_CODE = $400A; 2981 PMERR_SPL_INV_PRIORITY = $400B; 2982 PMERR_SPL_NO_FREE_JOB_ID = $400C; 2983 PMERR_SPL_NO_DATA = $400D; 2984 PMERR_SPL_INV_TOKEN = $400E; 2985 PMERR_SPL_INV_DATATYPE = $400F; 2986 PMERR_SPL_PROCESSOR_ERROR = $4010; 2987 PMERR_SPL_INV_JOB_ID = $4011; 2988 PMERR_SPL_JOB_NOT_PRINTING = $4012; 2989 PMERR_SPL_JOB_PRINTING = $4013; 2990 PMERR_SPL_QUEUE_ALREADY_EXISTS = $4014; 2991 PMERR_SPL_INV_QUEUE_NAME = $4015; 2992 PMERR_SPL_QUEUE_NOT_EMPTY = $4016; 2993 PMERR_SPL_DEVICE_ALREADY_EXISTS = $4017; 2994 PMERR_SPL_DEVICE_LIMIT_REACHED = $4018; 2995 PMERR_SPL_STATUS_STRING_TRUNC = $4019; 2996 PMERR_SPL_INV_LENGTH_OR_COUNT = $401A; 2997 PMERR_SPL_FILE_NOT_FOUND = $401B; 2998 PMERR_SPL_CANNOT_OPEN_FILE = $401C; 2999 PMERR_SPL_DRIVER_NOT_INSTALLED = $401D; 3000 PMERR_SPL_INV_PROCESSOR_DATTYPE = $401E; 3001 PMERR_SPL_INV_DRIVER_DATATYPE = $401F; 3002 PMERR_SPL_PROCESSOR_NOT_INST = $4020; 3003 PMERR_SPL_NO_SUCH_LOG_ADDRESS = $4021; 3004 PMERR_SPL_PRINTER_NOT_FOUND = $4022; 3005 PMERR_SPL_DD_NOT_FOUND = $4023; 3006 PMERR_SPL_QUEUE_NOT_FOUND = $4024; 3007 PMERR_SPL_MANY_QUEUES_ASSOC = $4025; 3008 PMERR_SPL_NO_QUEUES_ASSOCIATED = $4026; 3009 PMERR_SPL_INI_FILE_ERROR = $4027; 3010 PMERR_SPL_NO_DEFAULT_QUEUE = $4028; 3011 PMERR_SPL_NO_CURRENT_FORMS_CODE = $4029; 3012 PMERR_SPL_NOT_AUTHORISED = $402A; 3013 PMERR_SPL_TEMP_NETWORK_ERROR = $402B; 3014 PMERR_SPL_HARD_NETWORK_ERROR = $402C; 3015 PMERR_DEL_NOT_ALLOWED = $402D; 3016 PMERR_CANNOT_DEL_QP_REF = $402E; 3017 PMERR_CANNOT_DEL_QNAME_REF = $402F; 3018 PMERR_CANNOT_DEL_PRINTER_DD_REF = $4030; 3019 PMERR_CANNOT_DEL_PRN_NAME_REF = $4031; 3020 PMERR_CANNOT_DEL_PRN_ADDR_REF = $4032; 3021 PMERR_SPOOLER_QP_NOT_DEFINED = $4033; 3022 PMERR_PRN_NAME_NOT_DEFINED = $4034; 3023 PMERR_PRN_ADDR_NOT_DEFINED = $4035; 3024 PMERR_PRINTER_DD_NOT_DEFINED = $4036; 3025 PMERR_PRINTER_QUEUE_NOT_DEFINED = $4037; 3026 PMERR_PRN_ADDR_IN_USE = $4038; 3027 PMERR_SPL_TOO_MANY_OPEN_FILES = $4039; 3028 PMERR_SPL_CP_NOT_REQD = $403A; 3029 PMERR_UNABLE_TO_CLOSE_DEVICE = $4040; 3030 PMERR_SPL_ERROR_1 = (SPLERR_BASE+4001); 3031 PMERR_SPL_ERROR_2 = (SPLERR_BASE+4002); 3032 PMERR_SPL_ERROR_3 = (SPLERR_BASE+4003); 3033 PMERR_SPL_ERROR_4 = (SPLERR_BASE+4004); 3034 PMERR_SPL_ERROR_5 = (SPLERR_BASE+4005); 3035 PMERR_SPL_ERROR_6 = (SPLERR_BASE+4006); 3036 PMERR_SPL_ERROR_7 = (SPLERR_BASE+4007); 3037 PMERR_SPL_ERROR_8 = (SPLERR_BASE+4008); 3038 PMERR_SPL_ERROR_9 = (SPLERR_BASE+4009); 3039 PMERR_SPL_ERROR_10 = (SPLERR_BASE+4010); 3040 PMERR_SPL_ERROR_11 = (SPLERR_BASE+4011); 3041 PMERR_SPL_ERROR_12 = (SPLERR_BASE+4012); 3042 PMERR_SPL_ERROR_13 = (SPLERR_BASE+4013); 3043 PMERR_SPL_ERROR_14 = (SPLERR_BASE+4014); 3044 PMERR_SPL_ERROR_15 = (SPLERR_BASE+4015); 3045 PMERR_SPL_ERROR_16 = (SPLERR_BASE+4016); 3046 PMERR_SPL_ERROR_17 = (SPLERR_BASE+4017); 3047 PMERR_SPL_ERROR_18 = (SPLERR_BASE+4018); 3048 PMERR_SPL_ERROR_19 = (SPLERR_BASE+4019); 3049 PMERR_SPL_ERROR_20 = (SPLERR_BASE+4020); 3050 PMERR_SPL_ERROR_21 = (SPLERR_BASE+4021); 3051 PMERR_SPL_ERROR_22 = (SPLERR_BASE+4022); 3052 PMERR_SPL_ERROR_23 = (SPLERR_BASE+4023); 3053 PMERR_SPL_ERROR_24 = (SPLERR_BASE+4024); 3054 PMERR_SPL_ERROR_25 = (SPLERR_BASE+4025); 3055 PMERR_SPL_ERROR_26 = (SPLERR_BASE+4026); 3056 PMERR_SPL_ERROR_27 = (SPLERR_BASE+4027); 3057 PMERR_SPL_ERROR_28 = (SPLERR_BASE+4028); 3058 PMERR_SPL_ERROR_29 = (SPLERR_BASE+4029); 3059 PMERR_SPL_ERROR_30 = (SPLERR_BASE+4030); 3060 PMERR_SPL_ERROR_31 = (SPLERR_BASE+4031); 3061 PMERR_SPL_ERROR_32 = (SPLERR_BASE+4032); 3062 PMERR_SPL_ERROR_33 = (SPLERR_BASE+4033); 3063 PMERR_SPL_ERROR_34 = (SPLERR_BASE+4034); 3064 PMERR_SPL_ERROR_35 = (SPLERR_BASE+4035); 3065 PMERR_SPL_ERROR_36 = (SPLERR_BASE+4036); 3066 PMERR_SPL_ERROR_37 = (SPLERR_BASE+4037); 3067 PMERR_SPL_ERROR_38 = (SPLERR_BASE+4038); 3068 PMERR_SPL_ERROR_39 = (SPLERR_BASE+4039); 3069 PMERR_SPL_ERROR_40 = (SPLERR_BASE+4040); 3070 PMERR_SPLMSGBOX_INFO_CAPTION = (SPLERR_BASE+4041); 3071 PMERR_SPLMSGBOX_WARNING_CAPTION = (SPLERR_BASE+4042); 3072 PMERR_SPLMSGBOX_ERROR_CAPTION = (SPLERR_BASE+4043); 3073 PMERR_SPLMSGBOX_SEVERE_CAPTION = (SPLERR_BASE+4044); 3074 PMERR_SPLMSGBOX_JOB_DETAILS = (SPLERR_BASE+4045); 3075 PMERR_SPLMSGBOX_ERROR_ACTION = (SPLERR_BASE+4046); 3076 PMERR_SPLMSGBOX_SEVERE_ACTION = (SPLERR_BASE+4047); 3077 PMERR_SPLMSGBOX_BIT_0_TEXT = (SPLERR_BASE+4048); 3078 PMERR_SPLMSGBOX_BIT_1_TEXT = (SPLERR_BASE+4049); 3079 PMERR_SPLMSGBOX_BIT_2_TEXT = (SPLERR_BASE+4050); 3080 PMERR_SPLMSGBOX_BIT_3_TEXT = (SPLERR_BASE+4051); 3081 PMERR_SPLMSGBOX_BIT_4_TEXT = (SPLERR_BASE+4052); 3082 PMERR_SPLMSGBOX_BIT_5_TEXT = (SPLERR_BASE+4053); 3083 PMERR_SPLMSGBOX_BIT_15_TEXT = (SPLERR_BASE+4054); 3084 PMERR_SPL_NOPATHBUFFER = (SPLERR_BASE+4055); 3085 PMERR_SPL_ALREADY_INITIALISED = (SPLERR_BASE+4093); 3086 PMERR_SPL_ERROR = (SPLERR_BASE+4095); 3087 PMERR_INV_TYPE = $5001; 3088 PMERR_INV_CONV = $5002; 3089 PMERR_INV_SEGLEN = $5003; 3090 PMERR_DUP_SEGNAME = $5004; 3091 PMERR_INV_XFORM = $5005; 3092 PMERR_INV_VIEWLIM = $5006; 3093 PMERR_INV_3DCOORD = $5007; 3094 PMERR_SMB_OVFLOW = $5008; 3095 PMERR_SEG_OVFLOW = $5009; 3096 PMERR_PIC_DUP_FILENAME = $5010; 3097 WinRegisterClassnull3098 function WinRegisterClass(hab : cardinal;pszClassName : pchar;pfnWndProc : proc;flStyle,cbWindowData : cardinal) : longbool; cdecl; WinDefWindowProcnull3099 function WinDefWindowProc(hwnd,msg : cardinal;mp1,mp2 : pointer) : pointer; cdecl; WinDestroyWindownull3100 function WinDestroyWindow(hwnd : cardinal) : longbool; cdecl; WinShowWindownull3101 function WinShowWindow(hwnd : cardinal;fShow : longbool) : longbool; cdecl; WinQueryWindowRectnull3102 function WinQueryWindowRect(hwnd : cardinal;var rclDest : TRectl) : longbool; cdecl; WinQueryWindowRectnull3103 function WinQueryWindowRect(hwnd : cardinal;prclDest : PRectl) : longbool; cdecl; WinGetPSnull3104 function WinGetPS(hwnd : cardinal) : cardinal; cdecl; WinReleasePSnull3105 function WinReleasePS(hps : cardinal) : longbool; cdecl; WinEndPaintnull3106 function WinEndPaint(hps : cardinal) : longbool; cdecl; WinGetClipPSnull3107 function WinGetClipPS(hwnd,hwndClip,fl : cardinal) : cardinal; cdecl; WinIsWindowShowingnull3108 function WinIsWindowShowing(hwnd : cardinal) : longbool; cdecl; WinBeginPaintnull3109 function WinBeginPaint(hwnd,hps : cardinal;var rclPaint : TRectl) : cardinal; cdecl; WinBeginPaintnull3110 function WinBeginPaint(hwnd,hps : cardinal;prclPaint: PRectl) : cardinal; cdecl; WinOpenWindowDCnull3111 function WinOpenWindowDC(hwnd : cardinal) : cardinal; cdecl; WinScrollWindownull3112 function WinScrollWindow(hwnd : cardinal;dx,dy : longint;var rclScroll,rclClip : TRectl;hrgnUpdate : cardinal;var rclUpdate : TRectl;rgfsw : cardinal) : longint; cdecl; WinScrollWindownull3113 function WinScrollWindow(hwnd : cardinal;dx,dy : longint;prclScroll,prclClip : PRectl;hrgnUpdate : cardinal;prclUpdate : PRectl;rgfsw : cardinal) : longint; cdecl; WinFillRectnull3114 function WinFillRect(hps : cardinal;var rcl : TRectl;lColor : longint) : longbool; cdecl; WinFillRectnull3115 function WinFillRect(hps : cardinal;prcl : PRectl;lColor : longint) : longbool; cdecl; WinQueryVersionnull3116 function WinQueryVersion(hab : cardinal) : cardinal; cdecl; WinInitializenull3117 function WinInitialize(flOptions : cardinal) : cardinal; cdecl; WinTerminatenull3118 function WinTerminate(hab : cardinal) : longbool; cdecl; WinQueryAnchorBlocknull3119 function WinQueryAnchorBlock(hwnd : cardinal) : cardinal; cdecl; WinCreateWindownull3120 function WinCreateWindow(hwndParent : cardinal;pszClass,pszName : pchar;flStyle : cardinal;x,y,cx,cy : longint;hwndOwner,hwndInsertBehind,id : cardinal;pCtlData,pPresParams : pointer) : cardinal; cdecl; WinCreateWindownull3121 function WinCreateWindow(hwndParent : cardinal;pszClass : cardinal;pszName : pchar;flStyle : cardinal;x,y,cx,cy : longint;hwndOwner,hwndInsertBehind,id : cardinal;pCtlData,pPresParams : pointer) : cardinal; cdecl; WinCreateWCWindownull3122 function WinCreateWCWindow(hwndParent : cardinal;pszClass : cardinal;pszName : pchar;flStyle : cardinal;x,y,cx,cy : longint;hwndOwner,hwndInsertBehind,id : cardinal;pCtlData,pPresParams : pointer) : cardinal; cdecl; WinEnableWindownull3123 function WinEnableWindow(hwnd : cardinal;fEnable : longbool) : longbool; cdecl; WinIsWindowEnablednull3124 function WinIsWindowEnabled(hwnd : cardinal) : longbool; cdecl; WinEnableWindowUpdatenull3125 function WinEnableWindowUpdate(hwnd : cardinal;fEnable : longbool) : longbool; cdecl; WinIsWindowVisiblenull3126 function WinIsWindowVisible(hwnd : cardinal) : longbool; cdecl; WinQueryWindowTextnull3127 function WinQueryWindowText(hwnd : cardinal;cchBufferMax : longint;pchBuffer : pchar) : longint; cdecl; WinSetWindowTextnull3128 function WinSetWindowText(hwnd : cardinal;pszText : pchar) : longbool; cdecl; WinQueryWindowTextLengthnull3129 function WinQueryWindowTextLength(hwnd : cardinal) : longint; cdecl; WinWindowFromIDnull3130 function WinWindowFromID(hwndParent,id : cardinal) : cardinal; cdecl; WinIsWindownull3131 function WinIsWindow(hab,hwnd : cardinal) : longbool; cdecl; WinQueryWindownull3132 function WinQueryWindow(hwnd : cardinal;cmd : longint) : cardinal; cdecl; WinMultWindowFromIDsnull3133 function WinMultWindowFromIDs(hwndParent : cardinal;var prghwnd : cardinal;idFirst,idLast : cardinal) : longint; cdecl; WinMultWindowFromIDsnull3134 function WinMultWindowFromIDs(hwndParent : cardinal;prghwnd : PCardinal;idFirst,idLast : cardinal) : longint; cdecl; WinSetParentnull3135 function WinSetParent(hwnd,hwndNewParent : cardinal;fRedraw : longbool) : longbool; cdecl; WinIsChildnull3136 function WinIsChild(hwnd,hwndParent : cardinal) : longbool; cdecl; WinSetOwnernull3137 function WinSetOwner(hwnd,hwndNewOwner : cardinal) : longbool; cdecl; WinQueryWindowProcessnull3138 function WinQueryWindowProcess(hwnd : cardinal;var _pid,_tid : cardinal) : longbool; cdecl; WinQueryWindowProcessnull3139 function WinQueryWindowProcess(hwnd : cardinal;_ppid,_ptid : PCardinal) : longbool; cdecl; WinQueryObjectWindownull3140 function WinQueryObjectWindow(hwndDesktop : cardinal) : cardinal; cdecl; WinQueryDesktopWindownull3141 function WinQueryDesktopWindow(hab,hdc : cardinal) : cardinal; cdecl; WinSetWindowPosnull3142 function WinSetWindowPos(hwnd,hwndInsertBehind : cardinal;x,y,cx,cy : longint;fl : cardinal) : longbool; cdecl; WinSetMultWindowPosnull3143 function WinSetMultWindowPos(hab : cardinal;var _swp : TSWP;cswp : cardinal) : longbool; cdecl; WinSetMultWindowPosnull3144 function WinSetMultWindowPos(hab : cardinal;_pswp : PSWP;cswp : cardinal) : longbool; cdecl; WinQueryWindowPosnull3145 function WinQueryWindowPos(hwnd : cardinal;var _swp : TSWP) : longbool; cdecl; WinQueryWindowPosnull3146 function WinQueryWindowPos(hwnd : cardinal;_pswp : PSWP) : longbool; cdecl; WinUpdateWindownull3147 function WinUpdateWindow(hwnd : cardinal) : longbool; cdecl; WinInvalidateRectnull3148 function WinInvalidateRect(hwnd : cardinal;var wrc : TRectl;fIncludeChildren : longbool) : longbool; cdecl; WinInvalidateRectnull3149 function WinInvalidateRect(hwnd : cardinal;pwrc : PRectl;fIncludeChildren : longbool) : longbool; cdecl; WinInvalidateRegionnull3150 function WinInvalidateRegion(hwnd,hrgn : cardinal;fIncludeChildren : longbool) : longbool; cdecl; WinInvertRectnull3151 function WinInvertRect(hps : cardinal;var rcl : TRectl) : longbool; cdecl; WinInvertRectnull3152 function WinInvertRect(hps : cardinal;prcl : PRectl) : longbool; cdecl; WinDrawBitmapnull3153 function WinDrawBitmap(hpsDst,hbm : cardinal;var wrcSrc : TRectl;var ptlDst : POINTL;clrFore : longint;clrBack : longint;fl : cardinal) : longbool; cdecl; WinDrawBitmapnull3154 function WinDrawBitmap(hpsDst,hbm : cardinal;pwrcSrc : PRectl;pptlDst : PPOINTL;clrFore : longint;clrBack : longint;fl : cardinal) : longbool; cdecl; WinDrawTextnull3155 function WinDrawText(hps : cardinal;cchText : longint;lpchText : pchar;var rcl : TRectl;clrFore,clrBack : longint;flCmd : cardinal) : longint; cdecl; WinDrawTextnull3156 function WinDrawText(hps : cardinal;cchText : longint;lpchText : pchar;prcl : PRectl;clrFore,clrBack : longint;flCmd : cardinal) : longint; cdecl; WinDrawBordernull3157 function WinDrawBorder(hps : cardinal;var rcl : TRectl;cx,cy : longint;clrFore,clrBack : longint;flCmd : cardinal) : longbool; cdecl; WinDrawBordernull3158 function WinDrawBorder(hps : cardinal;prcl : PRectl;cx,cy : longint;clrFore,clrBack : longint;flCmd : cardinal) : longbool; cdecl; WinLoadStringnull3159 function WinLoadString(hab,hmod,id : cardinal;cchMax : longint;pchBuffer : pchar) : longint; cdecl; WinLoadMessagenull3160 function WinLoadMessage(hab,hmod,id : cardinal;cchMax : longint;pchBuffer : pchar) : longint; cdecl; WinSetActiveWindownull3161 function WinSetActiveWindow(hwndDesktop,hwnd : cardinal) : longbool; cdecl; WinSubclassWindownull3162 function WinSubclassWindow(hwnd : cardinal;pfnwp : proc) : proc; cdecl; WinQueryClassNamenull3163 function WinQueryClassName(hwnd : cardinal;cchMax : longint;pch : pchar) : longint; cdecl; WinQueryClassInfonull3164 function WinQueryClassInfo(hab : cardinal;pszClassName : pchar;var _ClassInfo : TClassInfo) : longbool; cdecl; WinQueryClassInfonull3165 function WinQueryClassInfo(hab : cardinal;pszClassName : pchar;_PClassInfo : PClassInfo) : longbool; cdecl; WinQueryActiveWindownull3166 function WinQueryActiveWindow(hwndDesktop : cardinal) : cardinal; cdecl; WinIsThreadActivenull3167 function WinIsThreadActive(hab : cardinal) : longbool; cdecl; WinQuerySysModalWindownull3168 function WinQuerySysModalWindow(hwndDesktop : cardinal) : cardinal; cdecl; WinSetSysModalWindownull3169 function WinSetSysModalWindow(hwndDesktop,hwnd : cardinal) : longbool; cdecl; WinQueryWindowUShortnull3170 function WinQueryWindowUShort(hwnd : cardinal;index : longint) : word; cdecl; WinSetWindowUShortnull3171 function WinSetWindowUShort(hwnd : cardinal;index : longint;us : word) : longbool; cdecl; WinQueryWindowULongnull3172 function WinQueryWindowULong(hwnd : cardinal;index : longint) : cardinal; cdecl; WinSetWindowULongnull3173 function WinSetWindowULong(hwnd : cardinal;index : longint;ul : cardinal) : longbool; cdecl; WinQueryWindowPtrnull3174 function WinQueryWindowPtr(hwnd : cardinal;index : longint) : pointer; cdecl; WinSetWindowPtrnull3175 function WinSetWindowPtr(hwnd : cardinal;index : longint;p : pointer) : longbool; cdecl; WinSetWindowBitsnull3176 function WinSetWindowBits(hwnd : cardinal;index : longint;flData,flMask : cardinal) : longbool; cdecl; WinBeginEnumWindowsnull3177 function WinBeginEnumWindows(hwnd : cardinal) : cardinal; cdecl; WinGetNextWindownull3178 function WinGetNextWindow(henum : cardinal) : cardinal; cdecl; WinEndEnumWindowsnull3179 function WinEndEnumWindows(henum : cardinal) : longbool; cdecl; WinWindowFromPointnull3180 function WinWindowFromPoint(hwnd : cardinal;var ptl : TPointL;fChildren : longbool) : cardinal; cdecl; WinWindowFromPointnull3181 function WinWindowFromPoint(hwnd : cardinal;pptl : PPointL;fChildren : longbool) : cardinal; cdecl; WinMapWindowPointsnull3182 function WinMapWindowPoints(hwndFrom,hwndTo : cardinal;var prgptl : TPointL;cwpt : longint) : longbool; cdecl; WinMapWindowPointsnull3183 function WinMapWindowPoints(hwndFrom,hwndTo : cardinal;prgptl : PPointL;cwpt : longint) : longbool; cdecl; WinValidateRectnull3184 function WinValidateRect(hwnd : cardinal;var rcl : TRectl;fIncludeChildren : longbool) : longbool; cdecl; WinValidateRectnull3185 function WinValidateRect(hwnd : cardinal;prcl : PRectl;fIncludeChildren : longbool) : longbool; cdecl; WinValidateRegionnull3186 function WinValidateRegion(hwnd,hrgn : cardinal;fIncludeChildren : longbool) : longbool; cdecl; WinWindowFromDCnull3187 function WinWindowFromDC(hdc : cardinal) : cardinal; cdecl; WinQueryWindowDCnull3188 function WinQueryWindowDC(hwnd : cardinal) : cardinal; cdecl; WinGetScreenPSnull3189 function WinGetScreenPS(hwndDesktop : cardinal) : cardinal; cdecl; WinLockWindowUpdatenull3190 function WinLockWindowUpdate(hwndDesktop,hwndLockUpdate : cardinal) : longbool; cdecl; WinLockVisRegionsnull3191 function WinLockVisRegions(hwndDesktop : cardinal;fLock : longbool) : longbool; cdecl; WinQueryUpdateRectnull3192 function WinQueryUpdateRect(hwnd : cardinal;var rcl : TRectl) : longbool; cdecl; WinQueryUpdateRectnull3193 function WinQueryUpdateRect(hwnd : cardinal;prcl : PRectl) : longbool; cdecl; WinQueryUpdateRegionnull3194 function WinQueryUpdateRegion(hwnd,hrgn : cardinal) : longint; cdecl; WinExcludeUpdateRegionnull3195 function WinExcludeUpdateRegion(hps,hwnd : cardinal) : longint; cdecl; WinSendMsgnull3196 function WinSendMsg(hwnd,msg : cardinal;mp1,mp2 : pointer) : pointer; cdecl; WinCreateMsgQueuenull3197 function WinCreateMsgQueue(hab : cardinal;cmsg : longint) : cardinal; cdecl; WinDestroyMsgQueuenull3198 function WinDestroyMsgQueue(hmq : cardinal) : longbool; cdecl; WinQueryQueueInfonull3199 function WinQueryQueueInfo(hmq : cardinal;var mqi : TMQInfo;cbCopy : cardinal) : longbool; cdecl; WinQueryQueueInfonull3200 function WinQueryQueueInfo(hmq : cardinal;pmqi : PMQInfo;cbCopy : cardinal) : longbool; cdecl; WinCancelShutdownnull3201 function WinCancelShutdown(hmq : cardinal;fCancelAlways : longbool) : longbool; cdecl; WinGetMsgnull3202 function WinGetMsg(hab : cardinal;var _qmsg : TQMsg;hwndFilter,msgFilterFirst,msgFilterLast : cardinal) : longbool; cdecl; WinGetMsgnull3203 function WinGetMsg(hab : cardinal;_pqmsg : PQMsg;hwndFilter,msgFilterFirst,msgFilterLast : cardinal) : longbool; cdecl; WinPeekMsgnull3204 function WinPeekMsg(hab : cardinal;var _qmsg : TQMsg;hwndFilter,msgFilterFirst,msgFilterLast,fl : cardinal) : longbool; cdecl; WinPeekMsgnull3205 function WinPeekMsg(hab : cardinal;_pqmsg : PQMsg;hwndFilter,msgFilterFirst,msgFilterLast,fl : cardinal) : longbool; cdecl; WinDispatchMsgnull3206 function WinDispatchMsg(hab : cardinal;var _qmsg : TQMsg) : pointer; cdecl; WinDispatchMsgnull3207 function WinDispatchMsg(hab : cardinal;_pqmsg : PQMsg) : pointer; cdecl; WinPostMsgnull3208 function WinPostMsg(hwnd,msg : cardinal;mp1,mp2 : pointer) : longbool; cdecl; WinRegisterUserMsgnull3209 function WinRegisterUserMsg(hab,msgid : cardinal;datatype1,dir1,datatype2,dir2,datatyper : longint) : longbool; cdecl; WinRegisterUserDatatypenull3210 function WinRegisterUserDatatype(hab : cardinal;datatype,count : longint;var types : longint) : longbool; cdecl; WinSetMsgModenull3211 function WinSetMsgMode(hab : cardinal;classname : pchar;control : longint) : longbool; cdecl; WinSetSynchroModenull3212 function WinSetSynchroMode(hab : cardinal;mode : longint) : longbool; cdecl; WinInSendMsgnull3213 function WinInSendMsg(hab : cardinal) : longbool; cdecl; WinBroadcastMsgnull3214 function WinBroadcastMsg(hwnd,msg : cardinal;mp1,mp2 : pointer;rgf : cardinal) : longbool; cdecl; WinWaitMsgnull3215 function WinWaitMsg(hab,msgFirst,msgLast : cardinal) : longbool; cdecl; WinQueryQueueStatusnull3216 function WinQueryQueueStatus(hwndDesktop : cardinal) : cardinal; cdecl; WinQueryMsgPosnull3217 function WinQueryMsgPos(hab : cardinal;var ptl : TPointL) : longbool; cdecl; WinQueryMsgPosnull3218 function WinQueryMsgPos(hab : cardinal;pptl : PPointL) : longbool; cdecl; WinQueryMsgTimenull3219 function WinQueryMsgTime(hab : cardinal) : cardinal; cdecl; WinWaitEventSemnull3220 function WinWaitEventSem(hev,ulTimeout : cardinal) : cardinal; cdecl; WinRequestMutexSemnull3221 function WinRequestMutexSem(hmtx,ulTimeout : cardinal) : cardinal; cdecl; WinWaitMuxWaitSemnull3222 function WinWaitMuxWaitSem(hmux,ulTimeout:cardinal;var ulUser : cardinal) : cardinal; cdecl; WinWaitMuxWaitSemnull3223 function WinWaitMuxWaitSem(hmux,ulTimeout:cardinal;pulUser : PCardinal) : cardinal; cdecl; WinPostQueueMsgnull3224 function WinPostQueueMsg(hmq,msg : cardinal;mp1,mp2 : pointer) : longbool; cdecl; WinSetMsgInterestnull3225 function WinSetMsgInterest(hwnd,msg_class : cardinal;control : longint) : longbool; cdecl; WinSetClassMsgInterestnull3226 function WinSetClassMsgInterest(hab : cardinal;pszClassName : pchar;msg_class : cardinal;control : longint) : longbool; cdecl; WinSetFocusnull3227 function WinSetFocus(hwndDesktop,hwndSetFocus : cardinal) : longbool; cdecl; WinFocusChangenull3228 function WinFocusChange(hwndDesktop,hwndSetFocus,flFocusChange : cardinal) : longbool; cdecl; WinSetCapturenull3229 function WinSetCapture(hwndDesktop,hwnd : cardinal) : longbool; cdecl; WinQueryCapturenull3230 function WinQueryCapture(hwndDesktop : cardinal) : cardinal; cdecl; WinQueryFocusnull3231 function WinQueryFocus(hwndDesktop : cardinal) : cardinal; cdecl; WinGetKeyStatenull3232 function WinGetKeyState(hwndDesktop : cardinal;vkey : longint) : longint; cdecl; WinGetPhysKeyStatenull3233 function WinGetPhysKeyState(hwndDesktop : cardinal;sc : longint) : longint; cdecl; WinEnablePhysInputnull3234 function WinEnablePhysInput(hwndDesktop : cardinal;fEnable : longbool) : longbool; cdecl; WinIsPhysInputEnablednull3235 function WinIsPhysInputEnabled(hwndDesktop : cardinal) : longbool; cdecl; WinSetKeyboardStateTablenull3236 function WinSetKeyboardStateTable(hwndDesktop : cardinal;var KeyStateTable;fSet : longbool) : longbool; cdecl; WinSetKeyboardStateTablenull3237 function WinSetKeyboardStateTable(hwndDesktop : cardinal;pKeyStateTable : pointer;fSet : longbool) : longbool; cdecl; WinGetDlgMsgnull3238 function WinGetDlgMsg(hwndDlg : cardinal;var _qmsg : TQMsg) : longbool; cdecl; WinGetDlgMsgnull3239 function WinGetDlgMsg(hwndDlg : cardinal;_pqmsg : PQMsg) : longbool; cdecl; WinLoadDlgnull3240 function WinLoadDlg(hwndParent,hwndOwner : cardinal;pfnDlgProc : proc;hmod,idDlg : cardinal;pCreateParams : pointer) : cardinal; cdecl; WinDlgBoxnull3241 function WinDlgBox(hwndParent,hwndOwner : cardinal;pfnDlgProc : proc;hmod,idDlg : cardinal;pCreateParams : pointer) : cardinal; cdecl; WinDismissDlgnull3242 function WinDismissDlg(hwndDlg,usResult : cardinal) : longbool; cdecl; WinQueryDlgItemShortnull3243 function WinQueryDlgItemShort(hwndDlg,idItem : cardinal;var _Result : integer;fSigned : longbool) : longbool; cdecl; WinQueryDlgItemShortnull3244 function WinQueryDlgItemShort(hwndDlg,idItem : cardinal;PResult : PInteger;fSigned : longbool) : longbool; cdecl; WinSetDlgItemShortnull3245 function WinSetDlgItemShort(hwndDlg,idItem : cardinal;usValue : word;fSigned : longbool) : longbool; cdecl; WinSetDlgItemTextnull3246 function WinSetDlgItemText(hwndDlg,idItem : cardinal;pszText : pchar) : longbool; cdecl; WinQueryDlgItemTextnull3247 function WinQueryDlgItemText(hwndDlg,idItem : cardinal;cchBufferMax : longint;pchBuffer : pchar) : cardinal; cdecl; WinQueryDlgItemTextLengthnull3248 function WinQueryDlgItemTextLength(hwndDlg,idItem : cardinal) : longint; cdecl; WinDefDlgProcnull3249 function WinDefDlgProc(hwndDlg,msg : cardinal;mp1,mp2 : pointer) : pointer; cdecl; WinAlarmnull3250 function WinAlarm(hwndDesktop,rgfType : cardinal) : longbool; cdecl; WinMessageBoxnull3251 function WinMessageBox(hwndParent,hwndOwner : cardinal;pszText,pszCaption : pchar;idWindow,flStyle : cardinal) : cardinal; cdecl; 3252 (* 3253 function WinMessageBox2(hwndParent,hwndOwner: cardinal;pszText,pszCaption: PChar; idWindow: cardinal; MBInfo: PMB2Info): cardinal; cdecl; 3254 *) WinProcessDlgnull3255 function WinProcessDlg(hwndDlg : cardinal) : cardinal; cdecl; WinSendDlgItemMsgnull3256 function WinSendDlgItemMsg(hwndDlg,idItem,msg : cardinal;mp1,mp2 : pointer) : pointer; cdecl; WinMapDlgPointsnull3257 function WinMapDlgPoints(hwndDlg : cardinal;var prgwptl : TPointL;cwpt : cardinal;fCalcWindowCoords : longbool) : longbool; cdecl; WinMapDlgPointsnull3258 function WinMapDlgPoints(hwndDlg : cardinal;prgwptl : PPointL;cwpt : cardinal;fCalcWindowCoords : longbool) : longbool; cdecl; WinEnumDlgItemnull3259 function WinEnumDlgItem(hwndDlg,hwnd,code : cardinal) : cardinal; cdecl; WinSubstituteStringsnull3260 function WinSubstituteStrings(hwnd : cardinal;pszSrc : pchar;cchDstMax : longint;pszDst : pchar) : longint; cdecl; WinCreateDlgnull3261 function WinCreateDlg(hwndParent,hwndOwner : cardinal;pfnDlgProc : proc;var dlgt : TDlgTemplate;pCreateParams : pointer) : cardinal; cdecl; WinCreateDlgnull3262 function WinCreateDlg(hwndParent,hwndOwner : cardinal;pfnDlgProc : proc;pdlgt : PDlgTemplate;pCreateParams : pointer) : cardinal; cdecl; WinLoadMenunull3263 function WinLoadMenu(hwndFrame,hmod,idMenu : cardinal) : cardinal; cdecl; WinCreateMenunull3264 function WinCreateMenu(hwndParent : cardinal;lpmt : pointer) : cardinal; cdecl; WinPopupMenunull3265 function WinPopupMenu(hwndParent,hwndOwner,hwndMenu : cardinal;x,y,idItem : longint;fs : cardinal) : longbool; cdecl; WinCreateStdWindownull3266 function WinCreateStdWindow(hwndParent,flStyle : cardinal;var flCreateFlags : cardinal;pszClientClass,pszTitle : pchar;styleClient,hmod,idResources : cardinal;var hwndClient : cardinal) : cardinal; cdecl; WinCreateStdWindownull3267 function WinCreateStdWindow(hwndParent,flStyle : cardinal;pflCreateFlags : PCardinal;pszClientClass,pszTitle : pchar;styleClient,hmod,idResources : cardinal;phwndClient : PCardinal) : cardinal; cdecl; WinFlashWindownull3268 function WinFlashWindow(hwndFrame : cardinal;fFlash : longbool) : longbool; cdecl; WinCreateFrameControlsnull3269 function WinCreateFrameControls(hwndFrame : cardinal;var fcdata : TFrameCData;pszTitle : pchar) : longbool; cdecl; WinCreateFrameControlsnull3270 function WinCreateFrameControls(hwndFrame : cardinal;pfcdata : PFrameCData;pszTitle : pchar) : longbool; cdecl; WinCalcFrameRectnull3271 function WinCalcFrameRect(hwndFrame : cardinal;var rcl : TRectl;fClient : longbool) : longbool; cdecl; WinCalcFrameRectnull3272 function WinCalcFrameRect(hwndFrame : cardinal;prcl : PRectl;fClient : longbool) : longbool; cdecl; WinGetMinPositionnull3273 function WinGetMinPosition(hwnd : cardinal;var _swp : TSWP;var pptl : POINTL) : longbool; cdecl; WinGetMinPositionnull3274 function WinGetMinPosition(hwnd : cardinal;_pswp : PSWP;var pptl : POINTL) : longbool; cdecl; WinGetMaxPositionnull3275 function WinGetMaxPosition(hwnd : cardinal;var _swp : TSWP) : longbool; cdecl; WinGetMaxPositionnull3276 function WinGetMaxPosition(hwnd : cardinal;_pswp : PSWP) : longbool; cdecl; WinSaveWindowPosnull3277 function WinSaveWindowPos(hsvwp : cardinal;var _swp : TSWP;cswp : cardinal) : longbool; cdecl; WinSaveWindowPosnull3278 function WinSaveWindowPos(hsvwp : cardinal;_pswp : PSWP;cswp : cardinal) : longbool; cdecl; WinCopyRectnull3279 function WinCopyRect(hab : cardinal;var rclDst, rclSrc : TRectl) : longbool; cdecl; WinCopyRectnull3280 function WinCopyRect(hab : cardinal;prclDst, prclSrc : PRectl) : longbool; cdecl; WinSetRectnull3281 function WinSetRect(hab : cardinal;var rcl : TRectl;xLeft,yBottom,xRight,yTop : longint) : longbool; cdecl; WinSetRectnull3282 function WinSetRect(hab : cardinal;_prcl : PRectl;xLeft,yBottom,xRight,yTop : longint) : longbool; cdecl; WinIsRectEmptynull3283 function WinIsRectEmpty(hab : cardinal;var rcl : TRectl) : longbool; cdecl; WinIsRectEmptynull3284 function WinIsRectEmpty(hab : cardinal;prcl : PRectl) : longbool; cdecl; WinEqualRectnull3285 function WinEqualRect(hab : cardinal;var rcl1,rcl2 : TRectl) : longbool; cdecl; WinEqualRectnull3286 function WinEqualRect(hab : cardinal;prcl1,prcl2 : PRectl) : longbool; cdecl; WinSetRectEmptynull3287 function WinSetRectEmpty(hab : cardinal;var rcl : TRectl) : longbool; cdecl; WinSetRectEmptynull3288 function WinSetRectEmpty(hab : cardinal;prcl : PRectl) : longbool; cdecl; WinOffsetRectnull3289 function WinOffsetRect(hab : cardinal;var rcl : TRectl;cx,cy : longint) : longbool; cdecl; WinOffsetRectnull3290 function WinOffsetRect(hab : cardinal;prcl : PRectl;cx,cy : longint) : longbool; cdecl; WinInflateRectnull3291 function WinInflateRect(hab : cardinal;var rcl : TRectl;cx,cy : longint) : longbool; cdecl; WinInflateRectnull3292 function WinInflateRect(hab : cardinal;prcl : PRectl;cx,cy : longint) : longbool; cdecl; WinPtInRectnull3293 function WinPtInRect(hab : cardinal;var rcl : TRectl;var ptl : TPointL) : longbool; cdecl; WinPtInRectnull3294 function WinPtInRect(hab : cardinal;prcl : PRectl;pptl : PPointL) : longbool; cdecl; WinIntersectRectnull3295 function WinIntersectRect(hab : cardinal;var rclDst,rclSrc1,rclSrc2 : TRectl) : longbool; cdecl; WinIntersectRectnull3296 function WinIntersectRect(hab : cardinal;prclDst,prclSrc1,prclSrc2 : PRectl) : longbool; cdecl; WinUnionRectnull3297 function WinUnionRect(hab : cardinal;var rclDst,rclSrc1,rclSrc2 : TRectl) : longbool; cdecl; WinUnionRectnull3298 function WinUnionRect(hab : cardinal;prclDst,prclSrc1,prclSrc2 : PRectl) : longbool; cdecl; WinSubtractRectnull3299 function WinSubtractRect(hab : cardinal;var rclDst,rclSrc1,rclSrc2 : TRectl) : longbool; cdecl; WinSubtractRectnull3300 function WinSubtractRect(hab : cardinal;prclDst,prclSrc1,prclSrc2 : PRectl) : longbool; cdecl; WinMakeRectnull3301 function WinMakeRect(hab : cardinal;var wrc : TRectl) : longbool; cdecl; WinMakeRectnull3302 function WinMakeRect(hab : cardinal;pwrc : PRectl) : longbool; cdecl; WinMakePointsnull3303 function WinMakePoints(hab : cardinal;var wpt : TPointL;cwpt : cardinal) : longbool; cdecl; WinMakePointsnull3304 function WinMakePoints(hab : cardinal;pwpt : PPointL;cwpt : cardinal) : longbool; cdecl; WinQuerySysValuenull3305 function WinQuerySysValue(hwndDesktop : cardinal;iSysValue : longint) : longint; cdecl; WinSetSysValuenull3306 function WinSetSysValue(hwndDesktop : cardinal;iSysValue,lValue : longint) : longbool; cdecl; WinSetPresParamnull3307 function WinSetPresParam(hwnd,id,cbParam : cardinal;pbParam : pointer) : longbool; cdecl; WinQueryPresParamnull3308 function WinQueryPresParam(hwnd,id1,id2 : cardinal;var ulId : cardinal;cbBuf : cardinal;pbBuf : pointer;fs : cardinal) : cardinal; cdecl; WinQueryPresParamnull3309 function WinQueryPresParam(hwnd,id1,id2 : cardinal;pulId : PCardinal;cbBuf : cardinal;pbBuf : pointer;fs : cardinal) : cardinal; cdecl; WinRemovePresParamnull3310 function WinRemovePresParam(hwnd,id : cardinal) : longbool; cdecl; WinQuerySysColornull3311 function WinQuerySysColor(hwndDesktop : cardinal;clr,lReserved : longint) : longint; cdecl; WinSetSysColorsnull3312 function WinSetSysColors(hwndDesktop,flOptions,flFormat : cardinal;clrFirst : longint;cclr : cardinal;var clr : longint) : longbool; cdecl; WinSetSysColorsnull3313 function WinSetSysColors(hwndDesktop,flOptions,flFormat : cardinal;clrFirst : longint;cclr : cardinal;pclr : PLongint) : longbool; cdecl; WinStartTimernull3314 function WinStartTimer(hab,hwnd,idTimer,dtTimeout : cardinal) : cardinal; cdecl; WinStopTimernull3315 function WinStopTimer(hab,hwnd,idTimer : cardinal) : longbool; cdecl; WinGetCurrentTimenull3316 function WinGetCurrentTime(hab : cardinal) : cardinal; cdecl; WinLoadAccelTablenull3317 function WinLoadAccelTable(hab,hmod,idAccelTable : cardinal) : cardinal; cdecl; WinCopyAccelTablenull3318 function WinCopyAccelTable(haccel : cardinal;var _AccelTable : TAccelTable;cbCopyMax : cardinal) : cardinal; cdecl; WinCopyAccelTablenull3319 function WinCopyAccelTable(haccel : cardinal;_pAccelTable : PAccelTable;cbCopyMax : cardinal) : cardinal; cdecl; WinCreateAccelTablenull3320 function WinCreateAccelTable(hab : cardinal;var _AccelTable : TAccelTable) : cardinal; cdecl; WinCreateAccelTablenull3321 function WinCreateAccelTable(hab : cardinal;_pAccelTable : PAccelTable) : cardinal; cdecl; WinDestroyAccelTablenull3322 function WinDestroyAccelTable(haccel : cardinal) : longbool; cdecl; WinTranslateAccelnull3323 function WinTranslateAccel(hab,hwnd,haccel : cardinal;var _qmsg : TQMsg) : longbool; cdecl; WinTranslateAccelnull3324 function WinTranslateAccel(hab,hwnd,haccel : cardinal;_pqmsg : PQMsg) : longbool; cdecl; WinSetAccelTablenull3325 function WinSetAccelTable(hab,haccel,hwndFrame : cardinal) : longbool; cdecl; WinQueryAccelTablenull3326 function WinQueryAccelTable(hab,hwndFrame : cardinal) : cardinal; cdecl; WinTrackRectnull3327 function WinTrackRect(hwnd,hps : cardinal;var ti : TTrackInfo) : longbool; cdecl; WinTrackRectnull3328 function WinTrackRect(hwnd,hps : cardinal;pti : PTrackInfo) : longbool; cdecl; WinShowTrackRectnull3329 function WinShowTrackRect(hwnd : cardinal;fShow : longbool) : longbool; cdecl; WinSetClipbrdOwnernull3330 function WinSetClipbrdOwner(hab,hwnd : cardinal) : longbool; cdecl; WinSetClipbrdDatanull3331 function WinSetClipbrdData(hab,ulData,fmt,rgfFmtInfo : cardinal) : longbool; cdecl; WinQueryClipbrdDatanull3332 function WinQueryClipbrdData(hab,fmt : cardinal) : cardinal; cdecl; WinQueryClipbrdFmtInfonull3333 function WinQueryClipbrdFmtInfo(hab,fmt : cardinal;var prgfFmtInfo : cardinal) : longbool; cdecl; WinQueryClipbrdFmtInfonull3334 function WinQueryClipbrdFmtInfo(hab,fmt : cardinal;prgfFmtInfo : PCardinal) : longbool; cdecl; WinSetClipbrdViewernull3335 function WinSetClipbrdViewer(hab,hwndNewClipViewer : cardinal) : longbool; cdecl; WinEnumClipbrdFmtsnull3336 function WinEnumClipbrdFmts(hab,fmt : cardinal) : cardinal; cdecl; WinEmptyClipbrdnull3337 function WinEmptyClipbrd(hab : cardinal) : longbool; cdecl; WinOpenClipbrdnull3338 function WinOpenClipbrd(hab : cardinal) : longbool; cdecl; WinCloseClipbrdnull3339 function WinCloseClipbrd(hab : cardinal) : longbool; cdecl; WinQueryClipbrdOwnernull3340 function WinQueryClipbrdOwner(hab : cardinal) : cardinal; cdecl; WinQueryClipbrdViewernull3341 function WinQueryClipbrdViewer(hab : cardinal) : cardinal; cdecl; WinDestroyCursornull3342 function WinDestroyCursor(hwnd : cardinal) : longbool; cdecl; WinShowCursornull3343 function WinShowCursor(hwnd : cardinal;fShow : longbool) : longbool; cdecl; WinCreateCursornull3344 function WinCreateCursor(hwnd : cardinal;x,y,cx,cy : longint;fs : cardinal;var rclClip : TRectl) : longbool; cdecl; WinCreateCursornull3345 function WinCreateCursor(hwnd : cardinal;x,y,cx,cy : longint;fs : cardinal;prclClip : PRectl) : longbool; cdecl; WinQueryCursorInfonull3346 function WinQueryCursorInfo(hwndDesktop : cardinal;var _CursorInfo : TCursorInfo) : longbool; cdecl; WinQueryCursorInfonull3347 function WinQueryCursorInfo(hwndDesktop : cardinal;_pCursorInfo : PCursorInfo) : longbool; cdecl; WinSetPointernull3348 function WinSetPointer(hwndDesktop,hptrNew : cardinal) : longbool; cdecl; WinSetPointerOwnernull3349 function WinSetPointerOwner(hptr,pid : cardinal;fDestroy : longbool) : longbool; cdecl; WinShowPointernull3350 function WinShowPointer(hwndDesktop : cardinal;fShow : longbool) : longbool; cdecl; WinQuerySysPointernull3351