WM_DEVICECHANGE - USB 장치 삽입/제거 메세지
USB장치를 넣고, 뺄때, 감지할 수 있다.
The event that has occurred. This parameter can be one of the following values from the Dbt.h header file.
Value | Meaning |
---|---|
| A request to change the current configuration (dock or undock) has been canceled. |
| The current configuration has changed, due to a dock or undock. |
| A custom event has occurred. |
| A device or piece of media has been inserted and is now available. |
| Permission is requested to remove a device or piece of media. Any application can deny this request and cancel the removal. |
A request to remove a device or piece of media has been canceled. | |
| A device or piece of media has been removed. |
| A device or piece of media is about to be removed. Cannot be denied. |
| A device-specific event has occurred. |
| A device has been added to or removed from the system. |
| Permission is requested to change the current configuration (dock or undock). |
| The meaning of this message is user-defined |