NWCCOpenConnByRef(3nw)
NWCCOpenConnByRef --
opens a connection associated with the given connection reference
Synopsis
#include <nwclxcon.h>
N_EXTERN_LIBRARY NWRCODE NWCCOpenConnByRef
(nuint32 connRef,
NWCCOpenState openState,
NWCONN_HANDLE N_FAR
connHandle);
Description
The parameters are as follows:
- connRef
-
(IN) Specifies a reference which identifies a valid connection.
- openState
-
(IN) Specifies the state of the connection.
- connHandle
-
(OUT) Points to the connection handle to be returned.
Return values
- 0x0000
-
SUCCESS
- 0x8801
-
NWE_CONN_INVALID
- 0x8869
-
NWE_ACCESS_VIOLATION
Notices
NWCCScanConnRefs can be called to get the connection reference.
connRef can be used to get information about the connection, but a valid connection handle must be used to make actual requests to the connection.
openState can have the following values:
- 0x0001
-
NWCC_OPEN_LICENSED
- 0x0002
-
NWCC_OPEN_UNLICENSED
Services
Connection
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.