USB device plugging and message value generated in Windows

Source: Internet
Author: User

USB device plugging and message value generated in Windows

# Message filter hook wh_msgfilter = (-1 );

# Record input hook wh_journalrecord = 0;

# Insert Message hook wh_journalplayback = 1;

# Keyboard event hook wh_keyboard = 2;

# Check the message hook wh_getmessage = 3;

# Window Process hook (before calling) wh_callwndproc = 4;

# System window hook wh_cbt = 5;

# Message filter hook wh_sysmsgfilter = 6;

# Mouse message hook wh_mouse = 7;

# Hardware message hook wh_hardware = 8;

# System Call hook wh_debug = 9;

# Shell event hook wh_shell = 10;

# Front-end idle hook wh_foregroundidle = 11;

# Window Process hook (after call) wh_callwndprocret = 12

USB device plugging and the resulting message value: 537

From: http://blog.csdn.net/zhongyhc/article/details/6587305

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.