NWOpenConnByReference(3nw)


NWOpenConnByReference -- opens connection referenced by calling NWScanConnInformation

Synopsis

   #include <nwconnec.h> 
   

NWCCODE N_API NWOpenConnByReference( nuint32 connRef, nuint connFlags, NWCONN_HANDLE N_FAR * conn);

Description

The parameters are as follows:

connRef
(IN) Indicates the reference handle identifying a valid connection you want to obtain a connection handle to.

connFlags
is currently unused.

conn
(OUT) Points to the returned connection handle and may be used for all requests directed to the connection.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

Notices

A reference handle can be used to get information about the connection, but a connection handle must be used to make actual requests to the connection.

Services

Connection

NCP calls

None

References

NWOpenConnByAddr(3nw), NWOpenConnByName(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.