IPXV_Inst::SaveHistory Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 3: Line 3:
 
{{#customTitle:IPXV_Inst::SaveHistory Method}}
 
{{#customTitle:IPXV_Inst::SaveHistory Method}}
 
{{#parentPage:PXV:IPXV_Inst#Methods|SaveHistory|method}}
 
{{#parentPage:PXV:IPXV_Inst#Methods|SaveHistory|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
Line 15: Line 14:
 
== Parameters ==
 
== Parameters ==
 
;pHistoryDest
 
;pHistoryDest
:[in]  Pointer to [[PXV:IAFS_Name|IAFS_Name]]/[[PXV:IAFS_File|IAFS_File]]/IStream.
+
:[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\PDFEditorSettings</tt>
 +
:<tt>HKEY_LOCAL_MACHINE\Software\MyApp\PDFEditorSettings</tt>
 +
 
 +
The list of supported registry-root names: <tt>HKEY_CLASSES_ROOT, HKCR, HKEY_CURRENT_USER, HKCU, HKEY_LOCAL_MACHINE, HKLM</tt>.
 
;pHistoryThumbsDest
 
;pHistoryThumbsDest
:[in]  Pointer to [[PXV:IAFS_Name|IAFS_Name]]/[[PXV:IAFS_File|IAFS_File]]/IStream.
+
:[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
 
;nFlags
 
:[in, defaultvalue(0)]  The reserved value.
 
:[in, defaultvalue(0)]  The reserved value.

Revision as of 14:51, 26 May 2015


Stores the documents opening history to specified storage.

Syntax

HRESULT SaveHistory([in]                   IUnknown*  pHistoryDest,
                    [in]                   IUnknown*  pHistoryThumbsDest,
                    [in, defaultvalue(0)]  LONG       nFlags);

Parameters

pHistoryDest
[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\PDFEditorSettings
HKEY_LOCAL_MACHINE\Software\MyApp\PDFEditorSettings

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

pHistoryThumbsDest
[in]  :[in] Pointer to IAFS_Name/IAFS_File/IStream. Also via IString you may specify path to local file.
nFlags
[in, defaultvalue(0)] The reserved value.

Return Value

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

See Also

IPXV_Inst