Returns information about an NDS context handle.
#include <nwnet.h> or #include <nwdsdc.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSGetContext ( NWDSContextHandle context, nint key, nptr value);
uses netwin32 Function NWDSGetContext (context : NWDSContextHandle; key : nint; value : nptr ) : NWDSCCODE;
(IN) Specifies the context handle to be queried.
(IN) Specifies the information to be retrieved (see Section 5.6, Context Keys and Flags).
(OUT) Points to the context handle information.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
Applications cannot directly access context handle information. Applications must use the NWDSGetContext function to retrieve context information.
The key parameter specifies the type of information to retrieve, and the value parameter points to the information retrieved. The value parameter must point to a variable that matches the data type specified by the key parameter. For data types and defined keys, see Section 5.6, Context Keys and Flags.
The NWDSGetContext function must be called repetitively to retrieve information contained in multiple keys.