kb_data.h
资源名称:HookAPI [点击查看]
上传用户:nbcables
上传日期:2007-01-11
资源大小:1243k
文件大小:3k
源码类别:
钩子与API截获
开发平台:
Visual C++
- typedef struct
- {
- int left, top, right, bottom;
- char val, tval; // WM_CHAR
- BYTE scancode;
- BYTE vk_val; // WM_KEYDOWN
- }KB_DATA;
- KB_DATA g_kb_datas[]=
- {
- {6, 6, 50, 58, '`', '~', 29, 0xDE}, // `
- {55, 6, 99, 58, '1', '!', 2, '1'}, // 1
- {103, 6, 147, 58, '2', '@', 3, '2'},
- {151, 6, 195, 58, '3', '#', 4, '3'},
- {199, 6, 243, 58, '4', '#', 5, '4'},
- {247, 6, 291, 58, '5', '%', 6, '5'},
- {295, 6, 339, 58, '6', '^', 7, '6'},
- {343, 6, 386, 58, '7', '&', 8, '7'},
- {391, 6, 435, 58, '8', '*', 9, '8'},
- {439, 6, 483, 58, '9', '(', 0x0A, '9'},
- {487, 6, 531, 58, '0', ')', 0x0B, '0'},
- {535, 6, 578, 58, '-', '_', 0x0C, 0xBD},
- {583, 6, 628, 58, '=', '+', 0x0D, 0xBB},
- {631, 6, 699, 58, 8, 8, 0x0E, VK_BACK},
- {6, 62, 75, 115, 9, 9, 0x0F, VK_TAB},
- {78, 62, 123, 115, 'q', 'Q', 0x10, 'Q'},
- {126, 62, 171, 115, 'w', 'W', 0x11, 'W'},
- {174, 62, 219, 115, 'e', 'E', 0x12, 'E'},
- {222, 62, 267, 115, 'r', 'R', 0x13, 'R'},
- {270, 62, 315, 115, 't', 'T', 0x14, 'T'},
- {318, 62, 363, 115, 'y', 'Y', 0x15, 'Y'},
- {366, 62, 412, 115, 'u', 'U', 0x16, 'U'},
- {414, 62, 460, 115, 'i', 'I', 0x17, 'I'},
- {462, 62, 508, 115, 'o', 'O', 0x18, 'O'},
- {510, 62, 556, 115, 'p', 'P', 0x19, 'P'},
- {558, 62, 604, 115, '[', '{', 0x1A, 0xDB},//1A
- {606, 62, 652, 115, ']', '}', 0x1B, 0xDD},
- {654, 62, 698, 115, '\', '|', 0x2B, 0xDC},
- {6, 118, 87, 172, 0, 0, 0x3A, VK_CAPITAL},
- {90, 118, 135, 172, 'a', 'A', 0x1E, 'A'},
- {138, 118, 183, 172, 's', 'S', 0x1F, 'S'},
- {186, 118, 230, 172, 'd', 'D', 0x20, 'D'},
- {234, 118, 279, 172, 'f', 'F', 0x21, 'F'},
- {282, 118, 327, 172, 'g', 'G', 0x22, 'G'},
- {330, 118, 375, 172, 'h', 'H', 0x23, 'H'},
- {378, 118, 423, 172, 'j', 'J', 0x24, 'J'},
- {426, 118, 471, 172, 'k', 'K', 0x25, 'K'},
- {474, 118, 519, 172, 'l', 'L', 0x26, 'L'},
- {522, 118, 567, 172, ';', ':', 0x27, 0xBA},
- {570, 118, 615, 172, ''', '"', 0x28, 0xDE},
- {618, 118, 700, 172, 13, 13, 0x1C, VK_RETURN},
- {6, 174, 123, 228, 0, 0, 0x36, VK_SHIFT},
- {126, 174, 172, 228, 'z', 'Z', 0x2C, 'X'},
- {174, 174, 219, 228, 'x', 'X', 0x2D, 'X'},
- {222, 174, 267, 228, 'c', 'C', 0x2E, 'C'},
- {270, 174, 315, 228, 'v', 'V', 0x2F, 'V'},
- {318, 174, 364, 228, 'b', 'B', 0x30, 'B'},
- {366, 174, 411, 228, 'n', 'N', 0x31, 'N'},
- {414, 174, 459, 228, 'm', 'M', 0x32, 'M'},
- {462, 174, 507, 228, ',', '<', 0x33, 0xBC},
- {510, 174, 555, 228, '.', '>', 0x34, 0xBE},
- {558, 174, 604, 228, '/', '?', 0x35, 0xBF},
- {6, 230, 80, 276, 0, 0, 0x52, VK_INSERT},
- {122, 230, 196, 276, 0, 0, 0x53, VK_DELETE},
- {198, 230, 540, 276, ' ', ' ', 0x39, VK_SPACE},
- {626, 230, 720, 276, 27, 27, 1, VK_ESCAPE}
- };