IPXV_Inst::SaveUserSettings Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SaveUserSettings([in] IUnknown* pUserSettingsDest, [in, optional] BSTR pRegistryPathToSettings, [in, optional] LONG nFlags);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SaveUserSettings([in] IUnknown* pUserSettingsDest, [in, defaultvalue(0)] LONG nFlags);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;''pUserSettingsDest''
 
;''pUserSettingsDest''
 
:[in]  A pointer to '''IUnknown''' interface of specified storage. Valid types are [[PXV:IAFS_Name|IAFS_Name]], [[PXV:IAFS_File|IAFS_File]], and IStream.
 
:[in]  A pointer to '''IUnknown''' interface of specified storage. Valid types are [[PXV:IAFS_Name|IAFS_Name]], [[PXV:IAFS_File|IAFS_File]], and IStream.
;''pRegistryPathToSettings''
 
:[in, optional]  Value of BSTR containing the registry entry for this storage.
 
 
;''nFlags''
 
;''nFlags''
:[in, optional]  Value of LONG containing flags.
+
:[in, defaultvalue(0)]  Value of LONG containing flags.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 01:34, 17 April 2015

Save all user's preferences to specified storage.

Syntax

HRESULT SaveUserSettings([in] IUnknown* pUserSettingsDest, [in, defaultvalue(0)] LONG nFlags);

Parameters

pUserSettingsDest
[in] A pointer to IUnknown interface of specified storage. Valid types are IAFS_Name, IAFS_File, and IStream.
nFlags
[in, defaultvalue(0)] Value of LONG containing flags.

Return Value

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

See Also

See also IPXV_Inst, IAFS_Name, IAFS_File.