[Mono-devel-list] patch: implements GetLogicalDrives for win32

Gonzalo Paniagua Javier gonzalo at ximian.com
Mon Nov 17 18:34:37 EST 2003


El lun, 17-11-2003 a las 21:51, Jordi Mas escribió:
> Hello,
> 
> I have just implemented the  GetLogicalDrives static member for Win32. Since, 
> I usually do not commit in corlib, I prefer someone familiar to have a look 
> and commit it. May there is a better place to put the DllImport like 
> Windows.cs. I'm not sure.

I think that the way to go here is to implement GetLogicalDrives in
mono/io-layer and an internal call in mono/metadata. The internal call
just uses GetLogicalDrive and do something with its return value to
generate the array. For *nix systems, may be we should read that data
from /etc/mtab.

-Gonzalo





More information about the Mono-devel-list mailing list