IConsole::SetHeader

[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
);
 

Parameter

pHeader
[in] Pointer to the IHeaderCtrl interface.

Return Values

S_OK
The header was successfully set.
E_UNEXPECTED
An unexpected error occurred.

Remarks

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.

See Also

IHeaderCtrl, IConsole