NWCCGetPrimConnRef
Returns the primary connection reference
#include <nwclxcon.h>
N_EXTERN_LIBRARY NWRCODE NWCCGetPrimConnRef (
pnuint32 connRef);
uses clxwin32
Function NWCCGetPrimConnRef
(connRef : pnuint32
) : NWRCODE;
These are common return values; see Return Values (Return Values for C) for more information.
The primary connection identifies the server to which the user originally logged in. For NDS, the primary connection reference is the connection with the writeable replica used during the login process.
If NWCCGetPrimConnRef is called on the NLM platform, NWE_FUNCTION_INVALID will be returned.