Interface IFolderFilter
IFolder Filter
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public interface IFolderFilter
Methods
GetEnumFlags(Object, IntPtr, IntPtr, out UInt32)
Allows a client to specify which classes of objects in a Shell folder should be enumerated.
Declaration
int GetEnumFlags(object psf, IntPtr pidlFolder, IntPtr phwnd, out uint pgrfFlags)
Parameters
Type | Name | Description |
---|---|---|
System.Object | psf | A pointer to the folder's IShellFolder interface. |
System.IntPtr | pidlFolder | The folder's PIDL. |
System.IntPtr | phwnd | A pointer to the host's window handle. |
System.UInt32 | pgrfFlags | One or more SHCONTF values that specify which classes of objects to enumerate. |
Returns
Type | Description |
---|---|
System.Int32 | int type IntrPtr |
ShouldShow(Object, IntPtr, IntPtr)
Allows a client to specify which individual items should be enumerated. Note: The host calls this method for each item in the folder.
Declaration
int ShouldShow(object psf, IntPtr pidlFolder, IntPtr pidlItem)
Parameters
Type | Name | Description |
---|---|---|
System.Object | psf | A pointer to the folder's IShellFolder interface. |
System.IntPtr | pidlFolder | The folder's PIDL. |
System.IntPtr | pidlItem | The item's PIDL. |
Returns
Type | Description |
---|---|
System.Int32 | Return S_OK (0), to have the item enumerated. |