No navigation frame on the left?  Click here.

NetServerDiskEnum

Another small one -- this sample enumerates the logical drives hooked up to a server. This one is made interesting by the misleading (well, wrong) documentation: info level 100 won't work, and the returned buffer does not contain any SERVER_INFO_100 structs. Instead, use info level 0 and read the comments in the function's doc page (or in the sample source below) for the format of the buffer. "Umarh," I hope this helps.

nsde.cpp, 2 KB