Sets the information in an NDS context handle.
#include <nwnet.h> or #include <nwdsdc.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSSetContext ( NWDSContextHandle context, nint key, nptr value);
uses netwin32 Function NWDSSetContext (context : NWDSContextHandle; key : nint; value : nptr ) : NWDSCCODE;
(IN) Specifies the context handle for the request.
(IN) Specifies the information to set (see Section 5.6, Context Keys and Flags).
(IN) Points to the values to use in changing the context handle information.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
Applications cannot directly change context handle information; they must use the NWDSSetContext function to change information.
The key parameter specifies the type of information to change, and the value parameter points to the new value. The value parameter must point to a variable matching the data type specified by the key parameter. For data types and defined keys, see Section 5.6, Context Keys and Flags.
The NWDSSetContext function must be called for each key that has information that needs to be modified.