IPropertyValue::GetUInt8Array method (windows.foundation.h)

Gets the array of unsigned 8-bit integer values that is stored in the current IPropertyValue object.

Syntax

HRESULT GetUInt8Array(
        UINT32 *valueLength,
  [out] BYTE   **value
);

Parameters

valueLength

[out] value

Type: BYTE**

The array of unsigned 8-bit integer values.

The returned pointer must be freed using CoTaskMemFree.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header windows.foundation.h

See also

IPropertyValue

IPropertyValueStatics::CreateUInt8Array