IPXV_Inst::SetStdFolder Method
From PDF XChange PDF SDK
Line 18: | Line 18: | ||
:[in] Specifies new path. | :[in] Specifies new path. | ||
;bUser | ;bUser | ||
− | :[in] Specify this flag to <tt>true</tt> to change user's folder or to <tt>false</tt> | + | :[in] Specify this flag to <tt>true</tt> to change user's folder or to <tt>false</tt> to change the application's folder. |
+ | |||
+ | == Remarks == | ||
+ | |||
+ | You may call this function ''before'' calling of [[PXV:IPXV_Inst_Init|IPXV_Inst::Init]] to change some program folders from default to custom. | ||
== Return Value == | == Return Value == |
Revision as of 16:22, 25 May 2015
Changes location of special program folder.
Syntax
HRESULT SetStdFolder([in] PXV_StdFolderID nFolderID, [in] BSTR pFolderPath, [in] VARIANT_BOOL bUser);
Parameters
- nFolderID
- [in] Values of PXV_StdFolderID enumeration.
- pFolderPath
- [in] Specifies new path.
- bUser
- [in] Specify this flag to true to change user's folder or to false to change the application's folder.
Remarks
You may call this function before calling of IPXV_Inst::Init to change some program folders from default to custom.
Return Value
Returns S_OK if operation was successful or error code in other cases.