In the driver is writen (C++ code):
Code: Select all
status = IoCreateDevice(
DriverObject,
sizeof(DEVICE_EXTENSION),
&DeviceName,
FILE_DEVICE_CD_ROM, //0x02
FILE_REMOVABLE_MEDIA | FILE_READ_ONLY_DEVICE, //0x03
FALSE,
&NewDeviceObject
);
this creates a virtual cd rom device. The device appears in the openRequester window from every program (PB, Word, etc) from File->Open but nowhere else. What else sould be done to appear in My Computer too? The same driver used by a C++ application makes virtual drives that appear in My Computer, so something else must be called in order to appear there too, but what is it? DefineDosDevice used as:
DefineDosDevice_(0,"Z:","") didn't make any change. (Z is the letter of the drive created.)