📄 activeds_tlb.pas
字号:
13: (pOctetList: ^_ADS_OCTET_LIST);
14: (pPath: ^__MIDL___MIDL_itf_ads_0000_0005);
15: (pPostalAddress: ^__MIDL___MIDL_itf_ads_0000_0006);
16: (Timestamp: ADS_TIMESTAMP);
17: (BackLink: ADS_BACKLINK);
18: (pTypedName: ^__MIDL___MIDL_itf_ads_0000_0009);
19: (Hold: ADS_HOLD);
20: (pNetAddress: ^__MIDL___MIDL_itf_ads_0000_0011);
21: (pReplicaPointer: ^__MIDL___MIDL_itf_ads_0000_0012);
22: (pFaxNumber: ^__MIDL___MIDL_itf_ads_0000_0013);
23: (Email: ADS_EMAIL);
24: (SecurityDescriptor: ADS_NT_SECURITY_DESCRIPTOR);
25: (pDNWithBinary: ^__MIDL___MIDL_itf_ads_0000_0015);
26: (pDNWithString: ^__MIDL___MIDL_itf_ads_0000_0016);
end;
ADS_AUTHENTICATION_ENUM = __MIDL___MIDL_itf_ads_0000_0018;
_ads_object_info = packed record
pszRDN: PWideChar;
pszObjectDN: PWideChar;
pszParentDN: PWideChar;
pszSchemaDN: PWideChar;
pszClassName: PWideChar;
end;
ADS_STATUSENUM = __MIDL___MIDL_itf_ads_0000_0019;
ADS_DEREFENUM = __MIDL___MIDL_itf_ads_0000_0020;
ADS_SCOPEENUM = __MIDL___MIDL_itf_ads_0000_0021;
ADS_PREFERENCES_ENUM = __MIDL___MIDL_itf_ads_0000_0022;
ADSI_DIALECT_ENUM = __MIDL___MIDL_itf_ads_0000_0023;
ADS_CHASE_REFERRALS_ENUM = __MIDL___MIDL_itf_ads_0000_0024;
ADS_SEARCHPREF_ENUM = __MIDL___MIDL_itf_ads_0000_0025;
ADS_PASSWORD_ENCODING_ENUM = __MIDL___MIDL_itf_ads_0000_0026;
_adsvalue = packed record
dwType: ADSTYPEENUM;
__MIDL_0010: __MIDL___MIDL_itf_ads_0000_0017;
end;
ads_search_column = packed record
pszAttrName: PWideChar;
dwADsType: ADSTYPEENUM;
pADsValues: ^_adsvalue;
dwNumValues: LongWord;
hReserved: Pointer;
end;
_ads_attr_def = packed record
pszAttrName: PWideChar;
dwADsType: ADSTYPEENUM;
dwMinRange: LongWord;
dwMaxRange: LongWord;
fMultiValued: Integer;
end;
_ads_sortkey = packed record
pszAttrType: PWideChar;
pszReserved: PWideChar;
fReverseorder: Shortint;
end;
_ads_vlv = packed record
dwBeforeCount: LongWord;
dwAfterCount: LongWord;
dwOffset: LongWord;
dwContentCount: LongWord;
pszTarget: PWideChar;
dwContextIDLength: LongWord;
lpContextID: ^Byte;
end;
ADS_PROPERTY_OPERATION_ENUM = __MIDL___MIDL_itf_ads_0000_0027;
__MIDL_IOleAutomationTypes_0005 = record
case Integer of
0: (lptdesc: PUserType8);
1: (lpadesc: PUserType9);
2: (hreftype: LongWord);
end;
tagTYPEDESC = packed record
__MIDL_0008: __MIDL_IOleAutomationTypes_0005;
vt: Word;
end;
tagSAFEARRAYBOUND = packed record
cElements: LongWord;
lLbound: Integer;
end;
ULONG_PTR = LongWord;
tagIDLDESC = packed record
dwReserved: ULONG_PTR;
wIDLFlags: Word;
end;
DWORD = LongWord;
tagPARAMDESCEX = packed record
cBytes: LongWord;
varDefaultValue: OleVariant;
end;
tagPARAMDESC = packed record
pparamdescex: ^tagPARAMDESCEX;
wParamFlags: Word;
end;
tagELEMDESC = packed record
tdesc: tagTYPEDESC;
paramdesc: tagPARAMDESC;
end;
tagFUNCDESC = packed record
memid: Integer;
lprgscode: ^SCODE;
lprgelemdescParam: ^tagELEMDESC;
funckind: tagFUNCKIND;
invkind: tagINVOKEKIND;
callconv: tagCALLCONV;
cParams: Smallint;
cParamsOpt: Smallint;
oVft: Smallint;
cScodes: Smallint;
elemdescFunc: tagELEMDESC;
wFuncFlags: Word;
end;
__MIDL_IOleAutomationTypes_0006 = record
case Integer of
0: (oInst: LongWord);
1: (lpvarValue: ^OleVariant);
end;
tagVARDESC = packed record
memid: Integer;
lpstrSchema: PWideChar;
__MIDL_0009: __MIDL_IOleAutomationTypes_0006;
elemdescVar: tagELEMDESC;
wVarFlags: Word;
varkind: tagVARKIND;
end;
tagTLIBATTR = packed record
GUID: TGUID;
lcid: LongWord;
syskind: tagSYSKIND;
wMajorVerNum: Word;
wMinorVerNum: Word;
wLibFlags: Word;
end;
ADS_SYSTEMFLAG_ENUM = __MIDL___MIDL_itf_ads_0130_0001;
ADS_GROUP_TYPE_ENUM = __MIDL___MIDL_itf_ads_0136_0001;
ADS_RIGHTS_ENUM = __MIDL___MIDL_itf_ads_0158_0001;
ADS_ACETYPE_ENUM = __MIDL___MIDL_itf_ads_0158_0002;
ADS_ACEFLAG_ENUM = __MIDL___MIDL_itf_ads_0158_0003;
ADS_FLAGTYPE_ENUM = __MIDL___MIDL_itf_ads_0158_0004;
ADS_SD_CONTROL_ENUM = __MIDL___MIDL_itf_ads_0158_0005;
ADS_SD_REVISION_ENUM = __MIDL___MIDL_itf_ads_0158_0006;
ADS_NAME_TYPE_ENUM = __MIDL___MIDL_itf_ads_0159_0001;
ADS_NAME_INITTYPE_ENUM = __MIDL___MIDL_itf_ads_0159_0002;
ADS_OPTION_ENUM = __MIDL___MIDL_itf_ads_0173_0001;
ADS_SECURITY_INFO_ENUM = __MIDL___MIDL_itf_ads_0173_0002;
ADS_SETTYPE_ENUM = __MIDL___MIDL_itf_ads_0174_0001;
ADS_FORMAT_ENUM = __MIDL___MIDL_itf_ads_0174_0002;
ADS_DISPLAY_ENUM = __MIDL___MIDL_itf_ads_0174_0003;
ADS_ESCAPE_MODE_ENUM = __MIDL___MIDL_itf_ads_0174_0004;
ADS_PATHTYPE_ENUM = __MIDL___MIDL_itf_ads_0179_0001;
ADS_SD_FORMAT_ENUM = __MIDL___MIDL_itf_ads_0179_0002;
_ads_attr_info = packed record
pszAttrName: PWideChar;
dwControlCode: LongWord;
dwADsType: ADSTYPEENUM;
pADsValues: ^_adsvalue;
dwNumValues: LongWord;
end;
ads_searchpref_info = packed record
dwSearchPref: ADS_SEARCHPREF_ENUM;
vValue: _adsvalue;
dwStatus: ADS_STATUSENUM;
end;
_ads_class_def = packed record
pszClassName: PWideChar;
dwMandatoryAttrs: LongWord;
ppszMandatoryAttrs: ^PWideChar;
optionalAttrs: LongWord;
ppszOptionalAttrs: ^PPWideChar1;
dwNamingAttrs: LongWord;
ppszNamingAttrs: ^PPWideChar1;
dwSuperClasses: LongWord;
ppszSuperClasses: ^PPWideChar1;
fIsContainer: Integer;
end;
tagTYPEATTR = packed record
GUID: TGUID;
lcid: LongWord;
dwReserved: LongWord;
memidConstructor: Integer;
memidDestructor: Integer;
lpstrSchema: PWideChar;
cbSizeInstance: LongWord;
typekind: tagTYPEKIND;
cFuncs: Word;
cVars: Word;
cImplTypes: Word;
cbSizeVft: Word;
cbAlignment: Word;
wTypeFlags: Word;
wMajorVerNum: Word;
wMinorVerNum: Word;
tdescAlias: tagTYPEDESC;
idldescType: tagIDLDESC;
end;
tagARRAYDESC = packed record
tdescElem: tagTYPEDESC;
cDims: Word;
rgbounds: ^tagSAFEARRAYBOUND;
end;
// *********************************************************************//
// Interface: IADs
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {FD8256D0-FD15-11CE-ABC4-02608C9E7553}
// *********************************************************************//
IADs = interface(IDispatch)
['{FD8256D0-FD15-11CE-ABC4-02608C9E7553}']
function Get_Name: WideString; safecall;
function Get_Class_: WideString; safecall;
function Get_GUID: WideString; safecall;
function Get_ADsPath: WideString; safecall;
function Get_Parent: WideString; safecall;
function Get_Schema: WideString; safecall;
procedure GetInfo; safecall;
procedure SetInfo; safecall;
function Get(const bstrName: WideString): OleVariant; safecall;
procedure Put(const bstrName: WideString; vProp: OleVariant); safecall;
function GetEx(const bstrName: WideString): OleVariant; safecall;
procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); safecall;
procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); safecall;
property Name: WideString read Get_Name;
property Class_: WideString read Get_Class_;
property GUID: WideString read Get_GUID;
property ADsPath: WideString read Get_ADsPath;
property Parent: WideString read Get_Parent;
property Schema: WideString read Get_Schema;
end;
// *********************************************************************//
// DispIntf: IADsDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {FD8256D0-FD15-11CE-ABC4-02608C9E7553}
// *********************************************************************//
IADsDisp = dispinterface
['{FD8256D0-FD15-11CE-ABC4-02608C9E7553}']
property Name: WideString readonly dispid 2;
property Class_: WideString readonly dispid 3;
property GUID: WideString readonly dispid 4;
property ADsPath: WideString readonly dispid 5;
property Parent: WideString readonly dispid 6;
property Schema: WideString readonly dispid 7;
procedure GetInfo; dispid 8;
procedure SetInfo; dispid 9;
function Get(const bstrName: WideString): OleVariant; dispid 10;
procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
function GetEx(const bstrName: WideString): OleVariant; dispid 12;
procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
end;
// *********************************************************************//
// Interface: IADsContainer
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {001677D0-FD16-11CE-ABC4-02608C9E7553}
// *********************************************************************//
IADsContainer = interface(IDispatch)
['{001677D0-FD16-11CE-ABC4-02608C9E7553}']
function Get_Count: Integer; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Filter: OleVariant; safecall;
procedure Set_Filter(pVar: OleVariant); safecall;
function Get_Hints: OleVariant; safecall;
procedure Set_Hints(pvFilter: OleVariant); safecall;
function GetObject(const ClassName: WideString; const RelativeName: WideString): IDispatch; safecall;
function Create(const ClassName: WideString; const RelativeName: WideString): IDispatch; safecall;
procedure Delete(const bstrClassName: WideString; const bstrRelativeName: WideString); safecall;
function CopyHere(const SourceName: WideString; const NewName: WideString): IDispatch; safecall;
function MoveHere(const SourceName: WideString; const NewName: WideString): IDispatch; safecall;
property Count: Integer read Get_Count;
property _NewEnum: IUnknown read Get__NewEnum;
property Filter: OleVariant read Get_Filter write Set_Filter;
property Hints: OleVariant read Get_Hints write Set_Hints;
end;
// *********************************************************************//
// DispIntf: IADsContainerDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {001677D0-FD16-11CE-ABC4-02608C9E7553}
// *********************************************************************//
IADsContainerDisp = dispinterface
['{001677D0-FD16-11CE-ABC4-02608C9E7553}']
property Count: Integer readonly dispid 2;
property _NewEnum: IUnknown readonly dispid -4;
property Filter: OleVariant dispid 3;
property Hints: OleVariant dispid 4;
function GetObject(const ClassName: WideString; const RelativeName: WideString): IDispatch; dispid 5;
function Create(const ClassName: WideString; const RelativeName: WideString): IDispatch; dispid 6;
procedure Delete(const bstrClassName: WideString; const bstrRelativeName: WideString); dispid 7;
function CopyHere(const SourceName: WideString; const NewName: WideString): IDispatch; dispid 8;
function MoveHere(const SourceName: WideString; const NewName: WideString): IDispatch; dispid 9;
end;
// *********************************************************************//
// Interface: IADsCollection
// Flags: (4416) Dual OleAutomation Dispatchable
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -