The drive definitions have been moved out of the ~/.wine/config file and into the filesystem and registry. The volume management functions modify drives are now supported(thanks Eric and Alexandre). Having winecfg use these functions makes the drive dialog useable for editing drive mappings, something we need before we can turn winecfg loose on end users. Feel free to try this patch out and report how it works.
* programs/winecfg/winecfg.c, winecfg.h, resource.h, En.rc, Makefile.in, drive.c Chris Morgan cmorgan@alum.wpi.edu Implemented an array of 26 drives and interface functions for adding, copying, moving and deleting drives. Added a "Show/Hide Advanced" button in the drive edit dialog that toggles the display of advanced options and resizes/moves controls. Disable the 'autodetect' radio button in the drive edit dialog until we have autodetection support. Map window 'x' button to dialog close.
Added PRINTERROR() to call GetLastError(), translate into a plaintext message and print via WINE_TRACE().
Comments, questions?
Thanks, Chris