NWSMDismountVolumeByName
Dismounts a volume on a selected server
#include <nwsm.h> or #include <nwcalls.h> N_EXTERN_LIBRARY NWCCODE NWSMDismountVolumeByName ( NWCONN_HANDLE connHandle, const nstr8 N_FAR *volumeName);
uses calwin32 Function NWSMDismountVolumeByName (connHandle : NWCONN_HANDLE; volumeName : pnstr8 ) : 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 NWSMDismountVolumeByName.