IUIRibbon::SaveSettingsToStream method
Applies to: desktop apps only
Writes ribbon settings to a binary stream.
Syntax
HRESULT SaveSettingsToStream( [in] IStream *pStream );
Parameters
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The stream is handed off to the host application for storage as appropriate.
The SaveSettingsToStream method is useful for persisting ribbon state, such as Quick Access Toolbar (QAT) items, across application instances.
Requirements
|
Minimum supported client | Windows 7 |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 |
|
Product | Windows UI |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
- IUIRibbon
- Persisting Ribbon State
- IUIRibbon::LoadSettingsFromStream
- Windows Ribbon Framework Samples
Send comments about this topic to Microsoft
Build date: 2/15/2012