IPXV_Inst::SetStdFolder Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT SetStdFolder([in] PXV_StdFolderID nFolderID, | <pre class="brush:cpp;gutter:false">HRESULT SetStdFolder([in] PXV_StdFolderID nFolderID, | ||
− | [in] BSTR | + | [in] BSTR sFolderPath, |
[in] VARIANT_BOOL bUser);</pre> | [in] VARIANT_BOOL bUser);</pre> | ||
Line 15: | Line 15: | ||
;nFolderID | ;nFolderID | ||
:[in] Values of [[PXV:PXV_StdFolderID|PXV_StdFolderID]] enumeration. | :[in] Values of [[PXV:PXV_StdFolderID|PXV_StdFolderID]] enumeration. | ||
− | ; | + | ;sFolderPath |
:[in] Specifies the path to the folder. | :[in] Specifies the path to the folder. | ||
;bUser | ;bUser | ||
Line 21: | Line 21: | ||
== Remarks == | == 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. | You may call this function ''before'' calling of [[PXV:IPXV_Inst_Init|IPXV_Inst::Init]] to change some program folders from default to custom. | ||
Revision as of 02:40, 4 June 2015
Changes location of special program folder.
Syntax
HRESULT SetStdFolder([in] PXV_StdFolderID nFolderID, [in] BSTR sFolderPath, [in] VARIANT_BOOL bUser);
Parameters
- nFolderID
- [in] Values of PXV_StdFolderID enumeration.
- sFolderPath
- [in] Specifies the path to the folder.
- 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.