ResUtilSetPropertyParameterBlock

The ResUtilSetPropertyParameterBlock utility function is used to set properties in the cluster database from a parameter block.

DWORD WINAPI ResUtilSetPropertyParameterBlock(
  PVOID ClusterKey,                           
  const PRESUTIL_PROPERTY_ITEM PropertyTable,  
  PVOID Reserved,                       
  const LPBYTE InParams,                       
  const LPVOID InBuffer,                       
  DWORD InBufferSize,                       
  LPBYTE OutParams                   
);
 

Parameters

ClusterKey
[in] Cluster database key identifying the location for the properties to set.
PropertyTable
[in] Pointer to an array of RESUTIL_PROPERTY_ITEM structures describing the properties to set.
Reserved
[in] Reserved.
InParams
[in] Pointer to an input parameter block containing the data for the properties described in the property table pointed to by PropertyTable.
InBuffer
[in] Pointer to the input buffer containing a property list or NULL. If InBuffer is not NULL, any properties listed in the property list that are not listed in the property table will also be set in the cluster database.
InBufferSize
[in] Size in bytes of the input buffer pointed to by InBuffer.
OutParams
[out] Optional pointer to a parameter block to receive data copied from the InParams parameter.

Return Values

ERROR_SUCCESS
The properties were successfully set.
ERROR_INVALID_PARAMETER
The syntax, format, or type of a property in the property table pointed to by PropertyTable is incorrect or a property is read-only and cannot be updated.
ERROR_BAD_ARGUMENTS
One or more of the input parameters were invalid.

Notes to Callers

A parameter block is a buffer or structure that contains the data or pointers to data for the properties described in a property table.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.