NWSMMountVolume
Mounts a volume on a selected server
#include <nwsm.h>
or
#include <nwcalls.h>
N_EXTERN_LIBRARY NWCCODE NWSMMountVolume (
NWCONN_HANDLE connHandle,
const nstr8 N_FAR *volumeName,
pnuint32 volumeNumber);
uses calwin32
Function NWSMMountVolume
(connHandle : NWCONN_HANDLE;
volumeName : pnstr8;
volumeNumber : pnuint32
) : NWCCODE;
These are common return values; see Return Values (NDK: Connection, Message, and NCP Extensions) for more information.
You must be logged into connHandle, be permanently authenticated, and have console operator rights at the minimum to call NWSMMountVolume.
If upon mounting a volume, an error occurs, and if the set parameters are such that VREPAIR will automatically execute, VREPAIR will execute and NWSMMountVolume will not return until VREPAIR has completed. The volume is then mounted.