NWSubmitAccountHold
Reserves a specified amount of an object’s account balance before the object receives and is charged for a service on the network
#include <nwacct.h> or #include <nwcalls.h> NWCCODE N_API NWSubmitAccountHold ( NWCONN_HANDLE conn, nuint16 objType, const nstr8 N_FAR *objName, nint32 holdAmt);
uses calwin32 Function NWSubmitAccountHold (conn : NWCONN_HANDLE; objType : nuint16; objName : pnstr8; holdAmt : nint32 ) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
NWSubmitAccountHold reserves a specified amount of an object’s account balance that object receives and is charged for services on the network.
objType and objName must uniquely identify the object and cannot contain wildcard characters.
holdAmt gets the amount the server expects to charge for the service it is about to provide to the object.
NOTE:No more than 16 servers can reserve amounts of an object’s account balance at one time. Multiple holds from the same server are combined.