PRESUTIL_GET_PROPERTIES callback function

Retrieves properties specified by a property table from the cluster database and returns them in a property list. The PRESUTIL_GET_PROPERTIES type defines a pointer to this function.

Syntax

PRESUTIL_GET_PROPERTIES PresutilGetProperties;

DWORD PresutilGetProperties(
  HKEY hkeyClusterKey,
  const PRESUTIL_PROPERTY_ITEM pPropertyTable,
  PVOID pOutPropertyList,
  DWORD cbOutPropertyListSize,
  LPDWORD pcbBytesReturned,
  LPDWORD pcbRequired
)
{...}

Parameters

hkeyClusterKey

Pointer to the cluster database key that identifies the location of the properties to retrieve.

pPropertyTable

Pointer to an array of RESUTIL_PROPERTY_ITEM structures that describe the properties to retrieve.

pOutPropertyList

Pointer to an output buffer in which to return the property list.

cbOutPropertyListSize

Size in bytes of the output buffer pointed to by pOutPropertyList.

pcbBytesReturned

Pointer to the total number of bytes in the property list pointed to by pOutPropertyList.

pcbRequired

Pointer to the number of bytes that is required if pOutPropertyList is too small.

Return Value

If the operations succeeds, the function returns ERROR_SUCCESS.

If the operation fails, the function returns a system error code. The following are possible error codes.

Requirements

   
Windows version None supported Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Target Platform Windows
Header resapi.h

See Also

ResUtilGetPrivateProperties