NWDPResListCallback

Returns information through NWDPResListResource

Local Servers: N/A
Remote Servers: blocking
NetWare Server: 4.11, 5.x
Platform: NLM, Windows 95, Windows 98
Service: Distributed Print


Syntax

#include <nwdp_res.h>  

N_TYPEDEF_CALLBACK (nint) NWDPResListCallback (
NWDPAccessorRef accessorRef,
nparam listAttributesCallbackParam2,
nint totalCallsToBeMade,
nint currentCallCount,
pNWDPResListCallbackItem resListItemPtr);


Parameters

accessorRef

(IN) Specifies the NWDPAccessorData structure whose fields are accessed by using the provided error macros.


listAttributesCallbackParam2

(IN) Specifies a user-defined contextual variable used by the callback routine.


totalCallsToBeMade

(IN) Specifies the number of times to call NWDPResListCallback.


currentCallCount

(IN) Specifies the number of times NWDPResListCallback has been called.


resListItemPtr

(IN) Points to the NWDPResListCallbackItem structure.


Return Values

0x00000000

N_SUCCESS

0xFFFFFFFE

NWDP_RC_INVALID_ACCESSOR

0xFFFFFFFF

N_FAILURE


Remarks

For the listCallbackParam2 parameter, NWDPResListCallback uses the contextual variable to create the following:

If NWDPResListCallback returns N_FAILURE, the NWDPLibErrorMac (accessorRef) contains the following:

0x01100001L NWDP_EC_RESMAN_RESULT


See Also

NWDPResListResource