ResUtilGetPropertyFormats function (resapi.h)

Returns a property format list describing the format of a specified set of properties. The PRESUTIL_GET_PROPERTY_FORMATS type defines a pointer to this function.

Syntax

DWORD ResUtilGetPropertyFormats(
  [in]  const PRESUTIL_PROPERTY_ITEM pPropertyTable,
  [out] PVOID                        pOutPropertyFormatList,
  [in]  DWORD                        cbPropertyFormatListSize,
  [out] LPDWORD                      pcbBytesReturned,
  [out] LPDWORD                      pcbRequired
);

Parameters

[in] pPropertyTable

Pointer to a RESUTIL_PROPERTY_ITEM property table specifying the properties whose formats are to be retrieved.

[out] pOutPropertyFormatList

On input, pointer to a buffer. On a successful return, pointer to a property format list describing the format of each property specified by pPropertyTable.

[in] cbPropertyFormatListSize

Specifies the allocated size (in bytes) of the buffer pointed to by pOutPropertyFormatList.

[out] pcbBytesReturned

Pointer to the actual size (in bytes) of the property format list that results from the operation.

[out] pcbRequired

If the buffer pointed to by the pOutPropertyFormatList parameter is too small to hold the resulting data, pcbRequired points to the required buffer size (in bytes).

Return value

Returns ERROR_SUCCESS if the operation was successful.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Datacenter, Windows Server 2008 Enterprise
Target Platform Windows
Header resapi.h
Library ResUtils.lib
DLL ResUtils.dll

See also

CLUSCTL_CLUSTER_GET_COMMON_PROPERTY_FMTS

General Utility Functions

RESUTIL_PROPERTY_ITEM