3.1.4.1.79 ApiNodeNodeControl (Opnum 78)

(Protocol Version 2) The ApiNodeNodeControl method instructs the server to initiate, on the node designated by hNode, an operation that is defined by the specified control code. The operation is forwarded to and executed on the node designated by hHostNode. The hNode parameter MUST NOT be set to the calling node.

The semantic behavior and all parameters, with the exception of hHostNode, are identical to the ApiNodeControl method, as specified in section 3.1.4.1.80.

 error_status_t ApiNodeNodeControl(
   [in] HNODE_RPC hNode,
   [in] HNODE_RPC hHostNode,
   [in] DWORD dwControlCode,
   [in, unique, size_is(nInBufferSize)] UCHAR *lpInBuffer,
   [in] DWORD nInBufferSize,
   [out, size_is(nOutBufferSize), 
     length_is (*lpBytesReturned)] UCHAR *lpOutBuffer,
   [in] DWORD nOutBufferSize,
   [out] DWORD *lpBytesReturned,
   [out] DWORD *lpcbRequired
 );

hHostNode: An HNODE_RPC context handle that is obtained in a previous ApiOpenNode method call.