3.1.4.1.75 ApiNodeResourceTypeControl (Opnum 74)

(Protocol Version 2) The ApiNodeResourceTypeControl method instructs the server to initiate, on the specified resource type, an operation that is defined by the specified control code. If necessary, the operation is forwarded to and executed on the specified node.

The semantic behavior as well as all parameters with the exception of hNode are identical to the ApiResourceTypeControl method including parameter descriptions.

 error_status_t ApiNodeResourceTypeControl(
   [in] HCLUSTER_RPC hCluster,
   [in, string] LPCWSTR lpszResourceTypeName,
   [in] HNODE_RPC hNode,
   [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
 );

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