IPXV_Inst::SaveHistory Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SaveHistory([in]                  IUnknown*  pHistoryDest,
+
<pre class="brush:cpp;gutter:false">HRESULT SaveHistory([in]                  IUnknown*  HistoryDest,
                     [in]                  IUnknown*  pHistoryThumbsDest,
+
                     [in]                  IUnknown*  HistoryThumbsDest,
                     [in, defaultvalue(0)]  LONG      nFlags);</pre>
+
                     [in, defaultvalue(0)]  LONG      Flags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pHistoryDest
+
;HistoryDest
 
:[in]  Pointer to [[PXV:IAFS_Name|IAFS_Name]]/[[PXV:IAFS_File|IAFS_File]]/IStream object. Also via [[PXV:IString|IString]] you may specify path to local file or path to custom location in system's registry in format for example:
 
:[in]  Pointer to [[PXV:IAFS_Name|IAFS_Name]]/[[PXV:IAFS_File|IAFS_File]]/IStream object. Also via [[PXV:IString|IString]] you may specify path to local file or path to custom location in system's registry in format for example:
 
:<tt>HKEY_CURRENT_USER\Software\MyApp\PDFEditorRecents</tt>
 
:<tt>HKEY_CURRENT_USER\Software\MyApp\PDFEditorRecents</tt>
 
:<tt>HKEY_LOCAL_MACHINE\Software\MyApp\PDFEditoRecents</tt>
 
:<tt>HKEY_LOCAL_MACHINE\Software\MyApp\PDFEditoRecents</tt>
 
The list of supported registry-root names: <tt>HKEY_CLASSES_ROOT, HKCR, HKEY_CURRENT_USER, HKCU, HKEY_LOCAL_MACHINE, HKLM</tt>.
 
The list of supported registry-root names: <tt>HKEY_CLASSES_ROOT, HKCR, HKEY_CURRENT_USER, HKCU, HKEY_LOCAL_MACHINE, HKLM</tt>.
;pHistoryThumbsDest
+
;HistoryThumbsDest
 
:[in]  :[in]  Pointer to [[PXV:IAFS_Name|IAFS_Name]]/[[PXV:IAFS_File|IAFS_File]]/IStream.  Also via [[PXV:IString|IString]] you may specify path to local file.
 
:[in]  :[in]  Pointer to [[PXV:IAFS_Name|IAFS_Name]]/[[PXV:IAFS_File|IAFS_File]]/IStream.  Also via [[PXV:IString|IString]] you may specify path to local file.
;nFlags
+
;Flags
 
:[in, defaultvalue(0)]  The reserved parameter. Pass 0 there.
 
:[in, defaultvalue(0)]  The reserved parameter. Pass 0 there.
  

Revision as of 07:33, 12 June 2015


Stores the documents opening history to specified storage.

Syntax

HRESULT SaveHistory([in]                   IUnknown*  HistoryDest,
                    [in]                   IUnknown*  HistoryThumbsDest,
                    [in, defaultvalue(0)]  LONG       Flags);

Parameters

HistoryDest
[in] Pointer to IAFS_Name/IAFS_File/IStream object. Also via IString you may specify path to local file or path to custom location in system's registry in format for example:
HKEY_CURRENT_USER\Software\MyApp\PDFEditorRecents
HKEY_LOCAL_MACHINE\Software\MyApp\PDFEditoRecents

The list of supported registry-root names: HKEY_CLASSES_ROOT, HKCR, HKEY_CURRENT_USER, HKCU, HKEY_LOCAL_MACHINE, HKLM.

HistoryThumbsDest
[in]  :[in] Pointer to IAFS_Name/IAFS_File/IStream. Also via IString you may specify path to local file.
Flags
[in, defaultvalue(0)] The reserved parameter. Pass 0 there.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXV_Inst, IPXV_Inst::Init, IPXV_Inst::SaveUserSettings