[This is preliminary documentation and subject to change.]
Sets the header interface to be used for this instance of IComponent. You should note that this is used only by instances of IComponent.
HRESULT SetHeader(
LPHEADERCTRL pHeader // Pointer to IHeaderCtrl the interface
);
The snap-in must tell the console to release the interface by calling IConsole::SetHeader(NULL). The best time to do this is during a call to IComponent::Destroy.