Allows the user to get the default name context.
#include <nwnet.h or #include <nwndscon.h> N_EXTERN_LIBRARY (NWDSCCODE) NWGetDefaultNameContext ( nuint16 bufferSize, pnuint8 context);
uses netwin32 Function NWGetDefaultNameContext (bufferSize : nuint16; context : pnuint8 ) : NWCCODE;
(IN) Specifies the maximum size of buffer.
(OUT) Points to a buffer retrieving the 256-byte default name context. A NULL-terminated string containing the name context is returned.
These are common return values; see NDS Return Values
for more information.
The name may have been set originally in net.cfg, or it could be set by calling NWSetDefaultNameContext. If the name context is empty, a NULL string is returned.