IShellFolderEnumObjects Method

Enables a client to determine the contents of a folder by creating an item identifier enumeration object and returning its IEnumIDList interface.

The methods supported by that interface can then be used to enumerate the folder's contents.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
IEnumIDList EnumObjects(
	IntPtr hwndOwner,
	ShellFolderEnumObjectsFlags flags
)

Parameters

hwndOwner  IntPtr
If user input is required to perform the enumeration, this window handle should be used by the enumeration object as the parent window to take user input.

An example would be a dialog box to ask for a password or prompt the user to insert a CD or floppy disk.

If hwndOwner is set to NULL, the enumerator should not post any messages, and if user input is required, it should silently fail.

flags  ShellFolderEnumObjectsFlags
Flags indicating which items to include in the enumeration.

Return Value

IEnumIDList
The address that receives a pointer to the IEnumIDList interface of the enumeration object created by this method.

If an error occurs or no suitable subobjects are found, ppenumIDList is set to NULL.

See Also