|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| shlobj.h
| Unicode
| No
| Platform Notes
| None
|
|
|
IShellFolder::EnumObjects
[Now Supported on Windows NT]
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.
HRESULT EnumObjects(
HWND hwndOwner,
| // Handle of owner window
| DWORD grfFlags,
| // ems to include in enumeration
| LPENUMIDLIST *ppenumIDList
| // Pointer to IEnumIDList
| );
|
|
Parameters
hwndOwner
Handle of the owner window that the client should specify if it displays a
dialog box or message box.
grfFlags
Flags determining which items to iclude in the enumeration. For a list of
possible values, see the description of the SHCONTF 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.
Return Values
Returns NOERROR if successful or an OLE-defined error value otherwise.
Remarks
The calling application must free the returned IEnumIDList object by calling its Release method.
This method is similar to the method defined by OLE.
See Also
IEnumIDList, IOleContainer::EnumObjects, IShellFolder, SHGetDeskTopFolder
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|