The following command suceeds in a normal environment, but not in my
service. I tried to let the service run as administrator, localsystem and
the currently logged on user with same outcome.I: is a SCSI cdrom...I tried
CDROM0 as well. The service was created with SERVICE_ALL_ACCESS.
HANDLE hDevice = CreateFile("\\\\.\\i:", GENERIC_READ,
NULL, // default security attributes
OPEN_EXISTING, // disposition
0, // file attributes
NULL); // do not copy file attributes
Thanks for any kind of help.