ResUtilGetProperties

The ResUtilGetProperties utility function returns a property list containing specified properties for a cluster object.

DWORD WINAPI ResUtilGetProperties(
  PVOID ClusterKey,                           
  const PRESUTIL_PROPERTY_ITEM PropertyTable,  
  PVOID OutBuffer,                            
  DWORD OutBufferSize,                         
  LPDWORD BytesReturned,                      
  LPDWORD Required                            
);
 

Parameters

ClusterKey
[in] Pointer to the cluster database key that identifies the location of the properties to retrieve.
PropertyTable
[in] Pointer to an array of RESUTIL_PROPERTY_ITEM structures that describe the properties to retrieve.
OutBuffer
[out] Pointer to an output buffer in which to return the property list.
OutBufferSize
[in] Size in bytes of the output buffer pointed to by OutBuffer.
BytesReturned
[out] Pointer to the total number of bytes in the property list pointed to by OutBuffer.
Required
[out] Pointer to the number of bytes that is required if OutBuffer is too small.

Return Values

ERROR_SUCCESS
The requested properties were returned successfully.
ERROR_BAD_ARGUMENTS
One or more of the input parameters were invalid.
ERROR_NOT_ENOUGH_MEMORY
There was an error allocating memory.

If the operation was unsuccessful, ResUtilGetProperties can also return a Win32® error value.

QuickInfo

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