IDrawDecorator_SetParent() inherits wholly from IDecorator_SetParent().
- p:Pointer to the IDrawDecorator object.
- c:Pointer to the IContainer object that will act as the draw decorator's parent, or NULL if the draw decorator is being orphaned.
void IDrawDecorator_SetParent(IDrawDecorator *p, IContainer *c);
IDrawDecorator_SetParent() should only be called by a container that is managing the draw decorator.
Draw decorators must not refcount their parents. It is the parent's responsibility to set the parent pointer of all child objects to NULL prior to the parent being deleted.