NWAFPSupported

Reports whether the AFP is supported on a server volume

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:AFP

Syntax

  #include <nwafp.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE NWAPI  NWAFPSupported  ( 
     NWCONN_HANDLE   conn,  
     nuint16         volNum);
  

Delphi Syntax

  uses calwin32 
   
  Function NWAFPSupported 
    (conn : NWCONN_HANDLE; 
     volNum : nuint16 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
volNum
(IN) Specifies the volume number to test.

Return Values

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

0x0000

AFP supported

Nonzero

AFP not supported

NCP Calls

See Also

NWReadNSInfo (Multiple and Inter-File Services), NWGetVolumeName (Volume Management), NWAFPGetEntryIDFromPathName