Class TSysDevEnum

Unit

DSUtil

Declaration

type TSysDevEnum = class

Description

Usefull class to enumerate availables filters. See "Filter Enumerator" sample.

Methods

Overview

Public constructor Create(guid: TGUID); overload;
Public Constructor Create; overload;
Public destructor Destroy; override;
Public function GetBaseFilter(GUID: TGUID): IBaseFilter; overload;
Public function GetBaseFilter(index: integer): IBaseFilter; overload;
Public function GetMoniker(index: integer): IMoniker;
Public procedure SelectGUIDCategory(GUID: TGUID);
Public procedure SelectIndexCategory(index: integer);

Description

Public constructor Create(guid: TGUID); overload;

constructor. Create the class and initialize the main category with the GUID.

Public Constructor Create; overload;

constructor

Public destructor Destroy; override;

destructor

Public function GetBaseFilter(GUID: TGUID): IBaseFilter; overload;

Call GetBaseFilter to retrieve the IBaseFilter interface corresponding to GUID.

Public function GetBaseFilter(index: integer): IBaseFilter; overload;

Call GetBaseFilter to retrieve the IBaseFilter interface corresponding to index.

Public function GetMoniker(index: integer): IMoniker;

Call GetMoniker to retrieve the IMoniker interface corresponding to index. This interface can be used to store a filter with the class.

Public procedure SelectGUIDCategory(GUID: TGUID);

Select the main category by GUID. For example CLSID_VideoCompressorCategory to enumerate Video Compressors.

Public procedure SelectIndexCategory(index: integer);

Select the main category by Index.

Properties

Overview

Public property Categories[item: integer]: TFilCatNode;
Public property CountCategories: integer;
Public property CountFilters: integer;
Public property Filters[item: integer]: TFilCatNode;

Description

Public property Categories[item: integer]: TFilCatNode;

Call Categories to read Category Name and GUID.

Public property CountCategories: integer;

Call CountCategories to retrieve categories count.

Public property CountFilters: integer;

Call CountFilters to retrieve the number of Filte within a Category.

Public property Filters[item: integer]: TFilCatNode;

Call Filters to read Filter Name and GUID.


Generated by DIPasDoc 0.8.0 on Sun 1 Jun 2003 23:53:07