Platform SDK: Active Directory, ADSI, and Directory Services
CCLSOBJ.CPP
In the example provider component, schema class object routines are in cclsobj.cpp.
CSampleDSClass::CSampleDSClass
Standard constructor.
CSampleDSClass::~CSampleDSClass
Standard destructor.
CSampleDSClass::CreateClass
Create an ADs schema class object, looking up the attribute definitions by calling SampleDSGetClassDefinition.
CSampleDSClass::CreateClass
Given the attribute definitions, create a schema class object, setting any known attributes, such as the ones listed in IADsClass::MandatoryAttributes.
CSampleDSClass::AllocateClassObject
Create a schema class object and load its type information.
CSampleDSClass::QueryInterface
Return the requested interface pointer if available.
CSampleDSClass:: standard IADs methods.
CSampleDSClass:: standard IADsClass methods.
CreatePropertyList
Create the appropriate list of properties associated with this schema class by calling CreatePropertyEntry.
CreatePropertyEntry
Create one property object in this schema class.
FreePropertyEntry
Free the entry made in CreatePropertyEntry.
MakeVariantFromPropList
Make an array of VARIANTS from the property list created by CreatePropertyList. Can be used in the implementation of IADsClass::MandatoryProperties and elsewhere.