NWDSCreateContextHandle(3nw)


NWDSCreateContextHandle -- allocates memory for a new context structure and initializes it with default values

Synopsis

   #include <nwdsdc.h> 
   

N_EXTERN_LIBRARY (NWDSCCODE) NWDSCreateContextHandle (NWDSContextHandle N_FAR *newHandle);

Description

The parameters are as follows:

newHandle
(OUT) Points to the newly created context handle.

Return values

0x0000
SUCCESS

Non-zero Value
Error

Notices

NWDSCreateContextHandle allocates storage for a new context structure, initializes the structure with default values, and returns a handle to reference the context structure. This process differs from NWDSCreateContext in that the return code may now specify codes indicative of the reason for the failure.

Services

Directory

NCP calls

None

References

NWDSCreateContext(3nw), NWDSDuplicateContextHandle(3nw)


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