IPXV_Inst::SaveHistory Method

From PDF XChange PDF SDK
Jump to: navigation, search


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\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.

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 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