QtService & RegisterDeviceNotification
Qt Creator and other tools
1
Posts
1
Posters
5.0k
Views
1
Watching
-
Hi!
I wrote Windows service using QtService and try ti use RegisterDeviceNotification (QtServiceSysPrivate::instance->serviceStatus as service handle, guid for usb devices), but RegisterDeviceNotification return false and GetLastError return 1066 - The service has returned a service-specific error code. Can I use RegisterDeviceNotification with QtService? If yes - what I do wrong?