Hi!
I arranged a tiny user mode application
intended to communicate with my driver.
Amongst others SetupDiGetClassDevs and RegisterDeviceNotification
functions are used.
The application works fine when is started in the usual way,
but fails when is started from service(Group: Pointer Port)
SetupDiGetClassDevs fails with error code 13 (ERROR_INVALID_DATA)
RegisterDeviceNotification fails with error code 1066
(ERROR_SERVICE_SPECIFIC_ERROR)
Platform: XP
Any ideas why it happens?
Andrew
Send and receive Hotmail on your mobile device: http://mobile.msn.com