ID2D1SvgElement::GetAttributeValue(PCWSTR,REFIID,void**) method (d2d1svg.h)
Gets an attribute of this element as an interface type.
Syntax
HRESULT GetAttributeValue(
[in] PCWSTR name,
[in] REFIID riid,
void **value
);
Parameters
[in] name
Type: PCWSTR
The name of the attribute.
[in] riid
Type: REFIID
The interface ID of the attribute value.
value
Type: void**
The value of the attribute.
Return value
Type: HRESULT
This method returns an HRESULT success or error code. Returns an error if the attribute is not specified. Returns an error if the attribute name is not valid on this element. Returns an error if the attribute cannot be expressed as the specified interface type.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d2d1svg.h |
DLL | Direct2d.dll |