NWDSFreeContext

Frees a previously allocated NDS context.

NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98, Windows 2000, Windows XP
Library:Cross-Platform NDS (NET*.*)
Service:NDS

Syntax

C

  #include <nwnet.h> 
  or 
  #include <nwdsdc.h> 
   
  N_EXTERN_LIBRARY (NWDSCCODE)  NWDSFreeContext  ( 
     NWDSContextHandle   context);
  

Pascal

  uses netwin32 
   
  Function NWDSFreeContext 
    (context : NWDSContextHandle 
  ) : NWDSCCODE;
  

Parameters

context

(IN) Specifies the NDS context to be freed.

Return Values

0x0000 0000

SUCCESSFUL

nonzero value

Nonzero values indicate errors. See NDS Return Values (–001 to –799).

Remarks

All NDS contexts created by NWDSCreateContextHandle should be freed when the client is no longer using them. Doing so frees memory for the client.

NCP Calls

See Also

NWDSCreateContextHandle, NWDSGetContext, NWDSSetContext