Removes the provided node from the transform graph.
HRESULT RemoveNode( [in] ID2D1TransformNode *node );
- node [in]
The node that will be removed from the transform graph.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
|S_OK||No error occurred|
|D2DERR_NOT_FOUND = (HRESULT_FROM_WIN32(ERROR_NOT_FOUND))||Direct2D could not locate the specified node.|
The node must already exist in the graph; otherwise, the call fails with D2DERR_NOT_FOUND.
Any connections to this node will be removed when the node is removed.
After the node is removed, it cannot be used by the interface until it has been added to the graph by AddNode.
Minimum supported client
|Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]|
Minimum supported server
|Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]|
Minimum supported phone
|Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]|