ResUtilGetPrivateProperties

The ResUtilGetPrivateProperties utility function returns private properties for a resource.

DWORD WINAPI ResUtilGetPrivateProperties(
  PVOID ClusterKey,
  PVOID OutBuffer, 
  DWORD OutBufferSize, 
  LPDWORD BytesReturned, 
  LPDWORD Required
);
 

Parameters

ClusterKey
[in] Pointer to the cluster database key that identifies the location of the private properties to retrieve.
OutBuffer
[out] Pointer to an output buffer in which a property list with the names and values of the private properties is returned.
OutBufferSize
[in] Size 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 to hold all of the private properties.

Return Values

ERROR_SUCCESS
The private 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, ResUtilGetPrivateProperties 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.