Returns the first non-local drive
#include <nwdpath.h>
or
#include <nwcalls.h>
N_EXTERN_LIBRARY( NWCCODE )NWGetFirstDrive (
pnuint16 firstDrive);
uses calwin32
Function NWGetFirstDrive
(firstDrive : pnuint16
) : NWCCODE;
(OUT) Points to the first non-local drive (A=1, B=2, C=3. . .).
These are common return values; see Return Values (Return Values for C) for more information.
If an unknown error occurs while obtaining drive information, NWGetFirstDrive returns 0x000F; this is very rare.
Under NLM, INVALID_SHELL_CALL is always returned.