IMFAttributes::SetUINT64 Method

Associates a UINT64 value with a key.

Syntax

public:
HRESULT SetUINT64(
         REFGUID guidKey,
         UINT64 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: UINT64 

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 UINT64 value, call IMFAttributes::GetUINT64.

Requirements

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

Library: Use Mfuuid.lib.