IShellFolder::BindToObjectIShellFolder::BindToObject*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IShellFolder
*Next Topic: IShellFolder::BindToStorage

IShellFolder::BindToObject


HRESULT BindToObject(
    LPCITEMIDLIST pidl,
    LPBC pbcReserved,
    REFIID riid,
    LPVOID *ppvOut
   );	

Retrieves an IShellFolder object for a subfolder.

pidl
Address of an ITEMIDLIST structure that identifies the subfolder relative to its parent folder.
pbcReserved
Reserved. Callers should specify NULL for this parameter; those called should ignore it.
riid
Identifier of the interface to return. This parameter must point to the IID_IShellFolder interface identifier.
ppvOut
Address that receives the interface pointer. If an error occurs, a NULL pointer is returned in this address.

Use this method to access the COM interface to the subfolder or subobject.

See also SHGetDesktopFolder


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