MFTOPONODE_ATTRIBUTE_UPDATE structure
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; UINT32 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
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
See also