LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Capture Windows WM_DEVICECHANGE message and respond it

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

 

 

 

0 Kudos
Message 1 of 1
(4,410 Views)