Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5368

Capture Windows WM_DEVICECHANGE message and respond it

$
0
0

When a usb device being plugged in or off a port, the system can detect the message. Some solution is that using the "InstallWinMsgCallback ()" function to process the message, this way need that there must be a special cvi panel to receive the message. Due to my application is a Windows service, so I can not make a panel. I'd like to know is there any way to capture the message using the "RegisterWinMsgCallback()" function? If it will, how to do this? Thanks.

 

 

 

David

 

 

 


Viewing all articles
Browse latest Browse all 5368

Trending Articles