IPXV_Inst::CreateStdPresetsCallbacks Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 5: Line 5:
 
{{ToReview}}
 
{{ToReview}}
  
Creates new object that implements [[PXV:IPXV_PresetsListCallbacks|IPXV_PresetsListCallbacks]] interface in standard way and provides access to settings presets database.
+
Creates new object that implements [[PXV:IPXV_PresetsListCallbacks|IPXV_PresetsListCallbacks]] interface in standard way and provides access to the settings presets database.
  
 
== Syntax ==
 
== Syntax ==

Revision as of 16:36, 24 May 2015


Creates new object that implements IPXV_PresetsListCallbacks interface in standard way and provides access to the settings presets database.

Syntax

HRESULT CreateStdPresetsCallbacks([in]                      BSTR                         pPathToPresetsArr,
                                  [in]                      IPXV_PresetsIoCallbacks*     pCustomIoCallbacks,
                                  [in, defaultvalue(NULL)]  ICab*                        pCustomStorage,
                                  [in, defaultvalue(0)]     LONG                         nListStyle,
                                  [out, retval]             IPXV_PresetsListCallbacks**  ppRes);

Parameters

pPathToPresetsArr
[in] Specifies path to presets node in global or custom storage of parameters.
pCustomIoCallbacks
[in] The optional pointer to IPXV_PresetsIoCallbacks. You may implement this callback and pass here to have a possibility to intercept some notifications about changing of presets database.
pCustomStorage
[in, defaultvalue(NULL)] Pointer to ICab object that must be a database of settings presets with special predefined structure.
nListStyle
[in, defaultvalue(0)] The set of PXV_PresetsListStyleFlags to customize displaying in UI the preset-items and to setup special edit-restrictions for end-user.
ppRes
[out, retval] Returns pointer to a new IPXV_PresetsListCallbacks object.

Return Value

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

See Also

IPXV_Inst