const.cpp
上传用户:nbcables
上传日期:2007-01-11
资源大小:1243k
文件大小:21k
源码类别:

钩子与API截获

开发平台:

Visual C++

  1. #include "stdafx.h"
  2. #include "const.h"
  3. MSG_INFO g_msg_info[] =
  4. {
  5.     { "WM_NULL", WM_NULL},                                   // 0x0000
  6.     { "WM_CREATE", WM_CREATE},                               // 0x0001
  7.     { "WM_DESTROY", WM_DESTROY},                             // 0x0002
  8.     { "WM_MOVE", WM_MOVE},                                   // 0x0003
  9.     { "WM_SIZE", WM_SIZE},                                   // 0x0005
  10.     { "WM_ACTIVATE", WM_ACTIVATE},                           // 0x0006
  11.     { "WM_SETFOCUS", WM_SETFOCUS},                           // 0x0007
  12.     { "WM_KILLFOCUS", WM_KILLFOCUS},                         // 0x0008
  13.     { "WM_ENABLE", WM_ENABLE},                               // 0x000A
  14.     { "WM_SETREDRAW", WM_SETREDRAW},                         // 0x000B
  15.     { "WM_SETTEXT", WM_SETTEXT},                             // 0x000C
  16.     { "WM_GETTEXT", WM_GETTEXT},                             // 0x000D
  17.     { "WM_GETTEXTLENGTH", WM_GETTEXTLENGTH},                 // 0x000E
  18.     { "WM_PAINT", WM_PAINT},                                 // 0x000F
  19.     { "WM_CLOSE", WM_CLOSE},                                 // 0x0010
  20.     { "WM_QUERYENDSESSION", WM_QUERYENDSESSION},             // 0x0011
  21.     { "WM_QUIT", WM_QUIT},                                   // 0x0012
  22.     { "WM_QUERYOPEN", WM_QUERYOPEN},                         // 0x0013
  23.     { "WM_ERASEBKGND", WM_ERASEBKGND},                       // 0x0014
  24.     { "WM_SYSCOLORCHANGE", WM_SYSCOLORCHANGE},               // 0x0015
  25.     { "WM_ENDSESSION", WM_ENDSESSION},                       // 0x0016
  26.     { "WM_SHOWWINDOW", WM_SHOWWINDOW},                       // 0x0018
  27.     { "WM_WININICHANGE", WM_WININICHANGE},                   // 0x001A
  28.     { "WM_DEVMODECHANGE", WM_DEVMODECHANGE},                 // 0x001B
  29.     { "WM_ACTIVATEAPP", WM_ACTIVATEAPP},                     // 0x001C
  30.     { "WM_FONTCHANGE", WM_FONTCHANGE},                       // 0x001D
  31.     { "WM_TIMECHANGE", WM_TIMECHANGE},                       // 0x001E
  32.     { "WM_CANCELMODE", WM_CANCELMODE},                       // 0x001F
  33.     { "WM_SETCURSOR", WM_SETCURSOR},                         // 0x0020
  34.     { "WM_MOUSEACTIVATE", WM_MOUSEACTIVATE},                 // 0x0021
  35.     { "WM_CHILDACTIVATE", WM_CHILDACTIVATE},                 // 0x0022
  36.     { "WM_QUEUESYNC", WM_QUEUESYNC},                         // 0x0023
  37.     { "WM_GETMINMAXINFO", WM_GETMINMAXINFO},                 // 0x0024
  38.     { "WM_PAINTICON", WM_PAINTICON},                         // 0x0026
  39.     { "WM_ICONERASEBKGND", WM_ICONERASEBKGND},               // 0x0027
  40.     { "WM_NEXTDLGCTL", WM_NEXTDLGCTL},                       // 0x0028
  41.     { "WM_SPOOLERSTATUS", WM_SPOOLERSTATUS},                 // 0x002A
  42.     { "WM_DRAWITEM", WM_DRAWITEM},                           // 0x002B
  43.     { "WM_MEASUREITEM", WM_MEASUREITEM},                     // 0x002C
  44.         
  45.     { "WM_DELETEITEM", WM_DELETEITEM},                       // 0x002D
  46.         
  47.     { "WM_VKEYTOITEM", WM_VKEYTOITEM},                       // 0x002E
  48.      
  49.     { "WM_CHARTOITEM", WM_CHARTOITEM},                       // 0x002F
  50.      
  51.     { "WM_SETFONT", WM_SETFONT},                             // 0x0030
  52.         
  53.     { "WM_GETFONT", WM_GETFONT},                             // 0x0031
  54.         
  55.     { "WM_SETHOTKEY", WM_SETHOTKEY},                         // 0x0032
  56.      
  57.     { "WM_GETHOTKEY", WM_GETHOTKEY},                         // 0x0033
  58.      
  59.     { "WM_QUERYDRAGICON", WM_QUERYDRAGICON},                 // 0x0037
  60.         
  61.     { "WM_COMPAREITEM", WM_COMPAREITEM},                     // 0x0039
  62.         
  63.     { "WM_COMPACTING", WM_COMPACTING},                       // 0x0041
  64.         
  65.     { "WM_WINDOWPOSCHANGING", WM_WINDOWPOSCHANGING},         // 0x0046
  66.         
  67.     { "WM_WINDOWPOSCHANGED", WM_WINDOWPOSCHANGED},           // 0x0047
  68.         
  69.     { "WM_POWER", WM_POWER},                                 // 0x0048
  70.         
  71.     { "WM_COPYDATA", WM_COPYDATA},                           // 0x004A
  72.         
  73.     { "WM_CANCELJOURNAL", WM_CANCELJOURNAL},                 // 0x004B
  74.         
  75.     { "WM_NCCREATE", WM_NCCREATE},                           // 0x0081
  76.     
  77.     { "WM_NCDESTROY", WM_NCDESTROY},                         // 0x0082
  78.     
  79.     { "WM_NCCALCSIZE", WM_NCCALCSIZE},                       // 0x0083
  80.     
  81.     { "WM_NCHITTEST", WM_NCHITTEST},                         // 0x0084
  82.     
  83.     { "WM_NCPAINT", WM_NCPAINT},                             // 0x0085
  84.     
  85.     { "WM_NCACTIVATE", WM_NCACTIVATE},                       // 0x0086
  86.     
  87.     { "WM_GETDLGCODE", WM_GETDLGCODE},                       // 0x0087
  88.         
  89.     { "WM_NCMOUSEMOVE", WM_NCMOUSEMOVE},                     // 0x00A0
  90.     
  91.     { "WM_NCLBUTTONDOWN", WM_NCLBUTTONDOWN},                 // 0x00A1
  92.     
  93.     { "WM_NCLBUTTONUP", WM_NCLBUTTONUP},                     // 0x00A2
  94.     
  95.     { "WM_NCLBUTTONDBLCLK", WM_NCLBUTTONDBLCLK},             // 0x00A3
  96.     
  97.     { "WM_NCRBUTTONDOWN", WM_NCRBUTTONDOWN},                 // 0x00A4
  98.     
  99.     { "WM_NCRBUTTONUP", WM_NCRBUTTONUP},                     // 0x00A5
  100.     
  101.     { "WM_NCRBUTTONDBLCLK", WM_NCRBUTTONDBLCLK},             // 0x00A6
  102.     
  103.     { "WM_NCMBUTTONDOWN", WM_NCMBUTTONDOWN},                 // 0x00A7
  104.     
  105.     { "WM_NCMBUTTONUP", WM_NCMBUTTONUP},                     // 0x00A8
  106.     
  107.     { "WM_NCMBUTTONDBLCLK", WM_NCMBUTTONDBLCLK},             // 0x00A9
  108.     
  109.     { "EM_GETSEL", EM_GETSEL},                               // 0x00B0
  110.     
  111.     { "EM_SETSEL", EM_SETSEL},                               // 0x00B1
  112.     
  113.     { "EM_GETRECT", EM_GETRECT},                             // 0x00B2
  114.     
  115.     { "EM_SETRECT", EM_SETRECT},                             // 0x00B3
  116.     
  117.     { "EM_SETRECTNP", EM_SETRECTNP},                         // 0x00B4
  118.     
  119.     { "EM_SCROLL", EM_SCROLL},                               // 0x00B5
  120.     
  121.     { "EM_LINESCROLL", EM_LINESCROLL},                       // 0x00B6
  122.     
  123.     { "EM_SCROLLCARET", EM_SCROLLCARET},                     // 0x00B7
  124.     
  125.     { "EM_GETMODIFY", EM_GETMODIFY},                         // 0x00B8
  126.     
  127.     { "EM_SETMODIFY", EM_SETMODIFY},                         // 0x00B9
  128.     
  129.     { "EM_GETLINECOUNT", EM_GETLINECOUNT},                   // 0x00BA
  130.     
  131.     { "EM_LINEINDEX", EM_LINEINDEX},                         // 0x00BB
  132.     
  133.     { "EM_SETHANDLE", EM_SETHANDLE},                         // 0x00BC
  134.     
  135.     { "EM_GETHANDLE", EM_GETHANDLE},                         // 0x00BD
  136.     
  137.     { "EM_GETTHUMB", EM_GETTHUMB},                           // 0x00BE
  138.     
  139.     { "EM_LINELENGTH", EM_LINELENGTH},                       // 0x00C1
  140.     
  141.     { "EM_REPLACESEL", EM_REPLACESEL},                       // 0x00C2
  142.     
  143.     { "EM_GETLINE", EM_GETLINE},                             // 0x00C4
  144.     
  145.     { "EM_LIMITTEXT", EM_LIMITTEXT},                         // 0x00C5
  146.     
  147.     { "EM_CANUNDO", EM_CANUNDO},                             // 0x00C6
  148.     
  149.     { "EM_UNDO", EM_UNDO},                                   // 0x00C7
  150.     
  151.     { "EM_FMTLINES", EM_FMTLINES},                           // 0x00C8
  152.     
  153.     { "EM_LINEFROMCHAR", EM_LINEFROMCHAR},                   // 0x00C9
  154.     
  155.     { "EM_SETTABSTOPS", EM_SETTABSTOPS},                     // 0x00CB
  156.     
  157.     { "EM_SETPASSWORDCHAR", EM_SETPASSWORDCHAR},             // 0x00CC
  158.     
  159.     { "EM_EMPTYUNDOBUFFER", EM_EMPTYUNDOBUFFER},             // 0x00CD
  160.     
  161.     { "EM_GETFIRSTVISIBLELINE", EM_GETFIRSTVISIBLELINE},     // 0x00CE
  162.     
  163.     { "EM_SETREADONLY", EM_SETREADONLY},                     // 0x00CF
  164.     
  165.     { "EM_SETWORDBREAKPROC", EM_SETWORDBREAKPROC},           // 0x00D0
  166.     
  167.     { "EM_GETWORDBREAKPROC", EM_GETWORDBREAKPROC},           // 0x00D1
  168.     
  169.     { "EM_GETPASSWORDCHAR", EM_GETPASSWORDCHAR},             // 0x00D2
  170.     
  171.     { "SBM_SETPOS", SBM_SETPOS},                             // 0x00E0
  172.         
  173.     { "SBM_GETPOS", SBM_GETPOS},                             // 0x00E1
  174.         
  175.     { "SBM_SETRANGE", SBM_SETRANGE},                         // 0x00E2
  176.         
  177.     { "SBM_GETRANGE", SBM_GETRANGE},                         // 0x00E3
  178.         
  179.     { "SBM_ENABLE_ARROWS", SBM_ENABLE_ARROWS},               // 0x00E4
  180.         
  181.     { "SBM_SETRANGEREDRAW", SBM_SETRANGEREDRAW},             // 0x00E6
  182.         
  183.     { "BM_GETCHECK", BM_GETCHECK},                           // 0x00F0
  184.     
  185.     { "BM_SETCHECK", BM_SETCHECK},                           // 0x00F1
  186.     
  187.     { "BM_GETSTATE", BM_GETSTATE},                           // 0x00F2
  188.     
  189.     { "BM_SETSTATE", BM_SETSTATE},                           // 0x00F3
  190.     
  191.     { "BM_SETSTYLE", BM_SETSTYLE},                           // 0x00F4
  192.     
  193.     { "WM_KEYDOWN", WM_KEYDOWN},                             // 0x0100
  194.      
  195.     { "WM_KEYUP", WM_KEYUP},                                 // 0x0101
  196.      
  197.     { "WM_CHAR", WM_CHAR},                                   // 0x0102
  198.      
  199.     { "WM_DEADCHAR", WM_DEADCHAR},                           // 0x0103
  200.      
  201.     { "WM_SYSKEYDOWN", WM_SYSKEYDOWN},                       // 0x0104
  202.      
  203.     { "WM_SYSKEYUP", WM_SYSKEYUP},                           // 0x0105
  204.      
  205.     { "WM_SYSCHAR", WM_SYSCHAR},                             // 0x0106
  206.      
  207.     { "WM_SYSDEADCHAR", WM_SYSDEADCHAR},                     // 0x0107
  208.      
  209.     { "WM_WNT_CONVERTREQUESTEX", 0x0109},   // 0x0109
  210.     
  211.     { "WM_CONVERTREQUEST", 0x010A},               // 0x010A
  212.     
  213.     { "WM_CONVERTRESULT", 0x010B},                 // 0x010B
  214.     
  215.     { "WM_INTERIM", 0x010C},                                   // 0x010C
  216.     
  217.     { "WM_IME_STARTCOMPOSITION", WM_IME_STARTCOMPOSITION},   // 0x010D
  218.     
  219.     { "WM_IME_ENDCOMPOSITION",   WM_IME_ENDCOMPOSITION},     // 0x010E
  220.     
  221.     { "WM_IME_COMPOSITION",      WM_IME_COMPOSITION},        // 0x010F
  222.     
  223.     { "WM_INITDIALOG", WM_INITDIALOG},                       // 0x0110
  224.         
  225.     { "WM_COMMAND", WM_COMMAND},                             // 0x0111
  226.         
  227.     { "WM_SYSCOMMAND", WM_SYSCOMMAND},                       // 0x0112
  228.         
  229.     { "WM_TIMER", WM_TIMER},                                 // 0x0113
  230.         
  231.     { "WM_HSCROLL", WM_HSCROLL},                             // 0x0114
  232.         
  233.     { "WM_VSCROLL", WM_VSCROLL},                             // 0x0115
  234.         
  235.     { "WM_INITMENU", WM_INITMENU},                           // 0x0116
  236.         
  237.     { "WM_INITMENUPOPUP", WM_INITMENUPOPUP},                 // 0x0117
  238.         
  239.     { "WM_MENUSELECT", WM_MENUSELECT},                       // 0x011F
  240.         
  241.     { "WM_MENUCHAR", WM_MENUCHAR},                           // 0x0120
  242.         
  243.     { "WM_ENTERIDLE", WM_ENTERIDLE},                         // 0x0121
  244.         
  245.     { "WM_CTLCOLORMSGBOX", WM_CTLCOLORMSGBOX},               // 0x0132
  246.         
  247.     { "WM_CTLCOLOREDIT", WM_CTLCOLOREDIT},                   // 0x0133
  248.         
  249.     { "WM_CTLCOLORLISTBOX", WM_CTLCOLORLISTBOX},             // 0x0134
  250.         
  251.     { "WM_CTLCOLORBTN", WM_CTLCOLORBTN},                     // 0x0135
  252.         
  253.     { "WM_CTLCOLORDLG", WM_CTLCOLORDLG},                     // 0x0136
  254.         
  255.     { "WM_CTLCOLORSCROLLBAR", WM_CTLCOLORSCROLLBAR},         // 0x0137
  256.         
  257.     { "WM_CTLCOLORSTATIC", WM_CTLCOLORSTATIC},               // 0x0138
  258.         
  259.     { "CB_GETEDITSEL", CB_GETEDITSEL},                       // 0x0140
  260.     
  261.     { "CB_LIMITTEXT", CB_LIMITTEXT},                         // 0x0141
  262.     
  263.     { "CB_SETEDITSEL", CB_SETEDITSEL},                       // 0x0142
  264.     
  265.     { "CB_ADDSTRING", CB_ADDSTRING},                         // 0x0143
  266.     
  267.     { "CB_DELETESTRING", CB_DELETESTRING},                   // 0x0144
  268.     
  269.     { "CB_DIR", CB_DIR},                                     // 0x0145
  270.     
  271.     { "CB_GETCOUNT", CB_GETCOUNT},                           // 0x0146
  272.     
  273.     { "CB_GETCURSEL", CB_GETCURSEL},                         // 0x0147
  274.     
  275.     { "CB_GETLBTEXT", CB_GETLBTEXT},                         // 0x0148
  276.     
  277.     { "CB_GETLBTEXTLEN", CB_GETLBTEXTLEN},                   // 0x0149
  278.     
  279.     { "CB_INSERTSTRING", CB_INSERTSTRING},                   // 0x014A
  280.     
  281.     { "CB_RESETCONTENT", CB_RESETCONTENT},                   // 0x014B
  282.     
  283.     { "CB_FINDSTRING", CB_FINDSTRING},                       // 0x014C
  284.     
  285.     { "CB_SELECTSTRING", CB_SELECTSTRING},                   // 0x014D
  286.     
  287.     { "CB_SETCURSEL", CB_SETCURSEL},                         // 0x014E
  288.     
  289.     { "CB_SHOWDROPDOWN", CB_SHOWDROPDOWN},                   // 0x014F
  290.     
  291.     { "CB_GETITEMDATA", CB_GETITEMDATA},                     // 0x0150
  292.     
  293.     { "CB_SETITEMDATA", CB_SETITEMDATA},                     // 0x0151
  294.     
  295.     { "CB_GETDROPPEDCONTROLRECT", CB_GETDROPPEDCONTROLRECT}, // 0x0152
  296.     
  297.     { "CB_SETITEMHEIGHT", CB_SETITEMHEIGHT},                 // 0x0153
  298.     
  299.     { "CB_GETITEMHEIGHT", CB_GETITEMHEIGHT},                 // 0x0154
  300.     
  301.     { "CB_SETEXTENDEDUI", CB_SETEXTENDEDUI},                 // 0x0155
  302.     
  303.     { "CB_GETEXTENDEDUI", CB_GETEXTENDEDUI},                 // 0x0156
  304.     
  305.     { "CB_GETDROPPEDSTATE", CB_GETDROPPEDSTATE},             // 0x0157
  306.     
  307.     { "CB_FINDSTRINGEXACT", CB_FINDSTRINGEXACT},             // 0x0158
  308.     
  309.     { "CB_SETLOCALE", CB_SETLOCALE},                         // 0x0159
  310.     
  311.     { "CB_GETLOCALE", CB_GETLOCALE},                         // 0x015A
  312.     
  313.     { "STM_SETICON", STM_SETICON},                           // 0x0170
  314.     
  315.     { "STM_GETICON", STM_GETICON},                           // 0x0171
  316.     
  317.     { "LB_ADDSTRING", LB_ADDSTRING},                         // 0x0180
  318.     
  319.     { "LB_INSERTSTRING", LB_INSERTSTRING},                   // 0x0181
  320.     
  321.     { "LB_DELETESTRING", LB_DELETESTRING},                   // 0x0182
  322.     
  323.     { "LB_SELITEMRANGEEX", LB_SELITEMRANGEEX},               // 0x0183
  324.     
  325.     { "LB_RESETCONTENT", LB_RESETCONTENT},                   // 0x0184
  326.     
  327.     { "LB_SETSEL", LB_SETSEL},                               // 0x0185
  328.     
  329.     { "LB_SETCURSEL", LB_SETCURSEL},                         // 0x0186
  330.     
  331.     { "LB_GETSEL", LB_GETSEL},                               // 0x0187
  332.     
  333.     { "LB_GETCURSEL", LB_GETCURSEL},                         // 0x0188
  334.     
  335.     { "LB_GETTEXT", LB_GETTEXT},                             // 0x0189
  336.     
  337.     { "LB_GETTEXTLEN", LB_GETTEXTLEN},                       // 0x018A
  338.     
  339.     { "LB_GETCOUNT", LB_GETCOUNT},                           // 0x018B
  340.     
  341.     { "LB_SELECTSTRING", LB_SELECTSTRING},                   // 0x018C
  342.     
  343.     { "LB_DIR", LB_DIR},                                     // 0x018D
  344.     
  345.     { "LB_GETTOPINDEX", LB_GETTOPINDEX},                     // 0x018E
  346.     
  347.     { "LB_FINDSTRING", LB_FINDSTRING},                       // 0x018F
  348.     
  349.     { "LB_GETSELCOUNT", LB_GETSELCOUNT},                     // 0x0190
  350.     
  351.     { "LB_GETSELITEMS", LB_GETSELITEMS},                     // 0x0191
  352.     
  353.     { "LB_SETTABSTOPS", LB_SETTABSTOPS},                     // 0x0192
  354.     
  355.     { "LB_GETHORIZONTALEXTENT", LB_GETHORIZONTALEXTENT},     // 0x0193
  356.     
  357.     { "LB_SETHORIZONTALEXTENT", LB_SETHORIZONTALEXTENT},     // 0x0194
  358.     
  359.     { "LB_SETCOLUMNWIDTH", LB_SETCOLUMNWIDTH},               // 0x0195
  360.     
  361.     { "LB_ADDFILE", LB_ADDFILE},                             // 0x0196
  362.     
  363.     { "LB_SETTOPINDEX", LB_SETTOPINDEX},                     // 0x0197
  364.     
  365.     { "LB_GETITEMRECT", LB_GETITEMRECT},                     // 0x0198
  366.     
  367.     { "LB_GETITEMDATA", LB_GETITEMDATA},                     // 0x0199
  368.     
  369.     { "LB_SETITEMDATA", LB_SETITEMDATA},                     // 0x019A
  370.     
  371.     { "LB_SELITEMRANGE", LB_SELITEMRANGE},                   // 0x019B
  372.     
  373.     { "LB_SETANCHORINDEX", LB_SETANCHORINDEX},               // 0x019C
  374.     
  375.     { "LB_GETANCHORINDEX", LB_GETANCHORINDEX},               // 0x019D
  376.     
  377.     { "LB_SETCARETINDEX", LB_SETCARETINDEX},                 // 0x019E
  378.     
  379.     { "LB_GETCARETINDEX", LB_GETCARETINDEX},                 // 0x019F
  380.     
  381.     { "LB_SETITEMHEIGHT", LB_SETITEMHEIGHT},                 // 0x01A0
  382.     
  383.     { "LB_GETITEMHEIGHT", LB_GETITEMHEIGHT},                 // 0x01A1
  384.     
  385.     { "LB_FINDSTRINGEXACT", LB_FINDSTRINGEXACT},             // 0x01A2
  386.     
  387.     { "LB_SETLOCALE", LB_SETLOCALE},                         // 0x01A5
  388.     
  389.     { "LB_GETLOCALE", LB_GETLOCALE},                         // 0x01A6
  390.     
  391.     { "LB_SETCOUNT", LB_SETCOUNT},                           // 0x01A7
  392.     
  393.     { "WM_MOUSEMOVE", WM_MOUSEMOVE},                         // 0x0200
  394.     
  395.     { "WM_LBUTTONDOWN", WM_LBUTTONDOWN},                     // 0x0201
  396.     
  397.     { "WM_LBUTTONUP", WM_LBUTTONUP},                         // 0x0202
  398.     
  399.     { "WM_LBUTTONDBLCLK", WM_LBUTTONDBLCLK},                 // 0x0203
  400.     
  401.     { "WM_RBUTTONDOWN", WM_RBUTTONDOWN},                     // 0x0204
  402.     
  403.     { "WM_RBUTTONUP", WM_RBUTTONUP},                         // 0x0205
  404.     
  405.     { "WM_RBUTTONDBLCLK", WM_RBUTTONDBLCLK},                 // 0x0206
  406.     
  407.     { "WM_MBUTTONDOWN", WM_MBUTTONDOWN},                     // 0x0207
  408.     
  409.     { "WM_MBUTTONUP", WM_MBUTTONUP},                         // 0x0208
  410.     
  411.     { "WM_MBUTTONDBLCLK", WM_MBUTTONDBLCLK},                 // 0x0209
  412.     
  413.     { "WM_PARENTNOTIFY", WM_PARENTNOTIFY},                   // 0x0210
  414.     
  415.     { "WM_ENTERMENULOOP", WM_ENTERMENULOOP},                 // 0x0211
  416.         
  417.     { "WM_EXITMENULOOP", WM_EXITMENULOOP},                   // 0x0212
  418.         
  419.     { "WM_MDICREATE", WM_MDICREATE},                         // 0x0220
  420.         
  421.     { "WM_MDIDESTROY", WM_MDIDESTROY},                       // 0x0221
  422.         
  423.     { "WM_MDIACTIVATE", WM_MDIACTIVATE},                     // 0x0222
  424.         
  425.     { "WM_MDIRESTORE", WM_MDIRESTORE},                       // 0x0223
  426.         
  427.     { "WM_MDINEXT", WM_MDINEXT},                             // 0x0224
  428.         
  429.     { "WM_MDIMAXIMIZE", WM_MDIMAXIMIZE},                     // 0x0225
  430.         
  431.     { "WM_MDITILE", WM_MDITILE},                             // 0x0226
  432.         
  433.     { "WM_MDICASCADE", WM_MDICASCADE},                       // 0x0227
  434.         
  435.     { "WM_MDIICONARRANGE", WM_MDIICONARRANGE},               // 0x0228
  436.         
  437.     { "WM_MDIGETACTIVE", WM_MDIGETACTIVE},                   // 0x0229
  438.         
  439.     { "WM_MDISETMENU", WM_MDISETMENU},                       // 0x0230
  440.         
  441.     { "WM_ENTERSIZEMOVE", WM_ENTERSIZEMOVE},                 // 0x0231
  442.         
  443.     { "WM_EXITSIZEMOVE", WM_EXITSIZEMOVE},                   // 0x0232
  444.         
  445.     { "WM_DROPFILES", WM_DROPFILES},                         // 0x0233
  446.         
  447.     { "WM_MDIREFRESHMENU", WM_MDIREFRESHMENU},               // 0x0234
  448.         
  449.     { "WM_IME_REPORT", 0x0280},                              // 0x0280
  450.     { "WM_IME_SETCONTEXT",      WM_IME_SETCONTEXT},          // 0x0281
  451.     
  452.     { "WM_IME_NOTIFY",          WM_IME_NOTIFY},              // 0x0282
  453.     
  454.     { "WM_IME_CONTROL",         WM_IME_CONTROL},             // 0x0283
  455.     
  456.     { "WM_IME_COMPOSITIONFULL", WM_IME_COMPOSITIONFULL},     // 0x0284
  457.     
  458.     { "WM_IME_SELECT",          WM_IME_SELECT},              // 0x0285
  459.     
  460.     { "WM_IME_CHAR",            WM_IME_CHAR},                // 0x0286
  461.     
  462.     { "WM_IMEKEYDOWN", 0x0290},                       // 0x0290
  463.     { "WM_IMEKEYUP", 0x0291},                           // 0x0291
  464.     { "WM_CUT", WM_CUT},                                     // 0x0300
  465.     
  466.     { "WM_COPY", WM_COPY},                                   // 0x0301
  467.     
  468.     { "WM_PASTE", WM_PASTE},                                 // 0x0302
  469.     
  470.     { "WM_CLEAR", WM_CLEAR},                                 // 0x0303
  471.     
  472.     { "WM_UNDO", WM_UNDO},                                   // 0x0304
  473.     
  474.     { "WM_RENDERFORMAT", WM_RENDERFORMAT},                   // 0x0305
  475.     
  476.     { "WM_RENDERALLFORMATS", WM_RENDERALLFORMATS},           // 0x0306
  477.     
  478.     { "WM_DESTROYCLIPBOARD", WM_DESTROYCLIPBOARD},           // 0x0307
  479.     
  480.     { "WM_DRAWCLIPBOARD", WM_DRAWCLIPBOARD},                 // 0x0308
  481.     
  482.     { "WM_PAINTCLIPBOARD", WM_PAINTCLIPBOARD},               // 0x0309
  483.     
  484.     { "WM_VSCROLLCLIPBOARD", WM_VSCROLLCLIPBOARD},           // 0x030A
  485.     
  486.     { "WM_SIZECLIPBOARD", WM_SIZECLIPBOARD},                 // 0x030B
  487.     
  488.     { "WM_ASKCBFORMATNAME", WM_ASKCBFORMATNAME},             // 0x030C
  489.     
  490.     { "WM_CHANGECBCHAIN", WM_CHANGECBCHAIN},                 // 0x030D
  491.     
  492.     { "WM_HSCROLLCLIPBOARD", WM_HSCROLLCLIPBOARD},           // 0x030E
  493.     
  494.     { "WM_QUERYNEWPALETTE", WM_QUERYNEWPALETTE},             // 0x030F
  495.         
  496.     { "WM_PALETTEISCHANGING", WM_PALETTEISCHANGING},         // 0x0310
  497.         
  498.     { "WM_PALETTECHANGED", WM_PALETTECHANGED},               // 0x0311
  499.         
  500.     { "WM_HOTKEY", WM_HOTKEY},                               // 0x0312
  501.      
  502.     { "WM_DDE_INITIATE", 0x03E0},                   // 0x03E0
  503.      
  504.     { "WM_DDE_TERMINATE", 0x03E1},                 // 0x03E1
  505.      
  506.     { "WM_DDE_ADVISE", 0x03E2},                       // 0x03E2
  507.      
  508.     { "WM_DDE_UNADVISE", 0x03E3},                   // 0x03E3
  509.      
  510.     { "WM_DDE_ACK", 0x03E4},                             // 0x03E4
  511.      
  512.     { "WM_DDE_DATA", 0x03E5},                           // 0x03E5
  513.      
  514.     { "WM_DDE_REQUEST", 0x03E6},                     // 0x03E6
  515.      
  516.     { "WM_DDE_POKE", 0x03E7},                           // 0x03E7
  517.      
  518.     { "WM_DDE_EXECUTE", 0x03E8},                     // 0x03E8
  519. };
  520. int g_msg_count =sizeof(g_msg_info)/sizeof(MSG_INFO);