Click to See Complete Forum and Search --> : Win 3.11 GetDriveInfo


Richard
March 31st, 1999, 06:42 AM
Hi,


i have a problem with with the GetDriveInfo() Function under 16 Bit.

Under win95/98/NT the function returns DRIVE_CDROM. So i can recognise

the right type of the drive.

Under Win 3.0/3.11 i get only DRIVE_REMOTE, which means the same as it

would be a network drive.

I assume that there is another function or trick, how to get the right

information, because the filemanager under Win 3.11 shows a CD-ROM Icon

for the CD-Drive.


Can anybody help me?


Ciao, and thanks in forward,


Ric

Paul
March 31st, 1999, 01:51 PM
I'm not sure about this, but it's probably more involved than just a single

function call. Remember that the Windows 3.x API was developed before CD-

Drives became as popular as they are now (remember, Windows 3.x was shipping on

diskettes, not CD-ROM!). At that time, there wasn't really a compelling reason

to write a function that returned whether the remote drive is a CD-ROM.


I recall seeing some code that determined whether the remote drive was a CD-

Drive, but I can't remember where.


Regards,


Paul McKenzie