IMFAttributes::SetUINT32 Method

Associates a UINT32 value with a key.

Syntax

public:
HRESULT SetUINT32(
         REFGUID guidKey,
         UINT32 unValue
)  

Parameters

guidKey
Type: REFGUID 

[in]

GUID that identifies the value to set. If this key already exists, the method overwrites the old value.

unValue
Type: UINT32 

New value for this key.

Return value

Type: HRESULT 

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codes
Return code Description
S_OK The method succeeded.

Refer to Media Foundation return codes.

Remarks

To retrieve the UINT32 value, call IMFAttributes::GetUINT32.

Requirements

Header: Declared in mfobjects.h (include mfidl.h).

Library: Use Mfuuid.lib.