IPersistFolder::InitializeIPersistFolder::Initialize*
*Contents  *Index  *Topic Contents
*Previous Topic: IPersistFolder
*Next Topic: IPersistFolder2

IPersistFolder::Initialize


HRESULT Initialize(
    LPCITEMIDLIST pidl,
   );	

Instructs a shell folder object to initialize itself based on the information passed.

pidl
Address of the ITEMIDLIST (item identifier list) structure that specifies the absolute location of the folder.

Notes to Implementers

All objects that implement the IShellFolder interface for use in the shell's namespace must implement this method. When a folder's location in the namespace is not a relevant consideration, this method can simply return NOERROR. When the location is relevant to the folder, you should store the fully qualified IDLIST passed in for future reference.

For example, if the folder implementation needs to construct a fully qualified PIDL to elements that it contains, the PIDL passed to this method should be used to construct the fully qualified PIDLs.

See also IPersistFolder


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.