Returns the native NDS context handle of the context currently in use and allows access to other features of NDS using the native NDS functions
#include <nwdp_nsr.h>
N_EXTERN_LIBRARY (nint) NWDPNSrvGetNativeNDSContext (
NWDPAccessorRef accessorRef,
nuint32 contextHandlePtr);
(IN) Specifies the NWDPAccessorData structure whose fields are accessed by using the provided error macros.
(OUT) Points to the resulting NDS context handle.
0x00000000 |
N_SUCCESS |
0xFFFFFFFE |
NWDP_RC_INVALID_ACCESSOR |
0xFFFFFFFF |
N_FAILURE |
Before calling NWDPNSrvGetNativeNDSContext, you must call NWDPNSrvSetNativeNDSContext once per application to assign a contextHandle to accessorRef.
If NWDPNSrvGetNativeNDSContext returns N_FAILURE, the NWDPLibErrorMac (accessorRef) contains the following: