NWSetDefaultNameContext(3nw)


NWSetDefaultNameContext -- sets the default name context

Synopsis

   #include <nwnet.h> 
   see also 
   #include <nwndscon.h> 
   

NWCCODE N_API NWSetDefaultNameContext (nuint16 contextLength, nuint8 N_FAR * context);

Description

The parameters are as follows:

contextLength
(IN) Specifies the length of the context.

context
(IN) Points to the buffer containing the 256-byte default name context.

Return values

0x0000
SUCCESSFUL

0x8833
INVALID_BUFFER_LENGTH

Notices

The default name context may have been originally set in NET.CFG. If the name is longer than 256 bytes, it will be truncated.

To call NWSetDefaultNameContext in DOS or in Windows, VLMs must be running. Netx does not support NWSetDefaultNameContext and will return an error if VLMs are not running.

Services

Connection (Directory Support)

NCP calls

None

References

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