IPersistFolder2::GetCurFolderIPersistFolder2::GetCurFolder*
*Contents  *Index  *Topic Contents
*Previous Topic: IPersistFolder2
*Next Topic: IQueryInfo

IPersistFolder2::GetCurFolder

Retrieves the ITEMIDLIST for the folder object.

Syntax

HRESULT GetCurFolder(
    LPITEMIDLIST *ppidl,
);
Parameters

ppidl
Address of an ITEMIDLIST pointer that receives a copy of the PIDL that represents the absolute location of the folder. This PIDL must be relative to the desktop. This will normally be a copy of the PIDL that was passed to IPersistFolder::Initialize.
Return Values

Returns NOERROR if successful, or an OLE-defined error value otherwise.

Remarks

Version 4.71

See Also

IPersistFolder2


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