NWRemoveObjectDiskRestrictions

Removes any disk restrictions for the specified object, for the specified volume, on the specified server

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Volume

Syntax

   #include <nwvol.h> 
   or 
   #include <nwcalls.h> 
    
   N_EXTERN_LIBRARY( NWCCODE ) NWRemoveObjectDiskRestrictions  ( 
      NWCONN_HANDLE   conn,  
      nuint8          volNum,  
      nuint32         objID); 
   
   

Pascal Syntax

   uses calwin32 
    
   Function NWRemoveObjectDiskRestrictions 
     (conn : NWCONN_HANDLE; 
      volNum : nuint8; 
      objID : nuint32 
   ) : NWCCODE; 
   
   

Parameters

conn
(IN) Specifies the NetWare server connection handle.
volNum
(IN) Specifies the volume number for which to remove restrictions.
objID
(IN) Specifies the object ID for which to remove restrictions.

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

0x898C

NO_MODIFY_PRIVILEGES

0x8998

VOLUME_DOES_NOT_EXIST

0x89FE

NetWare Error (object has no restrictions)

NCP Calls