NWDSFreeContext(3nw)


NWDSFreeContext -- frees a previously allocated Directory context

Synopsis

   #include <nwnet.h> 
   or 
   #include <nwdsdc.h> 
   

NWDSCCODE N_API NWDSFreeContext (NWDSContextHandle context);

Description

The parameters are as follows:

context
(IN) Specifies the Directory context to be freed.

Return values

0x0000
SUCCESSFUL

Negative Value
Negative values indicate errors. For errors returned by Directory Services, see ``Directory Services OS Errors'' (-001 to -255), ``Directory Services Client Library Errors'' (-301 to -399), or ``Directory Services Agent in the Server Errors'' (-601 to -699).

Notices

All Directory contexts created by NWDSCreateContext or NWDSDuplicateContext should be freed when the client is no longer using them. Doing so frees memory for the client.

Services

Directory

NCP calls

None

References

NWDSCreateContext(3nw), NWDSGetContext(3nw), NWDSSetContext(3nw)


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.