NWRequest(3nw)


NWRequest -- passes NCP request to server

Synopsis

   #include <nwmisc.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWRequest (NWCONN_HANDLE conn, nuint16 function, nuint16 numReqFrags, NW_FRAGMENT N_FAR * reqFrags, nuint16 numReplyFrags, NW_FRAGMENT N_FAR * replyFrags);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

function
(OUT) Receives the NCP function number.

numReqFrags
(OUT) Receives the number of fragments pointed to by reqFrags; the maximum is five.

reqFrags
(OUT) Points to the list of request fragments.

numReplyFrags
(OUT) Receives the number of fragments pointed to by replyFrags; the maximum is five.

replyFrags
(OUT) Points to NW_FRAGMENT containing the list of reply fragments.

Return values

0x0000
SUCCESSFUL

other
Error from NCP or Requester

Notices

The request and reply fragment buffers should not overlap. The total length of the request and reply fragments should not exceed 576 bytes.

Services

Miscellaneous

NCP calls

None
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.