大网数据广告活动
域与目录服务

Code Details

· 52CE 我爱测

This section lists the source code for the ADSI example provider component implementation. All source code references in this document are subject to change and are available in the example code directory included in the ADSI SDK.

This section lists the source code for the ADSI example provider component implementation. All source code references in this document are subject to change and are available in the example code directory included in the ADSI SDK.

Note:
The IADs methods GetEx and PutEx are not implemented in the ADSI example provider component. That is, code that implements Active Directory objects that inherit from IADs do not have GetEx and PutEx methods. This includes the schema class object that supports IADsClass, the property object that supports IADsProperty, the generic Active Directory object that supports IADs, and any container object that supports IADsContainer. In addition, syntax objects are not present in the example provider component. However, the ADSI architecture requires the syntax objects to be included in the schema container object, just as are the schema class and property objects.

The following table lists source code files that are included in the provider example directory in the Active Directory Service Interfaces SDK.

Source code file Description
cclsobj.cpp Schema class object routines.
cdispmgr.cpp Dispatch Manager implementation.
cenumns.cpp Namespace enumeration routines.
cenumsch.cpp Schema enumeration routines.
cenumobj.cpp Generic object enumeration routines.
cenumvar.cpp Base implementation for xxxEnumVariant derived classes.
cgenobj.cpp Generic object routines.
cnamcf.cpp Namespace class factory routines.
cnamesp.cpp Namespace object routines.
common.cpp Code common to all provider objects.
core.cpp Implementations for 'core' properties shared by all Active Directory objects.
cprops.cpp Property cache features.
cprov.cpp Top-level provider object routines.
cprovcf.cpp Top-level provider object class factory routines.
cprpobj.cpp Property object routines.
cschobj.cpp Schema object routines.
getobj.cpp GetObject feature.
globals.cpp ADSI example provider component globals.
guid.cpp Example provider component CLSIDs and LIBIDs.
libmain.cpp Libmain for adssmp.dll.
memory.cpp Example provider component memory management routines.
pack.cpp Example provider component pack/unpack data in VARIANTs.
parse.cpp Path parsing for example provider component namespace.
property.cpp Get and Put properties by name.
object.cpp Example provider component object type list code for filtering.
regdsapi.cpp Example provider component registry directory service APIs.
smpoper.cpp Data conversion routines.
stdfact.cpp Standard IClassFactory implementation.
adssmp.inf Example directory data store registry data. For more information, see Installing the Example Provider Component.

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.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。