NWIsLNSSupportedOnVolume(3nw)


NWIsLNSSupportedOnVolume -- queries whether OS/2 name space is supported on target volume

Synopsis

   #include <nwmisc.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWIsLNSSupportedOnVolume (NWCONN_HANDLE conn, NWDIR_HANDLE dirHandle, pnstr8 path);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

dirHandle
(IN) Specifies the Directory handle associated with the volume whose status is being checked.

path
(IN) Points to the absolute directory path (or a path relative to the directory handle) associated with the volume whose status is being checked.

Return values

0x000
OS/2 name space not supported on volume

non-zero
OS/2 name space supported on volume

Notices

NWIsLNSSupportedOnVolume is used in OS/2 to determine whether DOS names or HPFS names should be used in paths.

In DOS and Windows, 0x0000 will always be returned.

In OS/2, if a non-zero value is returned, use HPFS names when calling NWCallsInit. On 3.11 servers and above, NWCallsInit expect HPFS names to be used on all volumes having the OS/2 name space loaded.

In OS/2, if dirHandle or path is invalid, 0x0000 will always be returned. Therefore, make sure dirHandle and path are valid before calling NWIsLNSSupportedOnVolume.

Services

Miscellaneous

NCP calls

0x2222 23 17
Get File Server Information

0x2222 23 234
Get Connection's Task Information

30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.