The IPersistFolder interface is used to initialize shell folder objects.
When to Implement
When implementing a shell namespace extension, specifically IShellFolder, you need to implement this interface so the folder object can be initialized this is how the folder is told where it is in the shell namespace.
When to Use
You don't use this interface directly. It is used by the file system implementation of IShellFolder::BindToObject when it is initializing a shell folder object.
Methods in Vtable Order
IUnknown Methods | Description |
QueryInterface | Returns pointers to supported interfaces. |
AddRef | Increments reference count. |
Release | Decrements reference count. |
IPersist Method | Description |
GetClassID | Returns the class identifier (CLSID) for the component object. |
IIPersisFolder Method | Description |
Initialize | Called when the Explorer initializes a shell folder object. |