M&M FDT 1.2.1 Online Specification
 IPersistPropertyBag::Load() method information


Interfaces and Methods   -   Schemas   -   FDT Specification   -   Quicklinks   -   Abbreviations

2.7.2 IPersistPropertyBag::Load()


This method can be called in the states:      

HRESULT Load (
[in] IPropertyBag* pPropBag,
[in] IErrorLog pErrorLog
);


Description:


Parameters:
pPropBagAddress of the caller's property bag, through which the object can read properties. This cannot be NULL.
pErrorLogAddress of the caller's error log, in which the object stores any errors that occur during initialization. This can be NULL; in that case, the caller does not receive errors.


Return Value:


Behavior:
Instructs the object to initialize itself using the properties available in the property bag, notifying the provided error log object when errors occur.

Comments:
All property loading must take place within the IPersistPropertyBag::Load() function call because the object cannot hold the IPropertyBag pointer. E_NOTIMPL is not a valid return code because any object implementing this interface must support the entire functionality of the interface




© by M&M Software GmbH, parts of this website taken from FDT Interface Specification Version 1.2.1, © by FDT Group, AISBL.
This website is published for support of M&M products as granted in license conditions, chapter 2.1.
Last updated 2015-02-05 15:17
Email: FDT Technical Support Line.