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

Gets the unsigned 32-bit integer value that is stored in the current IPropertyValue object.

Syntax

HRESULT GetUInt32(
  [out, retval] UINT32 *value
);

Parameters

[out, retval] value

Type: UINT32*

The unsigned 32-bit integer value.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK
The property value was returned successfully.
E_POINTER
value is NULL.
E_INCORRECT_TYPE
The type of value does not match the Type property.

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::CreateUInt32