Creates an NDS context and initializes it to the same settings as an existing NDS context. This function is obsolete. Call NWDSDuplicateContextHandle instead.
#include <nwnet.h> or #include <nwdsdc.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSDuplicateContext ( NWDSContextHandle oldContext);
uses netwin32 Function NWDSDuplicateContext (oldContext : NWDSContextHandle ) : NWDSContextHandle;
(IN) Specifies the NDS context to duplicate.
These are common return values; see NDS Return Values
for more information.
If successful, NWDSDuplicateContext returns a value identifying the created NDS context. The newly created context will have a copy of the contents of the NDS context specified by oldContext. If oldContext does not reference a valid NDS context, the new context will be initialized with default values as in NWDSCreateContextHandle.
The advantage in calling NWDSDuplicateContext is that it copies the context settings of the existing context. If you are using context settings that are not the default, NWDSDuplicateContext lets you avoid making some additional calls to modify the default context settings.