PRESUTIL_GET_MULTI_SZ_PROPERTY callback function

Retrieves a multiple string property from a property list and advances a pointer to the next property in the list. The PRESUTIL_GET_MULTI_SZ_PROPERTY type defines a pointer to this function.

Syntax

PRESUTIL_GET_MULTI_SZ_PROPERTY PresutilGetMultiSzProperty;

DWORD PresutilGetMultiSzProperty(
  LPWSTR *ppszOutValue,
  LPDWORD pcbOutValueSize,
  const PCLUSPROP_SZ pValueStruct,
  LPCWSTR pszOldValue,
  DWORD cbOldValueSize,
  LPBYTE *ppPropertyList,
  LPDWORD pcbPropertyListSize
)
{...}

Parameters

*ppszOutValue

Address of a pointer in which the multiple string value from the property list will be returned.

pcbOutValueSize

Pointer to the size of the output value.

pValueStruct

Pointer to a CLUSPROP_MULTI_SZ structure specifying the multiple string value to retrieve from the property list.

pszOldValue

Pointer to the previous value of the property.

cbOldValueSize

Pointer to the length of the previous value of the property.

*ppPropertyList

Address of the pointer to the property list buffer containing the multiple string property. This pointer will be advanced to the beginning of the next property.

pcbPropertyListSize

Pointer to the size of the property list buffer. The size will be decremented to account for the advance of the ppPropertyList pointer.

Return Value

If the operations succeeds, the function returns ERROR_SUCCESS.

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

Requirements

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

See Also

ResUtilGetBinaryProperty

ResUtilGetDwordProperty

ResUtilGetSzProperty