NWGetFileConnectionID(3nw)


NWGetFileConnectionID -- returns the connection handle of the server owning the specified file handle

Synopsis

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

NWCCODE N_API NWGetFileConnectionID (NWFILE_HANDLE fileHandle, NWCONN_HANDLE N_FAR * conn);

Description

The parameters are as follows:

fileHandle
(IN) Specifies the file handle.

conn
(OUT) Points to the connection handle.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x89FD
UNKNOWN_REQUEST

Notices

The server connection handle identifies a specific NetWare server to workstation connection.

NWGetFileConnectionID only works with VLMs loaded; it will not work with NETX. If NETX is loaded, UNKNOWN_REQUEST is returned.

Services

File Systems

NCP calls

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