In the example provider component, the enumeration of a schema object uses the methods, from cenumsch.cpp, listed in the following table.
| Method | Description |
|---|---|
| CSampleDSSchemaEnum::Create | Create an object to allow enumeration of an ADSI schema class object. |
| CSampleDSSchemaEnum::CSampleDSSchemaEnum | Standard constructor. |
| CSampleDSSchemaEnum::~CSampleDSSchemaEnum | Standard destructor. |
| CSampleDSSchemaEnum::Next | Retrieve the specified number of elements from the schema object indicated. |
| CSampleDSSchemaEnum::EnumObjects | Manage retrieving the interfaces pointers to the objects of the object type indicated. |
| CSampleDSSchemaEnum::EnumObjects | Manage retrieving the interface pointers to the objects of the default object type. |
| CSampleDSSchemaEnum::EnumClasses | Manage retrieving the interface pointers to only the schema class objects contained in this object. |
| CSampleDSSchemaEnum::GetClassObject | Retrieve the next schema class definition; if found, create a schema class object, and return the interface pointer. |
| CSampleDSSchemaEnum::EnumProperties | Manage retrieving the interface pointers to the property objects only contained in this object. |
| CSampleDSSchemaEnum::GetPropertyObject | Retrieve the next property definition; if found, create a schema class object, and return the interface pointer. |
| CSampleDSSchemaEnum::EnumSyntaxes | Manage retrieving the interface pointers to the syntax objects only contained in this object. |
| CSampleDSSchemaEnum::GetSyntaxObject | Retrieve the next syntax definition; if found, create a schema class object, and return the interface pointer. |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
