Sets the initial drive on the specified NetWare server but is now obsolete.
#include <nwdpath.h>
or
#include <nwcalls.h>
N_EXTERN_LIBRARY (NWCCODE) NWSetInitDrive (
NWCONN_HANDLE conn);
uses calwin32
Function NWSetInitDrive
(conn : NWCONN_HANDLE
) : NWCCODE;
(IN) Specifies the NetWare server connection handle on which to set the initial drive.
These are common return values; see Return Values (Return Values for C) for more information.
NWSetInitDrive (obsolete 7/99) is used under OS/2 to set the mapping for drive L, the OS/2 drive containing the system login for attaching to a server.
NWSetInitDrive (obsolete 7/99) can be called from all platforms; however, it will only set the correct drive mapping under OS/2. When called from all other platforms, NWSetInitDrive (obsolete 7/99) returns SUCCESSFUL without setting the correct drive mapping.
Under NLM, INVALID_SHELL_CALL is always returned.