Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MFTOPONODE_ATTRIBUTE_UPDATE structure (mfidl.h)

Specifies a new attribute value for a topology node.

Syntax

typedef struct _MFTOPONODE_ATTRIBUTE_UPDATE {
 TOPOID NodeId;
 GUID guidAttributeKey;
 MF_ATTRIBUTE_TYPE attrType;
 union {
 UINT32 u32;
 UINT64 u64;
 double d;
 };
} MFTOPONODE_ATTRIBUTE_UPDATE;

Members

NodeId

The identifier of the topology node to update. To get the identifier of a topology node, call IMFTopologyNode::GetTopoNodeID.

guidAttributeKey

GUID that specifies the attribute to update.

attrType

Attribute type, specified as a member of the MF_ATTRIBUTE_TYPE enumeration.

u32

Attribute value (unsigned 32-bit integer). This member is used when attrType equals MF_ATTRIBUTE_UINT32.

u64

Attribute value (unsigned 32-bit integer). This member is used when attrType equals MF_ATTRIBUTE_UINT64. See Remarks.

d

Attribute value (floating point). This member is used when attrType equals MF_ATTRIBUTE_DOUBLE.

Remarks

Due to an error in the structure declaration, the u64 member is declared as a 32-bit integer, not a 64-bit integer. Therefore, any 64-bit value passed to the IMFTopologyNodeAttributeEditor::UpdateNodeAttributes method is truncated to 32 bits.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header mfidl.h

See also

IMFTopologyNodeAttributeEditor::UpdateNodeAttributes

Media Foundation Structures

TOPOID


Feedback

Was this page helpful?

Additional resources