NWSMDismountVolumeByNumber
Dismounts a volume on a selected server
#include <nwsm.h>
or
#include <nwcalls.h>
N_EXTERN_LIBRARY NWCCODE NWSMDismountVolumeByNumber
(NWCONN_HANDLE connHandle,
nuint16 volumeNumber);
uses calwin32
Function NWSMDismountVolumeByNumber
(connHandle : NWCONN_HANDLE;
volumeNumber : nuint16
) : 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 NWSMDismountVolumeByNumber.