Chapter 3 talks about logical drives and network drive connections. The different code examples demonstrate drive-handling features in the Win32 API. CHAP3.CPP Visual C++ project file. Replace the file in the project with the different sample programs below. Note that MPR.LIB is required to compile several of the programs in this directory, and has been added to the link settings. DRVCONN.CPP This code enumerates the domains, machines and shared drives on a network. On each drive it lets you add a connection if you like. DRVENUM.CPP This code enumerates the domains, machines and shared drives on a network. DRVGC.CPP This code gets the remote name of a connection. DRVGETU.CPP This code gets the name of the user on the local or a remote machine. DRVGLD.CPP This code gets the in-use logical drive letters. DRVGLDS.CPP This code gets the logical drive strings and prints them to stdout. DRVGVI.CPP This code demonstrates the GetVolumeInformation function. DRVSIZE.CPP This code retrieves the size of a drive and its free space. DRVSVL.CPP This code sets the volume label for drive C. DRVTYPE.CPP This code demonstrates the GetDriveType function. MAKEFILE Change the APP variable in the makefile to compile the different example files under the SDK. Note that MPR.LIB is required to compile several of the programs in this directory.