QtService & RegisterDeviceNotification
Bobush last edited by
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?