Frees a previously allocated NDS context.
#include <nwnet.h>
or
#include <nwdsdc.h>
N_EXTERN_LIBRARY (NWDSCCODE) NWDSFreeContext (
NWDSContextHandle context);
uses netwin32
Function NWDSFreeContext
(context : NWDSContextHandle
) : NWDSCCODE;
(IN) Specifies the NDS context to be freed.
|
0x0000 0000 |
SUCCESSFUL |
|
nonzero value |
Nonzero values indicate errors. See |
All NDS contexts created by NWDSCreateContextHandle should be freed when the client is no longer using them. Doing so frees memory for the client.