Handling connection notification between a desktop machine and Windows CE based devices
Introduction: There are two ways that a desktop application can get notification when a Windows CE-based device gets connected with the desktop application. Registry based notification: Registry based notification has two predefined events, AutoStartOnConnect and AutoStartOnDisconnect, each of which has its own Registry key.
Go here to read the rest:
Handling connection notification between a desktop machine and Windows CE based devices


