IShellFolder::EnumObjectsIShellFolder::EnumObjects*
*Contents  *Index  *Topic Contents
*Previous Topic: IShellFolder::CreateViewObject
*Next Topic: IShellFolder::GetAttributesOf

IShellFolder::EnumObjects


HRESULT EnumObjects(
    HWND hwndOwner,
    DWORD grfFlags,
    LPENUMIDLIST *ppenumIDList
   );	

Determines the contents of a folder by creating an item enumeration object (a set of item identifiers) that can be retrieved using the IEnumIDList interface.

hwndOwner
Handle to the owner window that the client should specify if it displays a dialog box or message box.
grfFlags
Flags indicating which items to include in the enumeration. For a list of possible values, see the SHCONTF enumerated type.
ppenumIDList
Address that receives a pointer to the IEnumIDList interface created by this method. If an error occurs, a NULL pointer is returned in this address.

The calling application must free the returned IEnumIDList object by calling its Release method.

See also IShellFolder, SHGetDesktopFolder


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