home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 April / Chip_2002-04_cd1.bin / zkuste / delphi / navody / d56 / ADSI.ZIP / ActiveDs_TLB.pas next >
Pascal/Delphi Source File  |  2000-04-01  |  339KB  |  8,974 lines

  1. unit ActiveDs_TLB;
  2.  
  3. // ************************************************************************ //
  4. // WARNING                                                                    
  5. // -------                                                                    
  6. // The types declared in this file were generated from data read from a       
  7. // Type Library. If this type library is explicitly or indirectly (via        
  8. // another type library referring to this type library) re-imported, or the   
  9. // 'Refresh' command of the Type Library Editor activated while editing the   
  10. // Type Library, the contents of this file will be regenerated and all        
  11. // manual modifications will be lost.                                         
  12. // ************************************************************************ //
  13.  
  14. // PASTLWTR : $Revision:   1.88  $
  15. // File generated on 01/13/2000 23:31:03 from Type Library described below.
  16.  
  17. // *************************************************************************//
  18. // NOTE:                                                                      
  19. // Items guarded by $IFDEF_LIVE_SERVER_AT_DESIGN_TIME are used by properties  
  20. // which return objects that may need to be explicitly created via a function 
  21. // call prior to any access via the property. These items have been disabled  
  22. // in order to prevent accidental use from within the object inspector. You   
  23. // may enable them by defining LIVE_SERVER_AT_DESIGN_TIME or by selectively   
  24. // removing them from the $IFDEF blocks. However, such items must still be    
  25. // programmatically created via a method of the appropriate CoClass before    
  26. // they can be used.                                                          
  27. // ************************************************************************ //
  28. // Type Lib: C:\Work\ADSI\Activeds.tlb (1)
  29. // IID\LCID: {97D25DB0-0363-11CF-ABC4-02608C9E7553}\0
  30. // Helpfile: 
  31. // DepndLst: 
  32. //   (1) v2.0 stdole, (C:\WINDOWS\SYSTEM\STDOLE2.TLB)
  33. //   (2) v4.0 StdVCL, (C:\WINDOWS\SYSTEM\STDVCL40.DLL)
  34. // ************************************************************************ //
  35. {$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers. 
  36. interface
  37.  
  38. uses Windows, ActiveX, Classes, Graphics, OleServer, OleCtrls, StdVCL;
  39.  
  40. // *********************************************************************//
  41. // GUIDS declared in the TypeLibrary. Following prefixes are used:        
  42. //   Type Libraries     : LIBID_xxxx                                      
  43. //   CoClasses          : CLASS_xxxx                                      
  44. //   DISPInterfaces     : DIID_xxxx                                       
  45. //   Non-DISP interfaces: IID_xxxx                                        
  46. // *********************************************************************//
  47. const
  48.   // TypeLibrary Major and minor versions
  49.   ActiveDsMajorVersion = 1;
  50.   ActiveDsMinorVersion = 0;
  51.  
  52.   LIBID_ActiveDs: TGUID = '{97D25DB0-0363-11CF-ABC4-02608C9E7553}';
  53.  
  54.   IID_IADs: TGUID = '{FD8256D0-FD15-11CE-ABC4-02608C9E7553}';
  55.   IID_IADsContainer: TGUID = '{001677D0-FD16-11CE-ABC4-02608C9E7553}';
  56.   IID_IADsCollection: TGUID = '{72B945E0-253B-11CF-A988-00AA006BC149}';
  57.   IID_IADsMembers: TGUID = '{451A0030-72EC-11CF-B03B-00AA006E0975}';
  58.   IID_IADsPropertyList: TGUID = '{C6F602B6-8F69-11D0-8528-00C04FD8D503}';
  59.   IID_IADsPropertyEntry: TGUID = '{05792C8E-941F-11D0-8529-00C04FD8D503}';
  60.   CLASS_PropertyEntry: TGUID = '{72D3EDC2-A4C4-11D0-8533-00C04FD8D503}';
  61.   IID_IADsPropertyValue: TGUID = '{79FA9AD0-A97C-11D0-8534-00C04FD8D503}';
  62.   IID_IADsPropertyValue2: TGUID = '{306E831C-5BC7-11D1-A3B8-00C04FB950DC}';
  63.   CLASS_PropertyValue: TGUID = '{7B9E38B0-A97C-11D0-8534-00C04FD8D503}';
  64.   IID_IPrivateDispatch: TGUID = '{86AB4BBE-65F6-11D1-8C13-00C04FD8D503}';
  65.   IID_ITypeInfo: TGUID = '{00020401-0000-0000-C000-000000000046}';
  66.   IID_ITypeComp: TGUID = '{00020403-0000-0000-C000-000000000046}';
  67.   IID_ITypeLib: TGUID = '{00020402-0000-0000-C000-000000000046}';
  68.   IID_IPrivateUnknown: TGUID = '{89126BAB-6EAD-11D1-8C18-00C04FD8D503}';
  69.   IID_IADsExtension: TGUID = '{3D35553C-D2B0-11D1-B17B-0000F87593A0}';
  70.   IID_IADsDeleteOps: TGUID = '{B2BD0902-8878-11D1-8C21-00C04FD8D503}';
  71.   IID_IADsNamespaces: TGUID = '{28B96BA0-B330-11CF-A9AD-00AA006BC149}';
  72.   IID_IADsClass: TGUID = '{C8F93DD0-4AE0-11CF-9E73-00AA004A5691}';
  73.   IID_IADsProperty: TGUID = '{C8F93DD3-4AE0-11CF-9E73-00AA004A5691}';
  74.   IID_IADsSyntax: TGUID = '{C8F93DD2-4AE0-11CF-9E73-00AA004A5691}';
  75.   IID_IADsLocality: TGUID = '{A05E03A2-EFFE-11CF-8ABC-00C04FD8D503}';
  76.   IID_IADsO: TGUID = '{A1CD2DC6-EFFE-11CF-8ABC-00C04FD8D503}';
  77.   IID_IADsOU: TGUID = '{A2F733B8-EFFE-11CF-8ABC-00C04FD8D503}';
  78.   IID_IADsDomain: TGUID = '{00E4C220-FD16-11CE-ABC4-02608C9E7553}';
  79.   IID_IADsComputer: TGUID = '{EFE3CC70-1D9F-11CF-B1F3-02608C9E7553}';
  80.   IID_IADsComputerOperations: TGUID = '{EF497680-1D9F-11CF-B1F3-02608C9E7553}';
  81.   IID_IADsGroup: TGUID = '{27636B00-410F-11CF-B1FF-02608C9E7553}';
  82.   IID_IADsUser: TGUID = '{3E37E320-17E2-11CF-ABC4-02608C9E7553}';
  83.   IID_IADsPrintQueue: TGUID = '{B15160D0-1226-11CF-A985-00AA006BC149}';
  84.   IID_IADsPrintQueueOperations: TGUID = '{124BE5C0-156E-11CF-A986-00AA006BC149}';
  85.   IID_IADsPrintJob: TGUID = '{32FB6780-1ED0-11CF-A988-00AA006BC149}';
  86.   IID_IADsPrintJobOperations: TGUID = '{9A52DB30-1ECF-11CF-A988-00AA006BC149}';
  87.   IID_IADsService: TGUID = '{68AF66E0-31CA-11CF-A98A-00AA006BC149}';
  88.   IID_IADsServiceOperations: TGUID = '{5D7B33F0-31CA-11CF-A98A-00AA006BC149}';
  89.   IID_IADsFileService: TGUID = '{A89D1900-31CA-11CF-A98A-00AA006BC149}';
  90.   IID_IADsFileServiceOperations: TGUID = '{A02DED10-31CA-11CF-A98A-00AA006BC149}';
  91.   IID_IADsFileShare: TGUID = '{EB6DCAF0-4B83-11CF-A995-00AA006BC149}';
  92.   IID_IADsSession: TGUID = '{398B7DA0-4AAB-11CF-AE2C-00AA006EBFB9}';
  93.   IID_IADsResource: TGUID = '{34A05B20-4AAB-11CF-AE2C-00AA006EBFB9}';
  94.   IID_IADsOpenDSObject: TGUID = '{DDF2891E-0F9C-11D0-8AD4-00C04FD8D503}';
  95.   IID_IDirectoryObject: TGUID = '{E798DE2C-22E4-11D0-84FE-00C04FD8D503}';
  96.   IID_IDirectorySearch: TGUID = '{109BA8EC-92F0-11D0-A790-00C04FD8D5A8}';
  97.   IID_IDirectorySchemaMgmt: TGUID = '{75DB3B9C-A4D8-11D0-A79C-00C04FD8D5A8}';
  98.   IID_IADsAggregatee: TGUID = '{1346CE8C-9039-11D0-8528-00C04FD8D503}';
  99.   IID_IADsAggregator: TGUID = '{52DB5FB0-941F-11D0-8529-00C04FD8D503}';
  100.   IID_IADsAccessControlEntry: TGUID = '{B4F3A14C-9BDD-11D0-852C-00C04FD8D503}';
  101.   CLASS_AccessControlEntry: TGUID = '{B75AC000-9BDD-11D0-852C-00C04FD8D503}';
  102.   IID_IADsAccessControlList: TGUID = '{B7EE91CC-9BDD-11D0-852C-00C04FD8D503}';
  103.   CLASS_AccessControlList: TGUID = '{B85EA052-9BDD-11D0-852C-00C04FD8D503}';
  104.   IID_IADsSecurityDescriptor: TGUID = '{B8C787CA-9BDD-11D0-852C-00C04FD8D503}';
  105.   CLASS_SecurityDescriptor: TGUID = '{B958F73C-9BDD-11D0-852C-00C04FD8D503}';
  106.   IID_IADsLargeInteger: TGUID = '{9068270B-0939-11D1-8BE1-00C04FD8D503}';
  107.   CLASS_LargeInteger: TGUID = '{927971F5-0939-11D1-8BE1-00C04FD8D503}';
  108.   IID_IADsNameTranslate: TGUID = '{B1B272A3-3625-11D1-A3A4-00C04FB950DC}';
  109.   CLASS_NameTranslate: TGUID = '{274FAE1F-3626-11D1-A3A4-00C04FB950DC}';
  110.   IID_IADsCaseIgnoreList: TGUID = '{7B66B533-4680-11D1-A3B4-00C04FB950DC}';
  111.   CLASS_CaseIgnoreList: TGUID = '{15F88A55-4680-11D1-A3B4-00C04FB950DC}';
  112.   IID_IADsFaxNumber: TGUID = '{A910DEA9-4680-11D1-A3B4-00C04FB950DC}';
  113.   CLASS_FaxNumber: TGUID = '{A5062215-4681-11D1-A3B4-00C04FB950DC}';
  114.   IID_IADsNetAddress: TGUID = '{B21A50A9-4080-11D1-A3AC-00C04FB950DC}';
  115.   CLASS_NetAddress: TGUID = '{B0B71247-4080-11D1-A3AC-00C04FB950DC}';
  116.   IID_IADsOctetList: TGUID = '{7B28B80F-4680-11D1-A3B4-00C04FB950DC}';
  117.   CLASS_OctetList: TGUID = '{1241400F-4680-11D1-A3B4-00C04FB950DC}';
  118.   IID_IADsEmail: TGUID = '{97AF011A-478E-11D1-A3B4-00C04FB950DC}';
  119.   CLASS_Email: TGUID = '{8F92A857-478E-11D1-A3B4-00C04FB950DC}';
  120.   IID_IADsPath: TGUID = '{B287FCD5-4080-11D1-A3AC-00C04FB950DC}';
  121.   CLASS_Path: TGUID = '{B2538919-4080-11D1-A3AC-00C04FB950DC}';
  122.   IID_IADsReplicaPointer: TGUID = '{F60FB803-4080-11D1-A3AC-00C04FB950DC}';
  123.   CLASS_ReplicaPointer: TGUID = '{F5D1BADF-4080-11D1-A3AC-00C04FB950DC}';
  124.   IID_IADsAcl: TGUID = '{8452D3AB-0869-11D1-A377-00C04FB950DC}';
  125.   CLASS_Acl: TGUID = '{7AF1EFB6-0869-11D1-A377-00C04FB950DC}';
  126.   IID_IADsTimestamp: TGUID = '{B2F5A901-4080-11D1-A3AC-00C04FB950DC}';
  127.   CLASS_Timestamp: TGUID = '{B2BED2EB-4080-11D1-A3AC-00C04FB950DC}';
  128.   IID_IADsPostalAddress: TGUID = '{7ADECF29-4680-11D1-A3B4-00C04FB950DC}';
  129.   CLASS_PostalAddress: TGUID = '{0A75AFCD-4680-11D1-A3B4-00C04FB950DC}';
  130.   IID_IADsBackLink: TGUID = '{FD1302BD-4080-11D1-A3AC-00C04FB950DC}';
  131.   CLASS_BackLink: TGUID = '{FCBF906F-4080-11D1-A3AC-00C04FB950DC}';
  132.   IID_IADsTypedName: TGUID = '{B371A349-4080-11D1-A3AC-00C04FB950DC}';
  133.   CLASS_TypedName: TGUID = '{B33143CB-4080-11D1-A3AC-00C04FB950DC}';
  134.   IID_IADsHold: TGUID = '{B3EB3B37-4080-11D1-A3AC-00C04FB950DC}';
  135.   CLASS_Hold: TGUID = '{B3AD3E13-4080-11D1-A3AC-00C04FB950DC}';
  136.   IID_IADsObjectOptions: TGUID = '{46F14FDA-232B-11D1-A808-00C04FD8D5A8}';
  137.   IID_IADsPathname: TGUID = '{D592AED4-F420-11D0-A36E-00C04FB950DC}';
  138.   CLASS_Pathname: TGUID = '{080D0D78-F421-11D0-A36E-00C04FB950DC}';
  139.  
  140. // *********************************************************************//
  141. // Declaration of Enumerations defined in Type Library                    
  142. // *********************************************************************//
  143. // Constants for enum __MIDL___MIDL__intf_0000_0001
  144.  
  145. type
  146.   __MIDL___MIDL__intf_0000_0001 = TOleEnum;
  147.   PPWideChar = ^PWideChar;
  148. const
  149.   ADSTYPE_INVALID = $00000000;
  150.   ADSTYPE_DN_STRING = $00000001;
  151.   ADSTYPE_CASE_EXACT_STRING = $00000002;
  152.   ADSTYPE_CASE_IGNORE_STRING = $00000003;
  153.   ADSTYPE_PRINTABLE_STRING = $00000004;
  154.   ADSTYPE_NUMERIC_STRING = $00000005;
  155.   ADSTYPE_BOOLEAN = $00000006;
  156.   ADSTYPE_INTEGER = $00000007;
  157.   ADSTYPE_OCTET_STRING = $00000008;
  158.   ADSTYPE_UTC_TIME = $00000009;
  159.   ADSTYPE_LARGE_INTEGER = $0000000A;
  160.   ADSTYPE_PROV_SPECIFIC = $0000000B;
  161.   ADSTYPE_OBJECT_CLASS = $0000000C;
  162.   ADSTYPE_CASEIGNORE_LIST = $0000000D;
  163.   ADSTYPE_OCTET_LIST = $0000000E;
  164.   ADSTYPE_PATH = $0000000F;
  165.   ADSTYPE_POSTALADDRESS = $00000010;
  166.   ADSTYPE_TIMESTAMP = $00000011;
  167.   ADSTYPE_BACKLINK = $00000012;
  168.   ADSTYPE_TYPEDNAME = $00000013;
  169.   ADSTYPE_HOLD = $00000014;
  170.   ADSTYPE_NETADDRESS = $00000015;
  171.   ADSTYPE_REPLICAPOINTER = $00000016;
  172.   ADSTYPE_FAXNUMBER = $00000017;
  173.   ADSTYPE_EMAIL = $00000018;
  174.   ADSTYPE_NT_SECURITY_DESCRIPTOR = $00000019;
  175.   ADSTYPE_UNKNOWN = $0000001A;
  176.  
  177. // Constants for enum __MIDL___MIDL__intf_0000_0016
  178. type
  179.   __MIDL___MIDL__intf_0000_0016 = TOleEnum;
  180. const
  181.   ADS_SECURE_AUTHENTICATION = $00000001;
  182.   ADS_USE_ENCRYPTION = $00000002;
  183.   ADS_USE_SSL = $00000002;
  184.   ADS_READONLY_SERVER = $00000004;
  185.   ADS_PROMPT_CREDENTIALS = $00000008;
  186.   ADS_NO_AUTHENTICATION = $00000010;
  187.   ADS_FAST_BIND = $00000020;
  188.   ADS_USE_SIGNING = $00000040;
  189.   ADS_USE_SEALING = $00000080;
  190.  
  191. // Constants for enum __MIDL___MIDL__intf_0000_0017
  192. type
  193.   __MIDL___MIDL__intf_0000_0017 = TOleEnum;
  194. const
  195.   ADS_STATUS_S_OK = $00000000;
  196.   ADS_STATUS_INVALID_SEARCHPREF = $00000001;
  197.   ADS_STATUS_INVALID_SEARCHPREFVALUE = $00000002;
  198.  
  199. // Constants for enum __MIDL___MIDL__intf_0000_0018
  200. type
  201.   __MIDL___MIDL__intf_0000_0018 = TOleEnum;
  202. const
  203.   ADS_DEREF_NEVER = $00000000;
  204.   ADS_DEREF_SEARCHING = $00000001;
  205.   ADS_DEREF_FINDING = $00000002;
  206.   ADS_DEREF_ALWAYS = $00000003;
  207.  
  208. // Constants for enum __MIDL___MIDL__intf_0000_0019
  209. type
  210.   __MIDL___MIDL__intf_0000_0019 = TOleEnum;
  211. const
  212.   ADS_SCOPE_BASE = $00000000;
  213.   ADS_SCOPE_ONELEVEL = $00000001;
  214.   ADS_SCOPE_SUBTREE = $00000002;
  215.  
  216. // Constants for enum __MIDL___MIDL__intf_0000_0020
  217. type
  218.   __MIDL___MIDL__intf_0000_0020 = TOleEnum;
  219. const
  220.   ADSIPROP_ASYNCHRONOUS = $00000000;
  221.   ADSIPROP_DEREF_ALIASES = $00000001;
  222.   ADSIPROP_SIZE_LIMIT = $00000002;
  223.   ADSIPROP_TIME_LIMIT = $00000003;
  224.   ADSIPROP_ATTRIBTYPES_ONLY = $00000004;
  225.   ADSIPROP_SEARCH_SCOPE = $00000005;
  226.   ADSIPROP_TIMEOUT = $00000006;
  227.   ADSIPROP_PAGESIZE = $00000007;
  228.   ADSIPROP_PAGED_TIME_LIMIT = $00000008;
  229.   ADSIPROP_CHASE_REFERRALS = $00000009;
  230.   ADSIPROP_SORT_ON = $0000000A;
  231.   ADSIPROP_CACHE_RESULTS = $0000000B;
  232.  
  233. // Constants for enum __MIDL___MIDL__intf_0000_0021
  234. type
  235.   __MIDL___MIDL__intf_0000_0021 = TOleEnum;
  236. const
  237.   ADSI_DIALECT_LDAP = $00000000;
  238.   ADSI_DIALECT_SQL = $00000001;
  239.  
  240. // Constants for enum __MIDL___MIDL__intf_0000_0022
  241. type
  242.   __MIDL___MIDL__intf_0000_0022 = TOleEnum;
  243. const
  244.   ADS_CHASE_REFERRALS_NEVER = $00000000;
  245.   ADS_CHASE_REFERRALS_SUBORDINATE = $00000020;
  246.   ADS_CHASE_REFERRALS_EXTERNAL = $00000040;
  247.   ADS_CHASE_REFERRALS_ALWAYS = $00000060;
  248.  
  249. // Constants for enum __MIDL___MIDL__intf_0000_0023
  250. type
  251.   __MIDL___MIDL__intf_0000_0023 = TOleEnum;
  252. const
  253.   ADS_SEARCHPREF_ASYNCHRONOUS = $00000000;
  254.   ADS_SEARCHPREF_DEREF_ALIASES = $00000001;
  255.   ADS_SEARCHPREF_SIZE_LIMIT = $00000002;
  256.   ADS_SEARCHPREF_TIME_LIMIT = $00000003;
  257.   ADS_SEARCHPREF_ATTRIBTYPES_ONLY = $00000004;
  258.   ADS_SEARCHPREF_SEARCH_SCOPE = $00000005;
  259.   ADS_SEARCHPREF_TIMEOUT = $00000006;
  260.   ADS_SEARCHPREF_PAGESIZE = $00000007;
  261.   ADS_SEARCHPREF_PAGED_TIME_LIMIT = $00000008;
  262.   ADS_SEARCHPREF_CHASE_REFERRALS = $00000009;
  263.   ADS_SEARCHPREF_SORT_ON = $0000000A;
  264.   ADS_SEARCHPREF_CACHE_RESULTS = $0000000B;
  265.  
  266. // Constants for enum __MIDL___MIDL__intf_0000_0024
  267. type
  268.   __MIDL___MIDL__intf_0000_0024 = TOleEnum;
  269. const
  270.   ADS_PROPERTY_CLEAR = $00000001;
  271.   ADS_PROPERTY_UPDATE = $00000002;
  272.   ADS_PROPERTY_APPEND = $00000003;
  273.   ADS_PROPERTY_DELETE = $00000004;
  274.  
  275. // Constants for enum tagTYPEKIND
  276. type
  277.   tagTYPEKIND = TOleEnum;
  278. const
  279.   TKIND_ENUM = $00000000;
  280.   TKIND_RECORD = $00000001;
  281.   TKIND_MODULE = $00000002;
  282.   TKIND_INTERFACE = $00000003;
  283.   TKIND_DISPATCH = $00000004;
  284.   TKIND_COCLASS = $00000005;
  285.   TKIND_ALIAS = $00000006;
  286.   TKIND_UNION = $00000007;
  287.   TKIND_MAX = $00000008;
  288.  
  289. // Constants for enum tagDESCKIND
  290. type
  291.   tagDESCKIND = TOleEnum;
  292. const
  293.   DESCKIND_NONE = $00000000;
  294.   DESCKIND_FUNCDESC = $00000001;
  295.   DESCKIND_VARDESC = $00000002;
  296.   DESCKIND_TYPECOMP = $00000003;
  297.   DESCKIND_IMPLICITAPPOBJ = $00000004;
  298.   DESCKIND_MAX = $00000005;
  299.  
  300. // Constants for enum tagFUNCKIND
  301. type
  302.   tagFUNCKIND = TOleEnum;
  303. const
  304.   FUNC_VIRTUAL = $00000000;
  305.   FUNC_PUREVIRTUAL = $00000001;
  306.   FUNC_NONVIRTUAL = $00000002;
  307.   FUNC_STATIC = $00000003;
  308.   FUNC_DISPATCH = $00000004;
  309.  
  310. // Constants for enum tagINVOKEKIND
  311. type
  312.   tagINVOKEKIND = TOleEnum;
  313. const
  314.   INVOKE_FUNC = $00000001;
  315.   INVOKE_PROPERTYGET = $00000002;
  316.   INVOKE_PROPERTYPUT = $00000004;
  317.   INVOKE_PROPERTYPUTREF = $00000008;
  318.  
  319. // Constants for enum tagCALLCONV
  320. type
  321.   tagCALLCONV = TOleEnum;
  322. const
  323.   CC_CDECL = $00000001;
  324.   CC_MSCPASCAL = $00000002;
  325.   CC_PASCAL = $00000002;
  326.   CC_MACPASCAL = $00000003;
  327.   CC_STDCALL = $00000004;
  328.   CC_RESERVED = $00000005;
  329.   CC_SYSCALL = $00000006;
  330.   CC_MPWCDECL = $00000007;
  331.   CC_MPWPASCAL = $00000008;
  332.   CC_MAX = $00000009;
  333.  
  334. // Constants for enum tagVARKIND
  335. type
  336.   tagVARKIND = TOleEnum;
  337. const
  338.   VAR_PERINSTANCE = $00000000;
  339.   VAR_STATIC = $00000001;
  340.   VAR_CONST = $00000002;
  341.   VAR_DISPATCH = $00000003;
  342.  
  343. // Constants for enum tagSYSKIND
  344. type
  345.   tagSYSKIND = TOleEnum;
  346. const
  347.   SYS_WIN16 = $00000000;
  348.   SYS_WIN32 = $00000001;
  349.   SYS_MAC = $00000002;
  350.  
  351. // Constants for enum __MIDL___MIDL__intf_0087_0001
  352. type
  353.   __MIDL___MIDL__intf_0087_0001 = TOleEnum;
  354. const
  355.   ADS_SYSTEMFLAG_DISALLOW_DELETE = $80000000;
  356.   ADS_SYSTEMFLAG_CONFIG_ALLOW_RENAME = $40000000;
  357.   ADS_SYSTEMFLAG_CONFIG_ALLOW_MOVE = $20000000;
  358.   ADS_SYSTEMFLAG_CONFIG_ALLOW_LIMITED_MOVE = $10000000;
  359.   ADS_SYSTEMFLAG_DOMAIN_DISALLOW_RENAME = $08000000;
  360.   ADS_SYSTEMFLAG_DOMAIN_DISALLOW_MOVE = $04000000;
  361.   ADS_SYSTEMFLAG_CR_NTDS_NC = $00000001;
  362.   ADS_SYSTEMFLAG_CR_NTDS_DOMAIN = $00000002;
  363.   ADS_SYSTEMFLAG_ATTR_NOT_REPLICATED = $00000001;
  364.   ADS_SYSTEMFLAG_ATTR_IS_CONSTRUCTED = $00000004;
  365.  
  366. // Constants for enum __MIDL___MIDL__intf_0093_0001
  367. type
  368.   __MIDL___MIDL__intf_0093_0001 = TOleEnum;
  369. const
  370.   ADS_GROUP_TYPE_GLOBAL_GROUP = $00000002;
  371.   ADS_GROUP_TYPE_DOMAIN_LOCAL_GROUP = $00000004;
  372.   ADS_GROUP_TYPE_LOCAL_GROUP = $00000004;
  373.   ADS_GROUP_TYPE_UNIVERSAL_GROUP = $00000008;
  374.   ADS_GROUP_TYPE_SECURITY_ENABLED = $80000000;
  375.  
  376. // Constants for enum ADS_USER_FLAG
  377. type
  378.   ADS_USER_FLAG = TOleEnum;
  379. const
  380.   ADS_UF_SCRIPT = $00000001;
  381.   ADS_UF_ACCOUNTDISABLE = $00000002;
  382.   ADS_UF_HOMEDIR_REQUIRED = $00000008;
  383.   ADS_UF_LOCKOUT = $00000010;
  384.   ADS_UF_PASSWD_NOTREQD = $00000020;
  385.   ADS_UF_PASSWD_CANT_CHANGE = $00000040;
  386.   ADS_UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED = $00000080;
  387.   ADS_UF_TEMP_DUPLICATE_ACCOUNT = $00000100;
  388.   ADS_UF_NORMAL_ACCOUNT = $00000200;
  389.   ADS_UF_INTERDOMAIN_TRUST_ACCOUNT = $00000800;
  390.   ADS_UF_WORKSTATION_TRUST_ACCOUNT = $00001000;
  391.   ADS_UF_SERVER_TRUST_ACCOUNT = $00002000;
  392.   ADS_UF_DONT_EXPIRE_PASSWD = $00010000;
  393.   ADS_UF_MNS_LOGON_ACCOUNT = $00020000;
  394.   ADS_UF_SMARTCARD_REQUIRED = $00040000;
  395.   ADS_UF_TRUSTED_FOR_DELEGATION = $00080000;
  396.   ADS_UF_NOT_DELEGATED = $00100000;
  397.  
  398. // Constants for enum __MIDL___MIDL__intf_0115_0001
  399. type
  400.   __MIDL___MIDL__intf_0115_0001 = TOleEnum;
  401. const
  402.   ADS_RIGHT_DELETE = $00010000;
  403.   ADS_RIGHT_READ_CONTROL = $00020000;
  404.   ADS_RIGHT_WRITE_DAC = $00040000;
  405.   ADS_RIGHT_WRITE_OWNER = $00080000;
  406.   ADS_RIGHT_SYNCHRONIZE = $00100000;
  407.   ADS_RIGHT_ACCESS_SYSTEM_SECURITY = $01000000;
  408.   ADS_RIGHT_GENERIC_READ = $80000000;
  409.   ADS_RIGHT_GENERIC_WRITE = $40000000;
  410.   ADS_RIGHT_GENERIC_EXECUTE = $20000000;
  411.   ADS_RIGHT_GENERIC_ALL = $10000000;
  412.   ADS_RIGHT_DS_CREATE_CHILD = $00000001;
  413.   ADS_RIGHT_DS_DELETE_CHILD = $00000002;
  414.   ADS_RIGHT_ACTRL_DS_LIST = $00000004;
  415.   ADS_RIGHT_DS_SELF = $00000008;
  416.   ADS_RIGHT_DS_READ_PROP = $00000010;
  417.   ADS_RIGHT_DS_WRITE_PROP = $00000020;
  418.   ADS_RIGHT_DS_DELETE_TREE = $00000040;
  419.   ADS_RIGHT_DS_LIST_OBJECT = $00000080;
  420.   ADS_RIGHT_DS_CONTROL_ACCESS = $00000100;
  421.  
  422. // Constants for enum __MIDL___MIDL__intf_0115_0002
  423. type
  424.   __MIDL___MIDL__intf_0115_0002 = TOleEnum;
  425. const
  426.   ADS_ACETYPE_ACCESS_ALLOWED = $00000000;
  427.   ADS_ACETYPE_ACCESS_DENIED = $00000001;
  428.   ADS_ACETYPE_SYSTEM_AUDIT = $00000002;
  429.   ADS_ACETYPE_ACCESS_ALLOWED_OBJECT = $00000005;
  430.   ADS_ACETYPE_ACCESS_DENIED_OBJECT = $00000006;
  431.   ADS_ACETYPE_SYSTEM_AUDIT_OBJECT = $00000007;
  432.  
  433. // Constants for enum __MIDL___MIDL__intf_0115_0003
  434. type
  435.   __MIDL___MIDL__intf_0115_0003 = TOleEnum;
  436. const
  437.   ADS_ACEFLAG_INHERIT_ACE = $00000002;
  438.   ADS_ACEFLAG_NO_PROPAGATE_INHERIT_ACE = $00000004;
  439.   ADS_ACEFLAG_INHERIT_ONLY_ACE = $00000008;
  440.   ADS_ACEFLAG_INHERITED_ACE = $00000010;
  441.   ADS_ACEFLAG_VALID_INHERIT_FLAGS = $0000001F;
  442.   ADS_ACEFLAG_SUCCESSFUL_ACCESS = $00000040;
  443.   ADS_ACEFLAG_FAILED_ACCESS = $00000080;
  444.  
  445. // Constants for enum __MIDL___MIDL__intf_0115_0004
  446. type
  447.   __MIDL___MIDL__intf_0115_0004 = TOleEnum;
  448. const
  449.   ADS_FLAG_OBJECT_TYPE_PRESENT = $00000001;
  450.   ADS_FLAG_INHERITED_OBJECT_TYPE_PRESENT = $00000002;
  451.  
  452. // Constants for enum __MIDL___MIDL__intf_0115_0005
  453. type
  454.   __MIDL___MIDL__intf_0115_0005 = TOleEnum;
  455. const
  456.   ADS_SD_CONTROL_SE_OWNER_DEFAULTED = $00000001;
  457.   ADS_SD_CONTROL_SE_GROUP_DEFAULTED = $00000002;
  458.   ADS_SD_CONTROL_SE_DACL_PRESENT = $00000004;
  459.   ADS_SD_CONTROL_SE_DACL_DEFAULTED = $00000008;
  460.   ADS_SD_CONTROL_SE_SACL_PRESENT = $00000010;
  461.   ADS_SD_CONTROL_SE_SACL_DEFAULTED = $00000020;
  462.   ADS_SD_CONTROL_SE_DACL_AUTO_INHERIT_REQ = $00000100;
  463.   ADS_SD_CONTROL_SE_SACL_AUTO_INHERIT_REQ = $00000200;
  464.   ADS_SD_CONTROL_SE_DACL_AUTO_INHERITED = $00000400;
  465.   ADS_SD_CONTROL_SE_SACL_AUTO_INHERITED = $00000800;
  466.   ADS_SD_CONTROL_SE_DACL_PROTECTED = $00001000;
  467.   ADS_SD_CONTROL_SE_SACL_PROTECTED = $00002000;
  468.   ADS_SD_CONTROL_SE_SELF_RELATIVE = $00008000;
  469.  
  470. // Constants for enum __MIDL___MIDL__intf_0115_0006
  471. type
  472.   __MIDL___MIDL__intf_0115_0006 = TOleEnum;
  473. const
  474.   ADS_SD_REVISION_DS = $00000004;
  475.  
  476. // Constants for enum __MIDL___MIDL__intf_0116_0001
  477. type
  478.   __MIDL___MIDL__intf_0116_0001 = TOleEnum;
  479. const
  480.   ADS_NAME_TYPE_1779 = $00000001;
  481.   ADS_NAME_TYPE_CANONICAL = $00000002;
  482.   ADS_NAME_TYPE_NT4 = $00000003;
  483.   ADS_NAME_TYPE_DISPLAY = $00000004;
  484.   ADS_NAME_TYPE_DOMAIN_SIMPLE = $00000005;
  485.   ADS_NAME_TYPE_ENTERPRISE_SIMPLE = $00000006;
  486.   ADS_NAME_TYPE_GUID = $00000007;
  487.   ADS_NAME_TYPE_UNKNOWN = $00000008;
  488.   ADS_NAME_TYPE_USER_PRINCIPAL_NAME = $00000009;
  489.   ADS_NAME_TYPE_CANONICAL_EX = $0000000A;
  490.   ADS_NAME_TYPE_SERVICE_PRINCIPAL_NAME = $0000000B;
  491.  
  492. // Constants for enum __MIDL___MIDL__intf_0116_0002
  493. type
  494.   __MIDL___MIDL__intf_0116_0002 = TOleEnum;
  495. const
  496.   ADS_NAME_INITTYPE_DOMAIN = $00000001;
  497.   ADS_NAME_INITTYPE_SERVER = $00000002;
  498.   ADS_NAME_INITTYPE_GC = $00000003;
  499.  
  500. // Constants for enum __MIDL___MIDL__intf_0130_0001
  501. type
  502.   __MIDL___MIDL__intf_0130_0001 = TOleEnum;
  503. const
  504.   ADS_OPTION_SERVERNAME = $00000000;
  505.   ADS_OPTION_REFERRALS = $00000001;
  506.   ADS_OPTION_PAGE_SIZE = $00000002;
  507.   ADS_OPTION_SECURITY_MASK = $00000003;
  508.  
  509. // Constants for enum __MIDL___MIDL__intf_0130_0002
  510. type
  511.   __MIDL___MIDL__intf_0130_0002 = TOleEnum;
  512. const
  513.   ADS_SECURITY_INFO_OWNER = $00000001;
  514.   ADS_SECURITY_INFO_GROUP = $00000002;
  515.   ADS_SECURITY_INFO_DACL = $00000004;
  516.   ADS_SECURITY_INFO_SACL = $00000008;
  517.  
  518. // Constants for enum __MIDL___MIDL__intf_0131_0001
  519. type
  520.   __MIDL___MIDL__intf_0131_0001 = TOleEnum;
  521. const
  522.   ADS_SETTYPE_FULL = $00000001;
  523.   ADS_SETTYPE_PROVIDER = $00000002;
  524.   ADS_SETTYPE_SERVER = $00000003;
  525.   ADS_SETTYPE_DN = $00000004;
  526.  
  527. // Constants for enum __MIDL___MIDL__intf_0131_0002
  528. type
  529.   __MIDL___MIDL__intf_0131_0002 = TOleEnum;
  530. const
  531.   ADS_FORMAT_WINDOWS = $00000001;
  532.   ADS_FORMAT_WINDOWS_NO_SERVER = $00000002;
  533.   ADS_FORMAT_WINDOWS_DN = $00000003;
  534.   ADS_FORMAT_WINDOWS_PARENT = $00000004;
  535.   ADS_FORMAT_X500 = $00000005;
  536.   ADS_FORMAT_X500_NO_SERVER = $00000006;
  537.   ADS_FORMAT_X500_DN = $00000007;
  538.   ADS_FORMAT_X500_PARENT = $00000008;
  539.   ADS_FORMAT_SERVER = $00000009;
  540.   ADS_FORMAT_PROVIDER = $0000000A;
  541.   ADS_FORMAT_LEAF = $0000000B;
  542.  
  543. // Constants for enum __MIDL___MIDL__intf_0131_0003
  544. type
  545.   __MIDL___MIDL__intf_0131_0003 = TOleEnum;
  546. const
  547.   ADS_DISPLAY_FULL = $00000001;
  548.   ADS_DISPLAY_VALUE_ONLY = $00000002;
  549.  
  550. // Constants for enum __MIDL___MIDL__intf_0131_0004
  551. type
  552.   __MIDL___MIDL__intf_0131_0004 = TOleEnum;
  553. const
  554.   ADS_ESCAPEDMODE_DEFAULT = $00000001;
  555.   ADS_ESCAPEDMODE_ON = $00000002;
  556.   ADS_ESCAPEDMODE_OFF = $00000003;
  557.  
  558. type
  559.  
  560. // *********************************************************************//
  561. // Forward declaration of types defined in TypeLibrary                    
  562. // *********************************************************************//
  563.   IADs = interface;
  564.   IADsDisp = dispinterface;
  565.   IADsContainer = interface;
  566.   IADsContainerDisp = dispinterface;
  567.   IADsCollection = interface;
  568.   IADsCollectionDisp = dispinterface;
  569.   IADsMembers = interface;
  570.   IADsMembersDisp = dispinterface;
  571.   IADsPropertyList = interface;
  572.   IADsPropertyListDisp = dispinterface;
  573.   IADsPropertyEntry = interface;
  574.   IADsPropertyEntryDisp = dispinterface;
  575.   IADsPropertyValue = interface;
  576.   IADsPropertyValueDisp = dispinterface;
  577.   IADsPropertyValue2 = interface;
  578.   IADsPropertyValue2Disp = dispinterface;
  579.   IPrivateDispatch = interface;
  580.   ITypeInfo = interface;
  581.   ITypeComp = interface;
  582.   ITypeLib = interface;
  583.   IPrivateUnknown = interface;
  584.   IADsExtension = interface;
  585.   IADsDeleteOps = interface;
  586.   IADsDeleteOpsDisp = dispinterface;
  587.   IADsNamespaces = interface;
  588.   IADsNamespacesDisp = dispinterface;
  589.   IADsClass = interface;
  590.   IADsClassDisp = dispinterface;
  591.   IADsProperty = interface;
  592.   IADsPropertyDisp = dispinterface;
  593.   IADsSyntax = interface;
  594.   IADsSyntaxDisp = dispinterface;
  595.   IADsLocality = interface;
  596.   IADsLocalityDisp = dispinterface;
  597.   IADsO = interface;
  598.   IADsODisp = dispinterface;
  599.   IADsOU = interface;
  600.   IADsOUDisp = dispinterface;
  601.   IADsDomain = interface;
  602.   IADsDomainDisp = dispinterface;
  603.   IADsComputer = interface;
  604.   IADsComputerDisp = dispinterface;
  605.   IADsComputerOperations = interface;
  606.   IADsComputerOperationsDisp = dispinterface;
  607.   IADsGroup = interface;
  608.   IADsGroupDisp = dispinterface;
  609.   IADsUser = interface;
  610.   IADsUserDisp = dispinterface;
  611.   IADsPrintQueue = interface;
  612.   IADsPrintQueueDisp = dispinterface;
  613.   IADsPrintQueueOperations = interface;
  614.   IADsPrintQueueOperationsDisp = dispinterface;
  615.   IADsPrintJob = interface;
  616.   IADsPrintJobDisp = dispinterface;
  617.   IADsPrintJobOperations = interface;
  618.   IADsPrintJobOperationsDisp = dispinterface;
  619.   IADsService = interface;
  620.   IADsServiceDisp = dispinterface;
  621.   IADsServiceOperations = interface;
  622.   IADsServiceOperationsDisp = dispinterface;
  623.   IADsFileService = interface;
  624.   IADsFileServiceDisp = dispinterface;
  625.   IADsFileServiceOperations = interface;
  626.   IADsFileServiceOperationsDisp = dispinterface;
  627.   IADsFileShare = interface;
  628.   IADsFileShareDisp = dispinterface;
  629.   IADsSession = interface;
  630.   IADsSessionDisp = dispinterface;
  631.   IADsResource = interface;
  632.   IADsResourceDisp = dispinterface;
  633.   IADsOpenDSObject = interface;
  634.   IADsOpenDSObjectDisp = dispinterface;
  635.   IDirectoryObject = interface;
  636.   IDirectorySearch = interface;
  637.   IDirectorySchemaMgmt = interface;
  638.   IADsAggregatee = interface;
  639.   IADsAggregator = interface;
  640.   IADsAccessControlEntry = interface;
  641.   IADsAccessControlEntryDisp = dispinterface;
  642.   IADsAccessControlList = interface;
  643.   IADsAccessControlListDisp = dispinterface;
  644.   IADsSecurityDescriptor = interface;
  645.   IADsSecurityDescriptorDisp = dispinterface;
  646.   IADsLargeInteger = interface;
  647.   IADsLargeIntegerDisp = dispinterface;
  648.   IADsNameTranslate = interface;
  649.   IADsNameTranslateDisp = dispinterface;
  650.   IADsCaseIgnoreList = interface;
  651.   IADsCaseIgnoreListDisp = dispinterface;
  652.   IADsFaxNumber = interface;
  653.   IADsFaxNumberDisp = dispinterface;
  654.   IADsNetAddress = interface;
  655.   IADsNetAddressDisp = dispinterface;
  656.   IADsOctetList = interface;
  657.   IADsOctetListDisp = dispinterface;
  658.   IADsEmail = interface;
  659.   IADsEmailDisp = dispinterface;
  660.   IADsPath = interface;
  661.   IADsPathDisp = dispinterface;
  662.   IADsReplicaPointer = interface;
  663.   IADsReplicaPointerDisp = dispinterface;
  664.   IADsAcl = interface;
  665.   IADsAclDisp = dispinterface;
  666.   IADsTimestamp = interface;
  667.   IADsTimestampDisp = dispinterface;
  668.   IADsPostalAddress = interface;
  669.   IADsPostalAddressDisp = dispinterface;
  670.   IADsBackLink = interface;
  671.   IADsBackLinkDisp = dispinterface;
  672.   IADsTypedName = interface;
  673.   IADsTypedNameDisp = dispinterface;
  674.   IADsHold = interface;
  675.   IADsHoldDisp = dispinterface;
  676.   IADsObjectOptions = interface;
  677.   IADsObjectOptionsDisp = dispinterface;
  678.   IADsPathname = interface;
  679.   IADsPathnameDisp = dispinterface;
  680.  
  681. // *********************************************************************//
  682. // Declaration of CoClasses defined in Type Library                       
  683. // (NOTE: Here we map each CoClass to its Default Interface)              
  684. // *********************************************************************//
  685.   PropertyEntry = IADsPropertyEntry;
  686.   PropertyValue = IADsPropertyValue;
  687.   AccessControlEntry = IADsAccessControlEntry;
  688.   AccessControlList = IADsAccessControlList;
  689.   SecurityDescriptor = IADsSecurityDescriptor;
  690.   LargeInteger = IADsLargeInteger;
  691.   NameTranslate = IADsNameTranslate;
  692.   CaseIgnoreList = IADsCaseIgnoreList;
  693.   FaxNumber = IADsFaxNumber;
  694.   NetAddress = IADsNetAddress;
  695.   OctetList = IADsOctetList;
  696.   Email = IADsEmail;
  697.   Path = IADsPath;
  698.   ReplicaPointer = IADsReplicaPointer;
  699.   Acl = IADsAcl;
  700.   Timestamp = IADsTimestamp;
  701.   PostalAddress = IADsPostalAddress;
  702.   BackLink = IADsBackLink;
  703.   TypedName = IADsTypedName;
  704.   Hold = IADsHold;
  705.   Pathname = IADsPathname;
  706.  
  707.  
  708. // *********************************************************************//
  709. // Declaration of structures, unions and aliases.                         
  710. // *********************************************************************//
  711.   PUserType1 = ^TGUID; {*}
  712.   PUserType2 = ^TGUID; {*}
  713.   PPWideChar1 = ^PWideChar; {*}
  714.   PUserType9 = ^TGUID; {*}
  715.   PUserType10 = ^TGUID; {*}
  716.   PUserType3 = ^TGUID; {*}
  717.   PSmallint1 = ^Smallint; {*}
  718.   PPSmallint1 = ^PSmallint1; {*}
  719.   PUserType4 = ^TGUID; {*}
  720.   PUserType5 = ^TGUID; {*}
  721.   PUserType6 = ^TGUID; {*}
  722.   PUserType7 = ^TGUID; {*}
  723.   PUserType8 = ^TGUID; {*}
  724.   PUserType11 = ^TGUID; {*}
  725.   PUserType12 = ^TGUID; {*}
  726.   PUserType13 = ^TGUID; {*}
  727.   PUserType14 = ^TGUID; {*}
  728.   PUserType15 = ^TGUID; {*}
  729.   PUserType16 = ^TGUID; {*}
  730.   PPUserType1 = ^PUserType16; {*}
  731.   PUINT1 = ^LongWord; {*}
  732.   PUserType17 = ^TGUID; {*}
  733.   PPUserType2 = ^PUserType17; {*}
  734.  
  735.   ADSTYPEENUM = __MIDL___MIDL__intf_0000_0001; 
  736.  
  737.   __MIDL___MIDL__intf_0000_0002 = packed record
  738.     dwLength: LongWord;
  739.     lpValue: ^Byte;
  740.   end;
  741.  
  742.   ADS_OCTET_STRING = __MIDL___MIDL__intf_0000_0002; 
  743.  
  744.   __MIDL___MIDL__intf_0000_0003 = packed record
  745.     dwLength: LongWord;
  746.     lpValue: ^Byte;
  747.   end;
  748.  
  749.   ADS_NT_SECURITY_DESCRIPTOR = TGUID; 
  750.  
  751.   _SYSTEMTIME = packed record
  752.     wYear: Word;
  753.     wMonth: Word;
  754.     wDayOfWeek: Word;
  755.     wDay: Word;
  756.     wHour: Word;
  757.     wMinute: Word;
  758.     wSecond: Word;
  759.     wMilliseconds: Word;
  760.   end;
  761.  
  762.   _LARGE_INTEGER = packed record
  763.     QuadPart: Int64;
  764.   end;
  765.  
  766.   __MIDL___MIDL__intf_0000_0004 = packed record
  767.     dwLength: LongWord;
  768.     lpValue: ^Byte;
  769.   end;
  770.  
  771.   ADS_PROV_SPECIFIC = __MIDL___MIDL__intf_0000_0003; 
  772.  
  773.   __MIDL___MIDL__intf_0000_0005 = packed record
  774.     Type_: LongWord;
  775.     VolumeName: PWideChar;
  776.     Path: PWideChar;
  777.   end;
  778.  
  779.   ADS_PATH = TGUID; 
  780.  
  781.   __MIDL___MIDL__intf_0000_0006 = packed record
  782.     PostalAddress: array[0..5] of PWideChar;
  783.   end;
  784.  
  785.   ADS_POSTALADDRESS = TGUID; 
  786.  
  787.   __MIDL___MIDL__intf_0000_0007 = packed record
  788.     WholeSeconds: LongWord;
  789.     EventID: LongWord;
  790.   end;
  791.  
  792.   ADS_TIMESTAMP = TGUID; 
  793.  
  794.   __MIDL___MIDL__intf_0000_0008 = packed record
  795.     RemoteID: LongWord;
  796.     ObjectName: PWideChar;
  797.   end;
  798.  
  799.   ADS_BACKLINK = TGUID; 
  800.  
  801.   __MIDL___MIDL__intf_0000_0009 = packed record
  802.     ObjectName: PWideChar;
  803.     Level: LongWord;
  804.     Interval: LongWord;
  805.   end;
  806.  
  807.   ADS_TYPEDNAME = TGUID; 
  808.  
  809.   __MIDL___MIDL__intf_0000_0010 = packed record
  810.     ObjectName: PWideChar;
  811.     Amount: LongWord;
  812.   end;
  813.  
  814.   ADS_HOLD = TGUID; 
  815.  
  816.   __MIDL___MIDL__intf_0000_0011 = packed record
  817.     AddressType: LongWord;
  818.     AddressLength: LongWord;
  819.     Address: ^Byte;
  820.   end;
  821.  
  822.   ADS_NETADDRESS = TGUID; 
  823.  
  824.   __MIDL___MIDL__intf_0000_0012 = packed record
  825.     ServerName: PWideChar;
  826.     ReplicaType: LongWord;
  827.     ReplicaNumber: LongWord;
  828.     Count: LongWord;
  829.     ReplicaAddressHints: ^TGUID;
  830.   end;
  831.  
  832.   ADS_REPLICAPOINTER = TGUID; 
  833.  
  834.   __MIDL___MIDL__intf_0000_0013 = packed record
  835.     TelephoneNumber: PWideChar;
  836.     NumberOfBits: LongWord;
  837.     Parameters: ^Byte;
  838.   end;
  839.  
  840.   ADS_FAXNUMBER = TGUID; 
  841.  
  842.   __MIDL___MIDL__intf_0000_0014 = packed record
  843.     Address: PWideChar;
  844.     Type_: LongWord;
  845.   end;
  846.  
  847.   ADS_EMAIL = TGUID; 
  848.  
  849.   _ADS_CASEIGNORE_LIST = packed record
  850.     Next: PUserType1;
  851.     String_: PWideChar;
  852.   end;
  853.  
  854.   _ADS_OCTET_LIST = packed record
  855.     Next: PUserType2;
  856.     Length: LongWord;
  857.     Data: ^Byte;
  858.   end;
  859.  
  860.   __MIDL___MIDL__intf_0000_0015 = record
  861.     case Integer of
  862.       0: (DNString: PWideChar);
  863.       1: (CaseExactString: PWideChar);
  864.       2: (CaseIgnoreString: PWideChar);
  865.       3: (PrintableString: PWideChar);
  866.       4: (NumericString: PWideChar);
  867.       5: (Boolean: LongWord);
  868.       6: (Integer: LongWord);
  869.       7: (OctetString: ADS_OCTET_STRING);
  870.       8: (UTCTime: TDateTime);
  871.       9: (LargeInteger: TGUID);
  872.       10: (ClassName: PWideChar);
  873.       11: (ProviderSpecific: ADS_PROV_SPECIFIC);
  874. {      12: (pCaseIgnoreList: ^TGUID);
  875.       13: (pOctetList: ^TGUID);
  876.       14: (pPath: ^TGUID);
  877.       15: (pPostalAddress: ^TGUID);
  878.       16: (Timestamp: ADS_TIMESTAMP);
  879.       17: (BackLink: ADS_BACKLINK);
  880.       18: (pTypedName: ^TGUID);
  881.       19: (Hold: ADS_HOLD);
  882.       20: (pNetAddress: ^TGUID);
  883.       21: (pReplicaPointer: ^TGUID);
  884.       22: (pFaxNumber: ^TGUID);
  885.       23: (Email: ADS_EMAIL);
  886.       24: (SecurityDescriptor: ADS_NT_SECURITY_DESCRIPTOR);}
  887.   end;
  888.  
  889.   ADS_AUTHENTICATION_ENUM = __MIDL___MIDL__intf_0000_0016;
  890.  
  891.   _ads_object_info = packed record
  892.     pszRDN: PWideChar;
  893.     pszObjectDN: PWideChar;
  894.     pszParentDN: PWideChar;
  895.     pszSchemaDN: PWideChar;
  896.     pszClassName: PWideChar;
  897.   end;
  898.  
  899.   ADS_STATUSENUM = __MIDL___MIDL__intf_0000_0017; 
  900.   ADS_DEREFENUM = __MIDL___MIDL__intf_0000_0018; 
  901.   ADS_SCOPEENUM = __MIDL___MIDL__intf_0000_0019; 
  902.   ADS_PREFERENCES_ENUM = __MIDL___MIDL__intf_0000_0020; 
  903.   ADSI_DIALECT_ENUM = __MIDL___MIDL__intf_0000_0021; 
  904.   ADS_CHASE_REFERRALS_ENUM = __MIDL___MIDL__intf_0000_0022; 
  905.   ADS_SEARCHPREF_ENUM = __MIDL___MIDL__intf_0000_0023; 
  906.  
  907.   pAdsValue = ^_adsValue;
  908.   _adsvalue = packed record
  909.     dwType: Int64;
  910.     //__MIDL_0015: __MIDL___MIDL__intf_0000_0015;
  911.     case Integer of
  912.       0: (DNString: PWideChar);
  913.       1: (CaseExactString: PWideChar);
  914.       2: (CaseIgnoreString: PWideChar);
  915.       3: (PrintableString: PWideChar);
  916.       4: (NumericString: PWideChar);
  917.       5: (Boolean: WordBool);
  918.       6: (Integer: LongWord);
  919.       7: (OctetString: ADS_OCTET_STRING);
  920.       8: (UTCTime: _SYSTEMTIME);
  921.       9: (LargeInteger: _LARGE_INTEGER);
  922.       10: (ClassName: PWideChar);
  923.       11: (ProviderSpecific: ADS_PROV_SPECIFIC);
  924.   end;
  925.  
  926.   ads_search_column = packed record
  927.     pszAttrName: PWideChar;
  928.     dwADsType: ADSTYPEENUM;
  929.     pADsValues: padsvalue;
  930.     dwNumValues: LongWord;
  931.     hReserved: Pointer;
  932.   end;
  933.  
  934.   _ads_attr_def = packed record
  935.     pszAttrName: PWideChar;
  936.     dwADsType: ADSTYPEENUM;
  937.     dwMinRange: LongWord;
  938.     dwMaxRange: LongWord;
  939.     fMultiValued: Integer;
  940.   end;
  941.  
  942.  
  943.   _ads_sortkey = packed record
  944.     pszAttrType: PWideChar;
  945.     pszReserved: PWideChar;
  946.     fReverseorder: Shortint;
  947.   end;
  948.  
  949.   ADS_PROPERTY_OPERATION_ENUM = __MIDL___MIDL__intf_0000_0024; 
  950.  
  951.   _GUID = packed record
  952.     Data1: LongWord;
  953.     Data2: Word;
  954.     Data3: Word;
  955.     Data4: array[0..7] of Byte;
  956.   end;
  957.  
  958.  
  959.   __MIDL_IOleAutomationTypes_0005 = record
  960.     case Integer of
  961.       0: (lptdesc: PUserType9);
  962.       1: (lpadesc: PUserType10);
  963.       2: (hreftype: LongWord);
  964.   end;
  965.  
  966.   tagTYPEDESC = packed record
  967.     __MIDL_0013: __MIDL_IOleAutomationTypes_0005;
  968.     vt: Word;
  969.   end;
  970.  
  971.   tagSAFEARRAYBOUND = packed record
  972.     cElements: LongWord;
  973.     lLbound: Integer;
  974.   end;
  975.  
  976.   tagIDLDESC = packed record
  977.     dwReserved: LongWord;
  978.     wIDLFlags: Word;
  979.   end;
  980.  
  981.   DWORD = LongWord; 
  982.  
  983.   tagPARAMDESCEX = packed record
  984.     cBytes: LongWord;
  985.     varDefaultValue: OleVariant;
  986.   end;
  987.  
  988.   tagPARAMDESC = packed record
  989.     pparamdescex: ^TGUID;
  990.     wParamFlags: Word;
  991.   end;
  992.  
  993.   tagELEMDESC = packed record
  994.     tdesc: TGUID;
  995.     paramdesc: TGUID;
  996.   end;
  997.  
  998.   tagFUNCDESC = packed record
  999.     memid: Integer;
  1000.     lprgscode: ^SCODE;
  1001.     lprgelemdescParam: ^TGUID;
  1002.     funckind: tagFUNCKIND;
  1003.     invkind: tagINVOKEKIND;
  1004.     callconv: tagCALLCONV;
  1005.     cParams: Smallint;
  1006.     cParamsOpt: Smallint;
  1007.     oVft: Smallint;
  1008.     cScodes: Smallint;
  1009.     elemdescFunc: TGUID;
  1010.     wFuncFlags: Word;
  1011.   end;
  1012.  
  1013.   __MIDL_IOleAutomationTypes_0006 = record
  1014.     case Integer of
  1015.       0: (oInst: LongWord);
  1016.       1: (lpvarValue: ^OleVariant);
  1017.   end;
  1018.  
  1019.   tagVARDESC = packed record
  1020.     memid: Integer;
  1021.     lpstrSchema: PWideChar;
  1022.     __MIDL_0014: __MIDL_IOleAutomationTypes_0006;
  1023.     elemdescVar: TGUID;
  1024.     wVarFlags: Word;
  1025.     varkind: tagVARKIND;
  1026.   end;
  1027.  
  1028.   tagTLIBATTR = packed record
  1029.     GUID: TGUID;
  1030.     lcid: LongWord;
  1031.     syskind: tagSYSKIND;
  1032.     wMajorVerNum: Word;
  1033.     wMinorVerNum: Word;
  1034.     wLibFlags: Word;
  1035.   end;
  1036.  
  1037.   ADS_SYSTEMFLAG_ENUM = __MIDL___MIDL__intf_0087_0001; 
  1038.   ADS_GROUP_TYPE_ENUM = __MIDL___MIDL__intf_0093_0001; 
  1039.   ADS_RIGHTS_ENUM = __MIDL___MIDL__intf_0115_0001; 
  1040.   ADS_ACETYPE_ENUM = __MIDL___MIDL__intf_0115_0002; 
  1041.   ADS_ACEFLAG_ENUM = __MIDL___MIDL__intf_0115_0003; 
  1042.   ADS_FLAGTYPE_ENUM = __MIDL___MIDL__intf_0115_0004; 
  1043.   ADS_SD_CONTROL_ENUM = __MIDL___MIDL__intf_0115_0005; 
  1044.   ADS_SD_REVISION_ENUM = __MIDL___MIDL__intf_0115_0006; 
  1045.   ADS_NAME_TYPE_ENUM = __MIDL___MIDL__intf_0116_0001; 
  1046.   ADS_NAME_INITTYPE_ENUM = __MIDL___MIDL__intf_0116_0002; 
  1047.   ADS_OPTION_ENUM = __MIDL___MIDL__intf_0130_0001; 
  1048.   ADS_SECURITY_INFO_ENUM = __MIDL___MIDL__intf_0130_0002; 
  1049.   ADS_SETTYPE_ENUM = __MIDL___MIDL__intf_0131_0001; 
  1050.   ADS_FORMAT_ENUM = __MIDL___MIDL__intf_0131_0002; 
  1051.   ADS_DISPLAY_ENUM = __MIDL___MIDL__intf_0131_0003; 
  1052.   ADS_ESCAPE_MODE_ENUM = __MIDL___MIDL__intf_0131_0004; 
  1053.  
  1054.   _ads_attr_info = packed record
  1055.     pszAttrName: PWideChar;
  1056.     dwControlCode: LongWord;
  1057.     dwADsType: ADSTYPEENUM;
  1058.     pADsValues: ^TGUID;
  1059.     dwNumValues: LongWord;
  1060.   end;
  1061.  
  1062.   Pads_searchpref_info = ^ads_searchpref_info;
  1063.   ads_searchpref_info = packed record
  1064.     dwSearchPref: Int64;
  1065.     vValue: _adsvalue;
  1066.     dwStatus: Int64;
  1067.   end;
  1068.  
  1069.   _ads_class_def = packed record
  1070.     pszClassName: PWideChar;
  1071.     dwMandatoryAttrs: LongWord;
  1072.     ppszMandatoryAttrs: ^PWideChar;
  1073.     optionalAttrs: LongWord;
  1074.     ppszOptionalAttrs: ^PPWideChar1;
  1075.     dwNamingAttrs: LongWord;
  1076.     ppszNamingAttrs: ^PPWideChar1;
  1077.     dwSuperClasses: LongWord;
  1078.     ppszSuperClasses: ^PPWideChar1;
  1079.     fIsContainer: Integer;
  1080.   end;
  1081.  
  1082.  
  1083.   tagTYPEATTR = packed record
  1084.     GUID: TGUID;
  1085.     lcid: LongWord;
  1086.     dwReserved: LongWord;
  1087.     memidConstructor: Integer;
  1088.     memidDestructor: Integer;
  1089.     lpstrSchema: PWideChar;
  1090.     cbSizeInstance: LongWord;
  1091.     typekind: tagTYPEKIND;
  1092.     cFuncs: Word;
  1093.     cVars: Word;
  1094.     cImplTypes: Word;
  1095.     cbSizeVft: Word;
  1096.     cbAlignment: Word;
  1097.     wTypeFlags: Word;
  1098.     wMajorVerNum: Word;
  1099.     wMinorVerNum: Word;
  1100.     tdescAlias: TGUID;
  1101.     idldescType: TGUID;
  1102.   end;
  1103.  
  1104.   tagARRAYDESC = packed record
  1105.     tdescElem: TGUID;
  1106.     cDims: Word;
  1107.     rgbounds: ^TGUID;
  1108.   end;
  1109.  
  1110.  
  1111. // *********************************************************************//
  1112. // Interface: IADs
  1113. // Flags:     (4416) Dual OleAutomation Dispatchable
  1114. // GUID:      {FD8256D0-FD15-11CE-ABC4-02608C9E7553}
  1115. // *********************************************************************//
  1116.   IADs = interface(IDispatch)
  1117.     ['{FD8256D0-FD15-11CE-ABC4-02608C9E7553}']
  1118.     function  Get_Name: WideString; safecall;
  1119.     function  Get_Class_: WideString; safecall;
  1120.     function  Get_GUID: WideString; safecall;
  1121.     function  Get_ADsPath: WideString; safecall;
  1122.     function  Get_Parent: WideString; safecall;
  1123.     function  Get_Schema: WideString; safecall;
  1124.     procedure GetInfo; safecall;
  1125.     procedure SetInfo; safecall;
  1126.     function  Get(const bstrName: WideString): OleVariant; safecall;
  1127.     procedure Put(const bstrName: WideString; vProp: OleVariant); safecall;
  1128.     function  GetEx(const bstrName: WideString): OleVariant; safecall;
  1129.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); safecall;
  1130.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); safecall;
  1131.     property Name: WideString read Get_Name;
  1132.     property Class_: WideString read Get_Class_;
  1133.     property GUID: WideString read Get_GUID;
  1134.     property ADsPath: WideString read Get_ADsPath;
  1135.     property Parent: WideString read Get_Parent;
  1136.     property Schema: WideString read Get_Schema;
  1137.   end;
  1138.  
  1139. // *********************************************************************//
  1140. // DispIntf:  IADsDisp
  1141. // Flags:     (4416) Dual OleAutomation Dispatchable
  1142. // GUID:      {FD8256D0-FD15-11CE-ABC4-02608C9E7553}
  1143. // *********************************************************************//
  1144.   IADsDisp = dispinterface
  1145.     ['{FD8256D0-FD15-11CE-ABC4-02608C9E7553}']
  1146.     property Name: WideString readonly dispid 2;
  1147.     property Class_: WideString readonly dispid 3;
  1148.     property GUID: WideString readonly dispid 4;
  1149.     property ADsPath: WideString readonly dispid 5;
  1150.     property Parent: WideString readonly dispid 6;
  1151.     property Schema: WideString readonly dispid 7;
  1152.     procedure GetInfo; dispid 8;
  1153.     procedure SetInfo; dispid 9;
  1154.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  1155.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  1156.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  1157.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  1158.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  1159.   end;
  1160.  
  1161. // *********************************************************************//
  1162. // Interface: IADsContainer
  1163. // Flags:     (4416) Dual OleAutomation Dispatchable
  1164. // GUID:      {001677D0-FD16-11CE-ABC4-02608C9E7553}
  1165. // *********************************************************************//
  1166.   IADsContainer = interface(IDispatch)
  1167.     ['{001677D0-FD16-11CE-ABC4-02608C9E7553}']
  1168.     function  Get_Count: Integer; safecall;
  1169.     function  Get__NewEnum: IUnknown; safecall;
  1170.     function  Get_Filter: OleVariant; safecall;
  1171.     procedure Set_Filter(pVar: OleVariant); safecall;
  1172.     function  Get_Hints: OleVariant; safecall;
  1173.     procedure Set_Hints(pvFilter: OleVariant); safecall;
  1174.     function  GetObject(const ClassName: WideString; const RelativeName: WideString): IDispatch; safecall;
  1175.     function  Create(const ClassName: WideString; const RelativeName: WideString): IDispatch; safecall;
  1176.     procedure Delete(const bstrClassName: WideString; const bstrRelativeName: WideString); safecall;
  1177.     function  CopyHere(const SourceName: WideString; const NewName: WideString): IDispatch; safecall;
  1178.     function  MoveHere(const SourceName: WideString; const NewName: WideString): IDispatch; safecall;
  1179.     property Count: Integer read Get_Count;
  1180.     property _NewEnum: IUnknown read Get__NewEnum;
  1181.     property Filter: OleVariant read Get_Filter write Set_Filter;
  1182.     property Hints: OleVariant read Get_Hints write Set_Hints;
  1183.   end;
  1184.  
  1185. // *********************************************************************//
  1186. // DispIntf:  IADsContainerDisp
  1187. // Flags:     (4416) Dual OleAutomation Dispatchable
  1188. // GUID:      {001677D0-FD16-11CE-ABC4-02608C9E7553}
  1189. // *********************************************************************//
  1190.   IADsContainerDisp = dispinterface
  1191.     ['{001677D0-FD16-11CE-ABC4-02608C9E7553}']
  1192.     property Count: Integer readonly dispid 2;
  1193.     property _NewEnum: IUnknown readonly dispid -4;
  1194.     property Filter: OleVariant dispid 3;
  1195.     property Hints: OleVariant dispid 4;
  1196.     function  GetObject(const ClassName: WideString; const RelativeName: WideString): IDispatch; dispid 5;
  1197.     function  Create(const ClassName: WideString; const RelativeName: WideString): IDispatch; dispid 6;
  1198.     procedure Delete(const bstrClassName: WideString; const bstrRelativeName: WideString); dispid 7;
  1199.     function  CopyHere(const SourceName: WideString; const NewName: WideString): IDispatch; dispid 8;
  1200.     function  MoveHere(const SourceName: WideString; const NewName: WideString): IDispatch; dispid 9;
  1201.   end;
  1202.  
  1203. // *********************************************************************//
  1204. // Interface: IADsCollection
  1205. // Flags:     (4416) Dual OleAutomation Dispatchable
  1206. // GUID:      {72B945E0-253B-11CF-A988-00AA006BC149}
  1207. // *********************************************************************//
  1208.   IADsCollection = interface(IDispatch)
  1209.     ['{72B945E0-253B-11CF-A988-00AA006BC149}']
  1210.     function  Get__NewEnum: IUnknown; safecall;
  1211.     procedure Add(const bstrName: WideString; vItem: OleVariant); safecall;
  1212.     procedure Remove(const bstrItemToBeRemoved: WideString); safecall;
  1213.     function  GetObject(const bstrName: WideString): OleVariant; safecall;
  1214.     property _NewEnum: IUnknown read Get__NewEnum;
  1215.   end;
  1216.  
  1217. // *********************************************************************//
  1218. // DispIntf:  IADsCollectionDisp
  1219. // Flags:     (4416) Dual OleAutomation Dispatchable
  1220. // GUID:      {72B945E0-253B-11CF-A988-00AA006BC149}
  1221. // *********************************************************************//
  1222.   IADsCollectionDisp = dispinterface
  1223.     ['{72B945E0-253B-11CF-A988-00AA006BC149}']
  1224.     property _NewEnum: IUnknown readonly dispid -4;
  1225.     procedure Add(const bstrName: WideString; vItem: OleVariant); dispid 4;
  1226.     procedure Remove(const bstrItemToBeRemoved: WideString); dispid 5;
  1227.     function  GetObject(const bstrName: WideString): OleVariant; dispid 6;
  1228.   end;
  1229.  
  1230. // *********************************************************************//
  1231. // Interface: IADsMembers
  1232. // Flags:     (4416) Dual OleAutomation Dispatchable
  1233. // GUID:      {451A0030-72EC-11CF-B03B-00AA006E0975}
  1234. // *********************************************************************//
  1235.   IADsMembers = interface(IDispatch)
  1236.     ['{451A0030-72EC-11CF-B03B-00AA006E0975}']
  1237.     function  Get_Count: Integer; safecall;
  1238.     function  Get__NewEnum: IUnknown; safecall;
  1239.     function  Get_Filter: OleVariant; safecall;
  1240.     procedure Set_Filter(pvFilter: OleVariant); safecall;
  1241.     property Count: Integer read Get_Count;
  1242.     property _NewEnum: IUnknown read Get__NewEnum;
  1243.     property Filter: OleVariant read Get_Filter write Set_Filter;
  1244.   end;
  1245.  
  1246. // *********************************************************************//
  1247. // DispIntf:  IADsMembersDisp
  1248. // Flags:     (4416) Dual OleAutomation Dispatchable
  1249. // GUID:      {451A0030-72EC-11CF-B03B-00AA006E0975}
  1250. // *********************************************************************//
  1251.   IADsMembersDisp = dispinterface
  1252.     ['{451A0030-72EC-11CF-B03B-00AA006E0975}']
  1253.     property Count: Integer readonly dispid 2;
  1254.     property _NewEnum: IUnknown readonly dispid -4;
  1255.     property Filter: OleVariant dispid 3;
  1256.   end;
  1257.  
  1258. // *********************************************************************//
  1259. // Interface: IADsPropertyList
  1260. // Flags:     (4416) Dual OleAutomation Dispatchable
  1261. // GUID:      {C6F602B6-8F69-11D0-8528-00C04FD8D503}
  1262. // *********************************************************************//
  1263.   IADsPropertyList = interface(IDispatch)
  1264.     ['{C6F602B6-8F69-11D0-8528-00C04FD8D503}']
  1265.     function  Get_PropertyCount: Integer; safecall;
  1266.     function  Next: OleVariant; safecall;
  1267.     procedure Skip(cElements: Integer); safecall;
  1268.     procedure Reset; safecall;
  1269.     function  Item(varIndex: OleVariant): OleVariant; safecall;
  1270.     function  GetPropertyItem(const bstrName: WideString; lnADsType: Integer): OleVariant; safecall;
  1271.     procedure PutPropertyItem(varData: OleVariant); safecall;
  1272.     procedure ResetPropertyItem(varEntry: OleVariant); safecall;
  1273.     procedure PurgePropertyList; safecall;
  1274.     property PropertyCount: Integer read Get_PropertyCount;
  1275.   end;
  1276.  
  1277. // *********************************************************************//
  1278. // DispIntf:  IADsPropertyListDisp
  1279. // Flags:     (4416) Dual OleAutomation Dispatchable
  1280. // GUID:      {C6F602B6-8F69-11D0-8528-00C04FD8D503}
  1281. // *********************************************************************//
  1282.   IADsPropertyListDisp = dispinterface
  1283.     ['{C6F602B6-8F69-11D0-8528-00C04FD8D503}']
  1284.     property PropertyCount: Integer readonly dispid 2;
  1285.     function  Next: OleVariant; dispid 3;
  1286.     procedure Skip(cElements: Integer); dispid 4;
  1287.     procedure Reset; dispid 5;
  1288.     function  Item(varIndex: OleVariant): OleVariant; dispid 0;
  1289.     function  GetPropertyItem(const bstrName: WideString; lnADsType: Integer): OleVariant; dispid 6;
  1290.     procedure PutPropertyItem(varData: OleVariant); dispid 7;
  1291.     procedure ResetPropertyItem(varEntry: OleVariant); dispid 8;
  1292.     procedure PurgePropertyList; dispid 9;
  1293.   end;
  1294.  
  1295. // *********************************************************************//
  1296. // Interface: IADsPropertyEntry
  1297. // Flags:     (4416) Dual OleAutomation Dispatchable
  1298. // GUID:      {05792C8E-941F-11D0-8529-00C04FD8D503}
  1299. // *********************************************************************//
  1300.   IADsPropertyEntry = interface(IDispatch)
  1301.     ['{05792C8E-941F-11D0-8529-00C04FD8D503}']
  1302.     procedure Clear; safecall;
  1303.     function  Get_Name: WideString; safecall;
  1304.     procedure Set_Name(const retval: WideString); safecall;
  1305.     function  Get_ADsType: Integer; safecall;
  1306.     procedure Set_ADsType(retval: Integer); safecall;
  1307.     function  Get_ControlCode: Integer; safecall;
  1308.     procedure Set_ControlCode(retval: Integer); safecall;
  1309.     function  Get_Values: OleVariant; safecall;
  1310.     procedure Set_Values(retval: OleVariant); safecall;
  1311.     property Name: WideString read Get_Name write Set_Name;
  1312.     property ADsType: Integer read Get_ADsType write Set_ADsType;
  1313.     property ControlCode: Integer read Get_ControlCode write Set_ControlCode;
  1314.     property Values: OleVariant read Get_Values write Set_Values;
  1315.   end;
  1316.  
  1317. // *********************************************************************//
  1318. // DispIntf:  IADsPropertyEntryDisp
  1319. // Flags:     (4416) Dual OleAutomation Dispatchable
  1320. // GUID:      {05792C8E-941F-11D0-8529-00C04FD8D503}
  1321. // *********************************************************************//
  1322.   IADsPropertyEntryDisp = dispinterface
  1323.     ['{05792C8E-941F-11D0-8529-00C04FD8D503}']
  1324.     procedure Clear; dispid 1;
  1325.     property Name: WideString dispid 2;
  1326.     property ADsType: Integer dispid 3;
  1327.     property ControlCode: Integer dispid 4;
  1328.     property Values: OleVariant dispid 5;
  1329.   end;
  1330.  
  1331. // *********************************************************************//
  1332. // Interface: IADsPropertyValue
  1333. // Flags:     (4416) Dual OleAutomation Dispatchable
  1334. // GUID:      {79FA9AD0-A97C-11D0-8534-00C04FD8D503}
  1335. // *********************************************************************//
  1336.   IADsPropertyValue = interface(IDispatch)
  1337.     ['{79FA9AD0-A97C-11D0-8534-00C04FD8D503}']
  1338.     procedure Clear; safecall;
  1339.     function  Get_ADsType: Integer; safecall;
  1340.     procedure Set_ADsType(retval: Integer); safecall;
  1341.     function  Get_DNString: WideString; safecall;
  1342.     procedure Set_DNString(const retval: WideString); safecall;
  1343.     function  Get_CaseExactString: WideString; safecall;
  1344.     procedure Set_CaseExactString(const retval: WideString); safecall;
  1345.     function  Get_CaseIgnoreString: WideString; safecall;
  1346.     procedure Set_CaseIgnoreString(const retval: WideString); safecall;
  1347.     function  Get_PrintableString: WideString; safecall;
  1348.     procedure Set_PrintableString(const retval: WideString); safecall;
  1349.     function  Get_NumericString: WideString; safecall;
  1350.     procedure Set_NumericString(const retval: WideString); safecall;
  1351.     function  Get_Boolean: Integer; safecall;
  1352.     procedure Set_Boolean(retval: Integer); safecall;
  1353.     function  Get_Integer: Integer; safecall;
  1354.     procedure Set_Integer(retval: Integer); safecall;
  1355.     function  Get_OctetString: OleVariant; safecall;
  1356.     procedure Set_OctetString(retval: OleVariant); safecall;
  1357.     function  Get_SecurityDescriptor: IDispatch; safecall;
  1358.     procedure Set_SecurityDescriptor(const retval: IDispatch); safecall;
  1359.     function  Get_LargeInteger: IDispatch; safecall;
  1360.     procedure Set_LargeInteger(const retval: IDispatch); safecall;
  1361.     function  Get_UTCTime: TDateTime; safecall;
  1362.     procedure Set_UTCTime(retval: TDateTime); safecall;
  1363.     property ADsType: Integer read Get_ADsType write Set_ADsType;
  1364.     property DNString: WideString read Get_DNString write Set_DNString;
  1365.     property CaseExactString: WideString read Get_CaseExactString write Set_CaseExactString;
  1366.     property CaseIgnoreString: WideString read Get_CaseIgnoreString write Set_CaseIgnoreString;
  1367.     property PrintableString: WideString read Get_PrintableString write Set_PrintableString;
  1368.     property NumericString: WideString read Get_NumericString write Set_NumericString;
  1369.     property Boolean: Integer read Get_Boolean write Set_Boolean;
  1370.     property Integer: Integer read Get_Integer write Set_Integer;
  1371.     property OctetString: OleVariant read Get_OctetString write Set_OctetString;
  1372.     property SecurityDescriptor: IDispatch read Get_SecurityDescriptor write Set_SecurityDescriptor;
  1373.     property LargeInteger: IDispatch read Get_LargeInteger write Set_LargeInteger;
  1374.     property UTCTime: TDateTime read Get_UTCTime write Set_UTCTime;
  1375.   end;
  1376.  
  1377. // *********************************************************************//
  1378. // DispIntf:  IADsPropertyValueDisp
  1379. // Flags:     (4416) Dual OleAutomation Dispatchable
  1380. // GUID:      {79FA9AD0-A97C-11D0-8534-00C04FD8D503}
  1381. // *********************************************************************//
  1382.   IADsPropertyValueDisp = dispinterface
  1383.     ['{79FA9AD0-A97C-11D0-8534-00C04FD8D503}']
  1384.     procedure Clear; dispid 1;
  1385.     property ADsType: Integer dispid 2;
  1386.     property DNString: WideString dispid 3;
  1387.     property CaseExactString: WideString dispid 4;
  1388.     property CaseIgnoreString: WideString dispid 5;
  1389.     property PrintableString: WideString dispid 6;
  1390.     property NumericString: WideString dispid 7;
  1391.     property Boolean: Integer dispid 8;
  1392.     property Integer: Integer dispid 9;
  1393.     property OctetString: OleVariant dispid 10;
  1394.     property SecurityDescriptor: IDispatch dispid 11;
  1395.     property LargeInteger: IDispatch dispid 12;
  1396.     property UTCTime: TDateTime dispid 13;
  1397.   end;
  1398.  
  1399. // *********************************************************************//
  1400. // Interface: IADsPropertyValue2
  1401. // Flags:     (4416) Dual OleAutomation Dispatchable
  1402. // GUID:      {306E831C-5BC7-11D1-A3B8-00C04FB950DC}
  1403. // *********************************************************************//
  1404.   IADsPropertyValue2 = interface(IDispatch)
  1405.     ['{306E831C-5BC7-11D1-A3B8-00C04FB950DC}']
  1406.     function  GetObjectProperty(var lnADsType: Integer): OleVariant; safecall;
  1407.     procedure PutObjectProperty(lnADsType: Integer; vProp: OleVariant); safecall;
  1408.   end;
  1409.  
  1410. // *********************************************************************//
  1411. // DispIntf:  IADsPropertyValue2Disp
  1412. // Flags:     (4416) Dual OleAutomation Dispatchable
  1413. // GUID:      {306E831C-5BC7-11D1-A3B8-00C04FB950DC}
  1414. // *********************************************************************//
  1415.   IADsPropertyValue2Disp = dispinterface
  1416.     ['{306E831C-5BC7-11D1-A3B8-00C04FB950DC}']
  1417.     function  GetObjectProperty(var lnADsType: Integer): OleVariant; dispid 1;
  1418.     procedure PutObjectProperty(lnADsType: Integer; vProp: OleVariant); dispid 2;
  1419.   end;
  1420.  
  1421. // *********************************************************************//
  1422. // Interface: IPrivateDispatch
  1423. // Flags:     (0)
  1424. // GUID:      {86AB4BBE-65F6-11D1-8C13-00C04FD8D503}
  1425. // *********************************************************************//
  1426.   IPrivateDispatch = interface(IUnknown)
  1427.     ['{86AB4BBE-65F6-11D1-8C13-00C04FD8D503}']
  1428.     function  ADSIInitializeDispatchManager(dwExtensionId: Integer): HResult; stdcall;
  1429.     function  ADSIGetTypeInfoCount(out pctinfo: SYSUINT): HResult; stdcall;
  1430.     function  ADSIGetTypeInfo(itinfo: SYSUINT; lcid: LongWord; out ppTInfo: ITypeInfo): HResult; stdcall;
  1431.     function  ADSIGetIDsOfNames(var riid: TGUID; rgszNames: PPSmallint1; cNames: SYSUINT; 
  1432.                                 lcid: LongWord; out rgdispid: Integer): HResult; stdcall;
  1433.     function  ADSIInvoke(dispidMember: Integer; var riid: TGUID; lcid: LongWord; wFlags: Word; 
  1434.                          var pDispParams: TGUID; out pVarResult: OleVariant; out pExcepInfo: TGUID; 
  1435.                          out puArgErr: SYSUINT): HResult; stdcall;
  1436.   end;
  1437.  
  1438. // *********************************************************************//
  1439. // Interface: ITypeInfo
  1440. // Flags:     (0)
  1441. // GUID:      {00020401-0000-0000-C000-000000000046}
  1442. // *********************************************************************//
  1443.   ITypeInfo = interface(IUnknown)
  1444.     ['{00020401-0000-0000-C000-000000000046}']
  1445.     function  RemoteGetTypeAttr(out ppTypeAttr: PUserType5; out pDummy: DWORD): HResult; stdcall;
  1446.     function  GetTypeComp(out ppTComp: ITypeComp): HResult; stdcall;
  1447.     function  RemoteGetFuncDesc(index: SYSUINT; out ppFuncDesc: PUserType6; out pDummy: DWORD): HResult; stdcall;
  1448.     function  RemoteGetVarDesc(index: SYSUINT; out ppVarDesc: PUserType7; out pDummy: DWORD): HResult; stdcall;
  1449.     function  GetNames(memid: Integer; out rgBstrNames: WideString; cMaxNames: SYSUINT; 
  1450.                        out pcNames: SYSUINT): HResult; stdcall;
  1451.     function  GetRefTypeOfImplType(index: SYSUINT; out pRefType: LongWord): HResult; stdcall;
  1452.     function  GetImplTypeFlags(index: SYSUINT; out pImplTypeFlags: SYSINT): HResult; stdcall;
  1453.     function  GetIDsOfNames(var rgszNames: PWideChar; cNames: SYSUINT; out pMemId: Integer): HResult; stdcall;
  1454.     function  RemoteInvoke(const pIUnk: IUnknown; memid: Integer; dwFlags: LongWord; 
  1455.                            var pDispParams: TGUID; out rgVtRef: OleVariant; cVtRef: SYSUINT; 
  1456.                            out pVarResult: OleVariant; out pExcepInfo: TGUID; out pArgErr: SYSUINT): HResult; stdcall;
  1457.     function  RemoteGetDocumentation(memid: Integer; refPtrFlags: LongWord; 
  1458.                                      out pBstrName: WideString; out pBstrDocString: WideString; 
  1459.                                      out pdwHelpContext: LongWord; out pBstrHelpFile: WideString): HResult; stdcall;
  1460.     function  RemoteGetDllEntry(memid: Integer; invkind: tagINVOKEKIND; refPtrFlags: LongWord; 
  1461.                                 out pBstrDllName: WideString; out pBstrName: WideString; 
  1462.                                 out pwOrdinal: Word): HResult; stdcall;
  1463.     function  GetRefTypeInfo(hreftype: LongWord; out ppTInfo: ITypeInfo): HResult; stdcall;
  1464.     function  LocalAddressOfMember: HResult; stdcall;
  1465.     function  RemoteCreateInstance(var riid: TGUID; out ppvObj: IUnknown): HResult; stdcall;
  1466.     function  GetMops(memid: Integer; out pBstrMops: WideString): HResult; stdcall;
  1467.     function  GetContainingTypeLib(out ppTLib: ITypeLib; out pIndex: SYSUINT): HResult; stdcall;
  1468.     function  LocalReleaseTypeAttr: HResult; stdcall;
  1469.     function  LocalReleaseFuncDesc: HResult; stdcall;
  1470.     function  LocalReleaseVarDesc: HResult; stdcall;
  1471.   end;
  1472.  
  1473. // *********************************************************************//
  1474. // Interface: ITypeComp
  1475. // Flags:     (0)
  1476. // GUID:      {00020403-0000-0000-C000-000000000046}
  1477. // *********************************************************************//
  1478.   ITypeComp = interface(IUnknown)
  1479.     ['{00020403-0000-0000-C000-000000000046}']
  1480.     function  RemoteBind(szName: PWideChar; lHashVal: LongWord; wFlags: Word; 
  1481.                          out ppTInfo: ITypeInfo; out pDescKind: tagDESCKIND; 
  1482.                          out ppFuncDesc: PUserType6; out ppVarDesc: PUserType7; 
  1483.                          out ppTypeComp: ITypeComp; out pDummy: DWORD): HResult; stdcall;
  1484.     function  RemoteBindType(szName: PWideChar; lHashVal: LongWord; out ppTInfo: ITypeInfo): HResult; stdcall;
  1485.   end;
  1486.  
  1487. // *********************************************************************//
  1488. // Interface: ITypeLib
  1489. // Flags:     (0)
  1490. // GUID:      {00020402-0000-0000-C000-000000000046}
  1491. // *********************************************************************//
  1492.   ITypeLib = interface(IUnknown)
  1493.     ['{00020402-0000-0000-C000-000000000046}']
  1494.     function  RemoteGetTypeInfoCount(out pctinfo: SYSUINT): HResult; stdcall;
  1495.     function  GetTypeInfo(index: SYSUINT; out ppTInfo: ITypeInfo): HResult; stdcall;
  1496.     function  GetTypeInfoType(index: SYSUINT; out pTKind: tagTYPEKIND): HResult; stdcall;
  1497.     function  GetTypeInfoOfGuid(var GUID: TGUID; out ppTInfo: ITypeInfo): HResult; stdcall;
  1498.     function  RemoteGetLibAttr(out ppTLibAttr: PUserType11; out pDummy: DWORD): HResult; stdcall;
  1499.     function  GetTypeComp(out ppTComp: ITypeComp): HResult; stdcall;
  1500.     function  RemoteGetDocumentation(index: SYSINT; refPtrFlags: LongWord; 
  1501.                                      out pBstrName: WideString; out pBstrDocString: WideString; 
  1502.                                      out pdwHelpContext: LongWord; out pBstrHelpFile: WideString): HResult; stdcall;
  1503.     function  RemoteIsName(szNameBuf: PWideChar; lHashVal: LongWord; out pfName: Integer; 
  1504.                            out pBstrLibName: WideString): HResult; stdcall;
  1505.     function  RemoteFindName(szNameBuf: PWideChar; lHashVal: LongWord; out ppTInfo: ITypeInfo; 
  1506.                              out rgMemId: Integer; var pcFound: Word; out pBstrLibName: WideString): HResult; stdcall;
  1507.     function  LocalReleaseTLibAttr: HResult; stdcall;
  1508.   end;
  1509.  
  1510. // *********************************************************************//
  1511. // Interface: IPrivateUnknown
  1512. // Flags:     (0)
  1513. // GUID:      {89126BAB-6EAD-11D1-8C18-00C04FD8D503}
  1514. // *********************************************************************//
  1515.   IPrivateUnknown = interface(IUnknown)
  1516.     ['{89126BAB-6EAD-11D1-8C18-00C04FD8D503}']
  1517.     function  ADSIInitializeObject(const lpszUserName: WideString; const lpszPassword: WideString; 
  1518.                                    lnReserved: Integer): HResult; stdcall;
  1519.     function  ADSIReleaseObject: HResult; stdcall;
  1520.   end;
  1521.  
  1522. // *********************************************************************//
  1523. // Interface: IADsExtension
  1524. // Flags:     (0)
  1525. // GUID:      {3D35553C-D2B0-11D1-B17B-0000F87593A0}
  1526. // *********************************************************************//
  1527.   IADsExtension = interface(IUnknown)
  1528.     ['{3D35553C-D2B0-11D1-B17B-0000F87593A0}']
  1529.     function  Operate(dwCode: LongWord; varData1: OleVariant; varData2: OleVariant; 
  1530.                       varData3: OleVariant): HResult; stdcall;
  1531.     function  PrivateGetIDsOfNames(var riid: TGUID; rgszNames: PPSmallint1; cNames: SYSUINT; 
  1532.                                    lcid: LongWord; out rgdispid: Integer): HResult; stdcall;
  1533.     function  PrivateInvoke(dispidMember: Integer; var riid: TGUID; lcid: LongWord; wFlags: Word; 
  1534.                             var pDispParams: TGUID; out pVarResult: OleVariant; 
  1535.                             out pExcepInfo: TGUID; out puArgErr: SYSUINT): HResult; stdcall;
  1536.   end;
  1537.  
  1538. // *********************************************************************//
  1539. // Interface: IADsDeleteOps
  1540. // Flags:     (4416) Dual OleAutomation Dispatchable
  1541. // GUID:      {B2BD0902-8878-11D1-8C21-00C04FD8D503}
  1542. // *********************************************************************//
  1543.   IADsDeleteOps = interface(IDispatch)
  1544.     ['{B2BD0902-8878-11D1-8C21-00C04FD8D503}']
  1545.     procedure DeleteObject(lnFlags: Integer); safecall;
  1546.   end;
  1547.  
  1548. // *********************************************************************//
  1549. // DispIntf:  IADsDeleteOpsDisp
  1550. // Flags:     (4416) Dual OleAutomation Dispatchable
  1551. // GUID:      {B2BD0902-8878-11D1-8C21-00C04FD8D503}
  1552. // *********************************************************************//
  1553.   IADsDeleteOpsDisp = dispinterface
  1554.     ['{B2BD0902-8878-11D1-8C21-00C04FD8D503}']
  1555.     procedure DeleteObject(lnFlags: Integer); dispid 2;
  1556.   end;
  1557.  
  1558. // *********************************************************************//
  1559. // Interface: IADsNamespaces
  1560. // Flags:     (4416) Dual OleAutomation Dispatchable
  1561. // GUID:      {28B96BA0-B330-11CF-A9AD-00AA006BC149}
  1562. // *********************************************************************//
  1563.   IADsNamespaces = interface(IADs)
  1564.     ['{28B96BA0-B330-11CF-A9AD-00AA006BC149}']
  1565.     function  Get_DefaultContainer: WideString; safecall;
  1566.     procedure Set_DefaultContainer(const retval: WideString); safecall;
  1567.     property DefaultContainer: WideString read Get_DefaultContainer write Set_DefaultContainer;
  1568.   end;
  1569.  
  1570. // *********************************************************************//
  1571. // DispIntf:  IADsNamespacesDisp
  1572. // Flags:     (4416) Dual OleAutomation Dispatchable
  1573. // GUID:      {28B96BA0-B330-11CF-A9AD-00AA006BC149}
  1574. // *********************************************************************//
  1575.   IADsNamespacesDisp = dispinterface
  1576.     ['{28B96BA0-B330-11CF-A9AD-00AA006BC149}']
  1577.     property DefaultContainer: WideString dispid 1;
  1578.     property Name: WideString readonly dispid 2;
  1579.     property Class_: WideString readonly dispid 3;
  1580.     property GUID: WideString readonly dispid 4;
  1581.     property ADsPath: WideString readonly dispid 5;
  1582.     property Parent: WideString readonly dispid 6;
  1583.     property Schema: WideString readonly dispid 7;
  1584.     procedure GetInfo; dispid 8;
  1585.     procedure SetInfo; dispid 9;
  1586.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  1587.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  1588.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  1589.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  1590.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  1591.   end;
  1592.  
  1593. // *********************************************************************//
  1594. // Interface: IADsClass
  1595. // Flags:     (4416) Dual OleAutomation Dispatchable
  1596. // GUID:      {C8F93DD0-4AE0-11CF-9E73-00AA004A5691}
  1597. // *********************************************************************//
  1598.   IADsClass = interface(IADs)
  1599.     ['{C8F93DD0-4AE0-11CF-9E73-00AA004A5691}']
  1600.     function  Get_PrimaryInterface: WideString; safecall;
  1601.     function  Get_CLSID: WideString; safecall;
  1602.     procedure Set_CLSID(const retval: WideString); safecall;
  1603.     function  Get_OID: WideString; safecall;
  1604.     procedure Set_OID(const retval: WideString); safecall;
  1605.     function  Get_Abstract: WordBool; safecall;
  1606.     procedure Set_Abstract(retval: WordBool); safecall;
  1607.     function  Get_Auxiliary: WordBool; safecall;
  1608.     procedure Set_Auxiliary(retval: WordBool); safecall;
  1609.     function  Get_MandatoryProperties: OleVariant; safecall;
  1610.     procedure Set_MandatoryProperties(retval: OleVariant); safecall;
  1611.     function  Get_OptionalProperties: OleVariant; safecall;
  1612.     procedure Set_OptionalProperties(retval: OleVariant); safecall;
  1613.     function  Get_NamingProperties: OleVariant; safecall;
  1614.     procedure Set_NamingProperties(retval: OleVariant); safecall;
  1615.     function  Get_DerivedFrom: OleVariant; safecall;
  1616.     procedure Set_DerivedFrom(retval: OleVariant); safecall;
  1617.     function  Get_AuxDerivedFrom: OleVariant; safecall;
  1618.     procedure Set_AuxDerivedFrom(retval: OleVariant); safecall;
  1619.     function  Get_PossibleSuperiors: OleVariant; safecall;
  1620.     procedure Set_PossibleSuperiors(retval: OleVariant); safecall;
  1621.     function  Get_Containment: OleVariant; safecall;
  1622.     procedure Set_Containment(retval: OleVariant); safecall;
  1623.     function  Get_Container: WordBool; safecall;
  1624.     procedure Set_Container(retval: WordBool); safecall;
  1625.     function  Get_HelpFileName: WideString; safecall;
  1626.     procedure Set_HelpFileName(const retval: WideString); safecall;
  1627.     function  Get_HelpFileContext: Integer; safecall;
  1628.     procedure Set_HelpFileContext(retval: Integer); safecall;
  1629.     function  Qualifiers: IADsCollection; safecall;
  1630.     property PrimaryInterface: WideString read Get_PrimaryInterface;
  1631.     property CLSID: WideString read Get_CLSID write Set_CLSID;
  1632.     property OID: WideString read Get_OID write Set_OID;
  1633.     property Abstract: WordBool read Get_Abstract write Set_Abstract;
  1634.     property Auxiliary: WordBool read Get_Auxiliary write Set_Auxiliary;
  1635.     property MandatoryProperties: OleVariant read Get_MandatoryProperties write Set_MandatoryProperties;
  1636.     property OptionalProperties: OleVariant read Get_OptionalProperties write Set_OptionalProperties;
  1637.     property NamingProperties: OleVariant read Get_NamingProperties write Set_NamingProperties;
  1638.     property DerivedFrom: OleVariant read Get_DerivedFrom write Set_DerivedFrom;
  1639.     property AuxDerivedFrom: OleVariant read Get_AuxDerivedFrom write Set_AuxDerivedFrom;
  1640.     property PossibleSuperiors: OleVariant read Get_PossibleSuperiors write Set_PossibleSuperiors;
  1641.     property Containment: OleVariant read Get_Containment write Set_Containment;
  1642.     property Container: WordBool read Get_Container write Set_Container;
  1643.     property HelpFileName: WideString read Get_HelpFileName write Set_HelpFileName;
  1644.     property HelpFileContext: Integer read Get_HelpFileContext write Set_HelpFileContext;
  1645.   end;
  1646.  
  1647. // *********************************************************************//
  1648. // DispIntf:  IADsClassDisp
  1649. // Flags:     (4416) Dual OleAutomation Dispatchable
  1650. // GUID:      {C8F93DD0-4AE0-11CF-9E73-00AA004A5691}
  1651. // *********************************************************************//
  1652.   IADsClassDisp = dispinterface
  1653.     ['{C8F93DD0-4AE0-11CF-9E73-00AA004A5691}']
  1654.     property PrimaryInterface: WideString readonly dispid 15;
  1655.     property CLSID: WideString dispid 16;
  1656.     property OID: WideString dispid 17;
  1657.     property Abstract: WordBool dispid 18;
  1658.     property Auxiliary: WordBool dispid 26;
  1659.     property MandatoryProperties: OleVariant dispid 19;
  1660.     property OptionalProperties: OleVariant dispid 29;
  1661.     property NamingProperties: OleVariant dispid 30;
  1662.     property DerivedFrom: OleVariant dispid 20;
  1663.     property AuxDerivedFrom: OleVariant dispid 27;
  1664.     property PossibleSuperiors: OleVariant dispid 28;
  1665.     property Containment: OleVariant dispid 21;
  1666.     property Container: WordBool dispid 22;
  1667.     property HelpFileName: WideString dispid 23;
  1668.     property HelpFileContext: Integer dispid 24;
  1669.     function  Qualifiers: IADsCollection; dispid 25;
  1670.     property Name: WideString readonly dispid 2;
  1671.     property Class_: WideString readonly dispid 3;
  1672.     property GUID: WideString readonly dispid 4;
  1673.     property ADsPath: WideString readonly dispid 5;
  1674.     property Parent: WideString readonly dispid 6;
  1675.     property Schema: WideString readonly dispid 7;
  1676.     procedure GetInfo; dispid 8;
  1677.     procedure SetInfo; dispid 9;
  1678.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  1679.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  1680.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  1681.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  1682.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  1683.   end;
  1684.  
  1685. // *********************************************************************//
  1686. // Interface: IADsProperty
  1687. // Flags:     (4416) Dual OleAutomation Dispatchable
  1688. // GUID:      {C8F93DD3-4AE0-11CF-9E73-00AA004A5691}
  1689. // *********************************************************************//
  1690.   IADsProperty = interface(IADs)
  1691.     ['{C8F93DD3-4AE0-11CF-9E73-00AA004A5691}']
  1692.     function  Get_OID: WideString; safecall;
  1693.     procedure Set_OID(const retval: WideString); safecall;
  1694.     function  Get_Syntax: WideString; safecall;
  1695.     procedure Set_Syntax(const retval: WideString); safecall;
  1696.     function  Get_MaxRange: Integer; safecall;
  1697.     procedure Set_MaxRange(retval: Integer); safecall;
  1698.     function  Get_MinRange: Integer; safecall;
  1699.     procedure Set_MinRange(retval: Integer); safecall;
  1700.     function  Get_MultiValued: WordBool; safecall;
  1701.     procedure Set_MultiValued(retval: WordBool); safecall;
  1702.     function  Qualifiers: IADsCollection; safecall;
  1703.     property OID: WideString read Get_OID write Set_OID;
  1704.     property Syntax: WideString read Get_Syntax write Set_Syntax;
  1705.     property MaxRange: Integer read Get_MaxRange write Set_MaxRange;
  1706.     property MinRange: Integer read Get_MinRange write Set_MinRange;
  1707.     property MultiValued: WordBool read Get_MultiValued write Set_MultiValued;
  1708.   end;
  1709.  
  1710. // *********************************************************************//
  1711. // DispIntf:  IADsPropertyDisp
  1712. // Flags:     (4416) Dual OleAutomation Dispatchable
  1713. // GUID:      {C8F93DD3-4AE0-11CF-9E73-00AA004A5691}
  1714. // *********************************************************************//
  1715.   IADsPropertyDisp = dispinterface
  1716.     ['{C8F93DD3-4AE0-11CF-9E73-00AA004A5691}']
  1717.     property OID: WideString dispid 17;
  1718.     property Syntax: WideString dispid 18;
  1719.     property MaxRange: Integer dispid 19;
  1720.     property MinRange: Integer dispid 20;
  1721.     property MultiValued: WordBool dispid 21;
  1722.     function  Qualifiers: IADsCollection; dispid 22;
  1723.     property Name: WideString readonly dispid 2;
  1724.     property Class_: WideString readonly dispid 3;
  1725.     property GUID: WideString readonly dispid 4;
  1726.     property ADsPath: WideString readonly dispid 5;
  1727.     property Parent: WideString readonly dispid 6;
  1728.     property Schema: WideString readonly dispid 7;
  1729.     procedure GetInfo; dispid 8;
  1730.     procedure SetInfo; dispid 9;
  1731.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  1732.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  1733.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  1734.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  1735.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  1736.   end;
  1737.  
  1738. // *********************************************************************//
  1739. // Interface: IADsSyntax
  1740. // Flags:     (4416) Dual OleAutomation Dispatchable
  1741. // GUID:      {C8F93DD2-4AE0-11CF-9E73-00AA004A5691}
  1742. // *********************************************************************//
  1743.   IADsSyntax = interface(IADs)
  1744.     ['{C8F93DD2-4AE0-11CF-9E73-00AA004A5691}']
  1745.     function  Get_OleAutoDataType: Integer; safecall;
  1746.     procedure Set_OleAutoDataType(retval: Integer); safecall;
  1747.     property OleAutoDataType: Integer read Get_OleAutoDataType write Set_OleAutoDataType;
  1748.   end;
  1749.  
  1750. // *********************************************************************//
  1751. // DispIntf:  IADsSyntaxDisp
  1752. // Flags:     (4416) Dual OleAutomation Dispatchable
  1753. // GUID:      {C8F93DD2-4AE0-11CF-9E73-00AA004A5691}
  1754. // *********************************************************************//
  1755.   IADsSyntaxDisp = dispinterface
  1756.     ['{C8F93DD2-4AE0-11CF-9E73-00AA004A5691}']
  1757.     property OleAutoDataType: Integer dispid 15;
  1758.     property Name: WideString readonly dispid 2;
  1759.     property Class_: WideString readonly dispid 3;
  1760.     property GUID: WideString readonly dispid 4;
  1761.     property ADsPath: WideString readonly dispid 5;
  1762.     property Parent: WideString readonly dispid 6;
  1763.     property Schema: WideString readonly dispid 7;
  1764.     procedure GetInfo; dispid 8;
  1765.     procedure SetInfo; dispid 9;
  1766.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  1767.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  1768.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  1769.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  1770.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  1771.   end;
  1772.  
  1773. // *********************************************************************//
  1774. // Interface: IADsLocality
  1775. // Flags:     (4416) Dual OleAutomation Dispatchable
  1776. // GUID:      {A05E03A2-EFFE-11CF-8ABC-00C04FD8D503}
  1777. // *********************************************************************//
  1778.   IADsLocality = interface(IADs)
  1779.     ['{A05E03A2-EFFE-11CF-8ABC-00C04FD8D503}']
  1780.     function  Get_Description: WideString; safecall;
  1781.     procedure Set_Description(const retval: WideString); safecall;
  1782.     function  Get_LocalityName: WideString; safecall;
  1783.     procedure Set_LocalityName(const retval: WideString); safecall;
  1784.     function  Get_PostalAddress: WideString; safecall;
  1785.     procedure Set_PostalAddress(const retval: WideString); safecall;
  1786.     function  Get_SeeAlso: OleVariant; safecall;
  1787.     procedure Set_SeeAlso(retval: OleVariant); safecall;
  1788.     property Description: WideString read Get_Description write Set_Description;
  1789.     property LocalityName: WideString read Get_LocalityName write Set_LocalityName;
  1790.     property PostalAddress: WideString read Get_PostalAddress write Set_PostalAddress;
  1791.     property SeeAlso: OleVariant read Get_SeeAlso write Set_SeeAlso;
  1792.   end;
  1793.  
  1794. // *********************************************************************//
  1795. // DispIntf:  IADsLocalityDisp
  1796. // Flags:     (4416) Dual OleAutomation Dispatchable
  1797. // GUID:      {A05E03A2-EFFE-11CF-8ABC-00C04FD8D503}
  1798. // *********************************************************************//
  1799.   IADsLocalityDisp = dispinterface
  1800.     ['{A05E03A2-EFFE-11CF-8ABC-00C04FD8D503}']
  1801.     property Description: WideString dispid 15;
  1802.     property LocalityName: WideString dispid 16;
  1803.     property PostalAddress: WideString dispid 17;
  1804.     property SeeAlso: OleVariant dispid 18;
  1805.     property Name: WideString readonly dispid 2;
  1806.     property Class_: WideString readonly dispid 3;
  1807.     property GUID: WideString readonly dispid 4;
  1808.     property ADsPath: WideString readonly dispid 5;
  1809.     property Parent: WideString readonly dispid 6;
  1810.     property Schema: WideString readonly dispid 7;
  1811.     procedure GetInfo; dispid 8;
  1812.     procedure SetInfo; dispid 9;
  1813.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  1814.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  1815.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  1816.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  1817.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  1818.   end;
  1819.  
  1820. // *********************************************************************//
  1821. // Interface: IADsO
  1822. // Flags:     (4416) Dual OleAutomation Dispatchable
  1823. // GUID:      {A1CD2DC6-EFFE-11CF-8ABC-00C04FD8D503}
  1824. // *********************************************************************//
  1825.   IADsO = interface(IADs)
  1826.     ['{A1CD2DC6-EFFE-11CF-8ABC-00C04FD8D503}']
  1827.     function  Get_Description: WideString; safecall;
  1828.     procedure Set_Description(const retval: WideString); safecall;
  1829.     function  Get_LocalityName: WideString; safecall;
  1830.     procedure Set_LocalityName(const retval: WideString); safecall;
  1831.     function  Get_PostalAddress: WideString; safecall;
  1832.     procedure Set_PostalAddress(const retval: WideString); safecall;
  1833.     function  Get_TelephoneNumber: WideString; safecall;
  1834.     procedure Set_TelephoneNumber(const retval: WideString); safecall;
  1835.     function  Get_FaxNumber: WideString; safecall;
  1836.     procedure Set_FaxNumber(const retval: WideString); safecall;
  1837.     function  Get_SeeAlso: OleVariant; safecall;
  1838.     procedure Set_SeeAlso(retval: OleVariant); safecall;
  1839.     property Description: WideString read Get_Description write Set_Description;
  1840.     property LocalityName: WideString read Get_LocalityName write Set_LocalityName;
  1841.     property PostalAddress: WideString read Get_PostalAddress write Set_PostalAddress;
  1842.     property TelephoneNumber: WideString read Get_TelephoneNumber write Set_TelephoneNumber;
  1843.     property FaxNumber: WideString read Get_FaxNumber write Set_FaxNumber;
  1844.     property SeeAlso: OleVariant read Get_SeeAlso write Set_SeeAlso;
  1845.   end;
  1846.  
  1847. // *********************************************************************//
  1848. // DispIntf:  IADsODisp
  1849. // Flags:     (4416) Dual OleAutomation Dispatchable
  1850. // GUID:      {A1CD2DC6-EFFE-11CF-8ABC-00C04FD8D503}
  1851. // *********************************************************************//
  1852.   IADsODisp = dispinterface
  1853.     ['{A1CD2DC6-EFFE-11CF-8ABC-00C04FD8D503}']
  1854.     property Description: WideString dispid 15;
  1855.     property LocalityName: WideString dispid 16;
  1856.     property PostalAddress: WideString dispid 17;
  1857.     property TelephoneNumber: WideString dispid 18;
  1858.     property FaxNumber: WideString dispid 19;
  1859.     property SeeAlso: OleVariant dispid 20;
  1860.     property Name: WideString readonly dispid 2;
  1861.     property Class_: WideString readonly dispid 3;
  1862.     property GUID: WideString readonly dispid 4;
  1863.     property ADsPath: WideString readonly dispid 5;
  1864.     property Parent: WideString readonly dispid 6;
  1865.     property Schema: WideString readonly dispid 7;
  1866.     procedure GetInfo; dispid 8;
  1867.     procedure SetInfo; dispid 9;
  1868.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  1869.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  1870.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  1871.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  1872.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  1873.   end;
  1874.  
  1875. // *********************************************************************//
  1876. // Interface: IADsOU
  1877. // Flags:     (4416) Dual OleAutomation Dispatchable
  1878. // GUID:      {A2F733B8-EFFE-11CF-8ABC-00C04FD8D503}
  1879. // *********************************************************************//
  1880.   IADsOU = interface(IADs)
  1881.     ['{A2F733B8-EFFE-11CF-8ABC-00C04FD8D503}']
  1882.     function  Get_Description: WideString; safecall;
  1883.     procedure Set_Description(const retval: WideString); safecall;
  1884.     function  Get_LocalityName: WideString; safecall;
  1885.     procedure Set_LocalityName(const retval: WideString); safecall;
  1886.     function  Get_PostalAddress: WideString; safecall;
  1887.     procedure Set_PostalAddress(const retval: WideString); safecall;
  1888.     function  Get_TelephoneNumber: WideString; safecall;
  1889.     procedure Set_TelephoneNumber(const retval: WideString); safecall;
  1890.     function  Get_FaxNumber: WideString; safecall;
  1891.     procedure Set_FaxNumber(const retval: WideString); safecall;
  1892.     function  Get_SeeAlso: OleVariant; safecall;
  1893.     procedure Set_SeeAlso(retval: OleVariant); safecall;
  1894.     function  Get_BusinessCategory: WideString; safecall;
  1895.     procedure Set_BusinessCategory(const retval: WideString); safecall;
  1896.     property Description: WideString read Get_Description write Set_Description;
  1897.     property LocalityName: WideString read Get_LocalityName write Set_LocalityName;
  1898.     property PostalAddress: WideString read Get_PostalAddress write Set_PostalAddress;
  1899.     property TelephoneNumber: WideString read Get_TelephoneNumber write Set_TelephoneNumber;
  1900.     property FaxNumber: WideString read Get_FaxNumber write Set_FaxNumber;
  1901.     property SeeAlso: OleVariant read Get_SeeAlso write Set_SeeAlso;
  1902.     property BusinessCategory: WideString read Get_BusinessCategory write Set_BusinessCategory;
  1903.   end;
  1904.  
  1905. // *********************************************************************//
  1906. // DispIntf:  IADsOUDisp
  1907. // Flags:     (4416) Dual OleAutomation Dispatchable
  1908. // GUID:      {A2F733B8-EFFE-11CF-8ABC-00C04FD8D503}
  1909. // *********************************************************************//
  1910.   IADsOUDisp = dispinterface
  1911.     ['{A2F733B8-EFFE-11CF-8ABC-00C04FD8D503}']
  1912.     property Description: WideString dispid 15;
  1913.     property LocalityName: WideString dispid 16;
  1914.     property PostalAddress: WideString dispid 17;
  1915.     property TelephoneNumber: WideString dispid 18;
  1916.     property FaxNumber: WideString dispid 19;
  1917.     property SeeAlso: OleVariant dispid 20;
  1918.     property BusinessCategory: WideString dispid 21;
  1919.     property Name: WideString readonly dispid 2;
  1920.     property Class_: WideString readonly dispid 3;
  1921.     property GUID: WideString readonly dispid 4;
  1922.     property ADsPath: WideString readonly dispid 5;
  1923.     property Parent: WideString readonly dispid 6;
  1924.     property Schema: WideString readonly dispid 7;
  1925.     procedure GetInfo; dispid 8;
  1926.     procedure SetInfo; dispid 9;
  1927.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  1928.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  1929.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  1930.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  1931.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  1932.   end;
  1933.  
  1934. // *********************************************************************//
  1935. // Interface: IADsDomain
  1936. // Flags:     (4416) Dual OleAutomation Dispatchable
  1937. // GUID:      {00E4C220-FD16-11CE-ABC4-02608C9E7553}
  1938. // *********************************************************************//
  1939.   IADsDomain = interface(IADs)
  1940.     ['{00E4C220-FD16-11CE-ABC4-02608C9E7553}']
  1941.     function  Get_IsWorkgroup: WordBool; safecall;
  1942.     function  Get_MinPasswordLength: Integer; safecall;
  1943.     procedure Set_MinPasswordLength(retval: Integer); safecall;
  1944.     function  Get_MinPasswordAge: Integer; safecall;
  1945.     procedure Set_MinPasswordAge(retval: Integer); safecall;
  1946.     function  Get_MaxPasswordAge: Integer; safecall;
  1947.     procedure Set_MaxPasswordAge(retval: Integer); safecall;
  1948.     function  Get_MaxBadPasswordsAllowed: Integer; safecall;
  1949.     procedure Set_MaxBadPasswordsAllowed(retval: Integer); safecall;
  1950.     function  Get_PasswordHistoryLength: Integer; safecall;
  1951.     procedure Set_PasswordHistoryLength(retval: Integer); safecall;
  1952.     function  Get_PasswordAttributes: Integer; safecall;
  1953.     procedure Set_PasswordAttributes(retval: Integer); safecall;
  1954.     function  Get_AutoUnlockInterval: Integer; safecall;
  1955.     procedure Set_AutoUnlockInterval(retval: Integer); safecall;
  1956.     function  Get_LockoutObservationInterval: Integer; safecall;
  1957.     procedure Set_LockoutObservationInterval(retval: Integer); safecall;
  1958.     property IsWorkgroup: WordBool read Get_IsWorkgroup;
  1959.     property MinPasswordLength: Integer read Get_MinPasswordLength write Set_MinPasswordLength;
  1960.     property MinPasswordAge: Integer read Get_MinPasswordAge write Set_MinPasswordAge;
  1961.     property MaxPasswordAge: Integer read Get_MaxPasswordAge write Set_MaxPasswordAge;
  1962.     property MaxBadPasswordsAllowed: Integer read Get_MaxBadPasswordsAllowed write Set_MaxBadPasswordsAllowed;
  1963.     property PasswordHistoryLength: Integer read Get_PasswordHistoryLength write Set_PasswordHistoryLength;
  1964.     property PasswordAttributes: Integer read Get_PasswordAttributes write Set_PasswordAttributes;
  1965.     property AutoUnlockInterval: Integer read Get_AutoUnlockInterval write Set_AutoUnlockInterval;
  1966.     property LockoutObservationInterval: Integer read Get_LockoutObservationInterval write Set_LockoutObservationInterval;
  1967.   end;
  1968.  
  1969. // *********************************************************************//
  1970. // DispIntf:  IADsDomainDisp
  1971. // Flags:     (4416) Dual OleAutomation Dispatchable
  1972. // GUID:      {00E4C220-FD16-11CE-ABC4-02608C9E7553}
  1973. // *********************************************************************//
  1974.   IADsDomainDisp = dispinterface
  1975.     ['{00E4C220-FD16-11CE-ABC4-02608C9E7553}']
  1976.     property IsWorkgroup: WordBool readonly dispid 15;
  1977.     property MinPasswordLength: Integer dispid 16;
  1978.     property MinPasswordAge: Integer dispid 17;
  1979.     property MaxPasswordAge: Integer dispid 18;
  1980.     property MaxBadPasswordsAllowed: Integer dispid 19;
  1981.     property PasswordHistoryLength: Integer dispid 20;
  1982.     property PasswordAttributes: Integer dispid 21;
  1983.     property AutoUnlockInterval: Integer dispid 22;
  1984.     property LockoutObservationInterval: Integer dispid 23;
  1985.     property Name: WideString readonly dispid 2;
  1986.     property Class_: WideString readonly dispid 3;
  1987.     property GUID: WideString readonly dispid 4;
  1988.     property ADsPath: WideString readonly dispid 5;
  1989.     property Parent: WideString readonly dispid 6;
  1990.     property Schema: WideString readonly dispid 7;
  1991.     procedure GetInfo; dispid 8;
  1992.     procedure SetInfo; dispid 9;
  1993.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  1994.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  1995.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  1996.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  1997.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  1998.   end;
  1999.  
  2000. // *********************************************************************//
  2001. // Interface: IADsComputer
  2002. // Flags:     (4416) Dual OleAutomation Dispatchable
  2003. // GUID:      {EFE3CC70-1D9F-11CF-B1F3-02608C9E7553}
  2004. // *********************************************************************//
  2005.   IADsComputer = interface(IADs)
  2006.     ['{EFE3CC70-1D9F-11CF-B1F3-02608C9E7553}']
  2007.     function  Get_ComputerID: WideString; safecall;
  2008.     function  Get_Site: WideString; safecall;
  2009.     function  Get_Description: WideString; safecall;
  2010.     procedure Set_Description(const retval: WideString); safecall;
  2011.     function  Get_Location: WideString; safecall;
  2012.     procedure Set_Location(const retval: WideString); safecall;
  2013.     function  Get_PrimaryUser: WideString; safecall;
  2014.     procedure Set_PrimaryUser(const retval: WideString); safecall;
  2015.     function  Get_Owner: WideString; safecall;
  2016.     procedure Set_Owner(const retval: WideString); safecall;
  2017.     function  Get_Division: WideString; safecall;
  2018.     procedure Set_Division(const retval: WideString); safecall;
  2019.     function  Get_Department: WideString; safecall;
  2020.     procedure Set_Department(const retval: WideString); safecall;
  2021.     function  Get_Role: WideString; safecall;
  2022.     procedure Set_Role(const retval: WideString); safecall;
  2023.     function  Get_OperatingSystem: WideString; safecall;
  2024.     procedure Set_OperatingSystem(const retval: WideString); safecall;
  2025.     function  Get_OperatingSystemVersion: WideString; safecall;
  2026.     procedure Set_OperatingSystemVersion(const retval: WideString); safecall;
  2027.     function  Get_Model: WideString; safecall;
  2028.     procedure Set_Model(const retval: WideString); safecall;
  2029.     function  Get_Processor: WideString; safecall;
  2030.     procedure Set_Processor(const retval: WideString); safecall;
  2031.     function  Get_ProcessorCount: WideString; safecall;
  2032.     procedure Set_ProcessorCount(const retval: WideString); safecall;
  2033.     function  Get_MemorySize: WideString; safecall;
  2034.     procedure Set_MemorySize(const retval: WideString); safecall;
  2035.     function  Get_StorageCapacity: WideString; safecall;
  2036.     procedure Set_StorageCapacity(const retval: WideString); safecall;
  2037.     function  Get_NetAddresses: OleVariant; safecall;
  2038.     procedure Set_NetAddresses(retval: OleVariant); safecall;
  2039.     property ComputerID: WideString read Get_ComputerID;
  2040.     property Site: WideString read Get_Site;
  2041.     property Description: WideString read Get_Description write Set_Description;
  2042.     property Location: WideString read Get_Location write Set_Location;
  2043.     property PrimaryUser: WideString read Get_PrimaryUser write Set_PrimaryUser;
  2044.     property Owner: WideString read Get_Owner write Set_Owner;
  2045.     property Division: WideString read Get_Division write Set_Division;
  2046.     property Department: WideString read Get_Department write Set_Department;
  2047.     property Role: WideString read Get_Role write Set_Role;
  2048.     property OperatingSystem: WideString read Get_OperatingSystem write Set_OperatingSystem;
  2049.     property OperatingSystemVersion: WideString read Get_OperatingSystemVersion write Set_OperatingSystemVersion;
  2050.     property Model: WideString read Get_Model write Set_Model;
  2051.     property Processor: WideString read Get_Processor write Set_Processor;
  2052.     property ProcessorCount: WideString read Get_ProcessorCount write Set_ProcessorCount;
  2053.     property MemorySize: WideString read Get_MemorySize write Set_MemorySize;
  2054.     property StorageCapacity: WideString read Get_StorageCapacity write Set_StorageCapacity;
  2055.     property NetAddresses: OleVariant read Get_NetAddresses write Set_NetAddresses;
  2056.   end;
  2057.  
  2058. // *********************************************************************//
  2059. // DispIntf:  IADsComputerDisp
  2060. // Flags:     (4416) Dual OleAutomation Dispatchable
  2061. // GUID:      {EFE3CC70-1D9F-11CF-B1F3-02608C9E7553}
  2062. // *********************************************************************//
  2063.   IADsComputerDisp = dispinterface
  2064.     ['{EFE3CC70-1D9F-11CF-B1F3-02608C9E7553}']
  2065.     property ComputerID: WideString readonly dispid 16;
  2066.     property Site: WideString readonly dispid 18;
  2067.     property Description: WideString dispid 19;
  2068.     property Location: WideString dispid 20;
  2069.     property PrimaryUser: WideString dispid 21;
  2070.     property Owner: WideString dispid 22;
  2071.     property Division: WideString dispid 23;
  2072.     property Department: WideString dispid 24;
  2073.     property Role: WideString dispid 25;
  2074.     property OperatingSystem: WideString dispid 26;
  2075.     property OperatingSystemVersion: WideString dispid 27;
  2076.     property Model: WideString dispid 28;
  2077.     property Processor: WideString dispid 29;
  2078.     property ProcessorCount: WideString dispid 30;
  2079.     property MemorySize: WideString dispid 31;
  2080.     property StorageCapacity: WideString dispid 32;
  2081.     property NetAddresses: OleVariant dispid 17;
  2082.     property Name: WideString readonly dispid 2;
  2083.     property Class_: WideString readonly dispid 3;
  2084.     property GUID: WideString readonly dispid 4;
  2085.     property ADsPath: WideString readonly dispid 5;
  2086.     property Parent: WideString readonly dispid 6;
  2087.     property Schema: WideString readonly dispid 7;
  2088.     procedure GetInfo; dispid 8;
  2089.     procedure SetInfo; dispid 9;
  2090.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2091.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2092.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2093.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2094.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2095.   end;
  2096.  
  2097. // *********************************************************************//
  2098. // Interface: IADsComputerOperations
  2099. // Flags:     (4416) Dual OleAutomation Dispatchable
  2100. // GUID:      {EF497680-1D9F-11CF-B1F3-02608C9E7553}
  2101. // *********************************************************************//
  2102.   IADsComputerOperations = interface(IADs)
  2103.     ['{EF497680-1D9F-11CF-B1F3-02608C9E7553}']
  2104.     function  Status: IDispatch; safecall;
  2105.     procedure Shutdown(bReboot: WordBool); safecall;
  2106.   end;
  2107.  
  2108. // *********************************************************************//
  2109. // DispIntf:  IADsComputerOperationsDisp
  2110. // Flags:     (4416) Dual OleAutomation Dispatchable
  2111. // GUID:      {EF497680-1D9F-11CF-B1F3-02608C9E7553}
  2112. // *********************************************************************//
  2113.   IADsComputerOperationsDisp = dispinterface
  2114.     ['{EF497680-1D9F-11CF-B1F3-02608C9E7553}']
  2115.     function  Status: IDispatch; dispid 33;
  2116.     procedure Shutdown(bReboot: WordBool); dispid 34;
  2117.     property Name: WideString readonly dispid 2;
  2118.     property Class_: WideString readonly dispid 3;
  2119.     property GUID: WideString readonly dispid 4;
  2120.     property ADsPath: WideString readonly dispid 5;
  2121.     property Parent: WideString readonly dispid 6;
  2122.     property Schema: WideString readonly dispid 7;
  2123.     procedure GetInfo; dispid 8;
  2124.     procedure SetInfo; dispid 9;
  2125.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2126.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2127.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2128.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2129.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2130.   end;
  2131.  
  2132. // *********************************************************************//
  2133. // Interface: IADsGroup
  2134. // Flags:     (4416) Dual OleAutomation Dispatchable
  2135. // GUID:      {27636B00-410F-11CF-B1FF-02608C9E7553}
  2136. // *********************************************************************//
  2137.   IADsGroup = interface(IADs)
  2138.     ['{27636B00-410F-11CF-B1FF-02608C9E7553}']
  2139.     function  Get_Description: WideString; safecall;
  2140.     procedure Set_Description(const retval: WideString); safecall;
  2141.     function  Members: IADsMembers; safecall;
  2142.     function  IsMember(const bstrMember: WideString): WordBool; safecall;
  2143.     procedure Add(const bstrNewItem: WideString); safecall;
  2144.     procedure Remove(const bstrItemToBeRemoved: WideString); safecall;
  2145.     property Description: WideString read Get_Description write Set_Description;
  2146.   end;
  2147.  
  2148. // *********************************************************************//
  2149. // DispIntf:  IADsGroupDisp
  2150. // Flags:     (4416) Dual OleAutomation Dispatchable
  2151. // GUID:      {27636B00-410F-11CF-B1FF-02608C9E7553}
  2152. // *********************************************************************//
  2153.   IADsGroupDisp = dispinterface
  2154.     ['{27636B00-410F-11CF-B1FF-02608C9E7553}']
  2155.     property Description: WideString dispid 15;
  2156.     function  Members: IADsMembers; dispid 16;
  2157.     function  IsMember(const bstrMember: WideString): WordBool; dispid 17;
  2158.     procedure Add(const bstrNewItem: WideString); dispid 18;
  2159.     procedure Remove(const bstrItemToBeRemoved: WideString); dispid 19;
  2160.     property Name: WideString readonly dispid 2;
  2161.     property Class_: WideString readonly dispid 3;
  2162.     property GUID: WideString readonly dispid 4;
  2163.     property ADsPath: WideString readonly dispid 5;
  2164.     property Parent: WideString readonly dispid 6;
  2165.     property Schema: WideString readonly dispid 7;
  2166.     procedure GetInfo; dispid 8;
  2167.     procedure SetInfo; dispid 9;
  2168.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2169.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2170.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2171.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2172.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2173.   end;
  2174.  
  2175. // *********************************************************************//
  2176. // Interface: IADsUser
  2177. // Flags:     (4416) Dual OleAutomation Dispatchable
  2178. // GUID:      {3E37E320-17E2-11CF-ABC4-02608C9E7553}
  2179. // *********************************************************************//
  2180.   IADsUser = interface(IADs)
  2181.     ['{3E37E320-17E2-11CF-ABC4-02608C9E7553}']
  2182.     function  Get_BadLoginAddress: WideString; safecall;
  2183.     function  Get_BadLoginCount: Integer; safecall;
  2184.     function  Get_LastLogin: TDateTime; safecall;
  2185.     function  Get_LastLogoff: TDateTime; safecall;
  2186.     function  Get_LastFailedLogin: TDateTime; safecall;
  2187.     function  Get_PasswordLastChanged: TDateTime; safecall;
  2188.     function  Get_Description: WideString; safecall;
  2189.     procedure Set_Description(const retval: WideString); safecall;
  2190.     function  Get_Division: WideString; safecall;
  2191.     procedure Set_Division(const retval: WideString); safecall;
  2192.     function  Get_Department: WideString; safecall;
  2193.     procedure Set_Department(const retval: WideString); safecall;
  2194.     function  Get_EmployeeID: WideString; safecall;
  2195.     procedure Set_EmployeeID(const retval: WideString); safecall;
  2196.     function  Get_FullName: WideString; safecall;
  2197.     procedure Set_FullName(const retval: WideString); safecall;
  2198.     function  Get_FirstName: WideString; safecall;
  2199.     procedure Set_FirstName(const retval: WideString); safecall;
  2200.     function  Get_LastName: WideString; safecall;
  2201.     procedure Set_LastName(const retval: WideString); safecall;
  2202.     function  Get_OtherName: WideString; safecall;
  2203.     procedure Set_OtherName(const retval: WideString); safecall;
  2204.     function  Get_NamePrefix: WideString; safecall;
  2205.     procedure Set_NamePrefix(const retval: WideString); safecall;
  2206.     function  Get_NameSuffix: WideString; safecall;
  2207.     procedure Set_NameSuffix(const retval: WideString); safecall;
  2208.     function  Get_Title: WideString; safecall;
  2209.     procedure Set_Title(const retval: WideString); safecall;
  2210.     function  Get_Manager: WideString; safecall;
  2211.     procedure Set_Manager(const retval: WideString); safecall;
  2212.     function  Get_TelephoneHome: OleVariant; safecall;
  2213.     procedure Set_TelephoneHome(retval: OleVariant); safecall;
  2214.     function  Get_TelephoneMobile: OleVariant; safecall;
  2215.     procedure Set_TelephoneMobile(retval: OleVariant); safecall;
  2216.     function  Get_TelephoneNumber: OleVariant; safecall;
  2217.     procedure Set_TelephoneNumber(retval: OleVariant); safecall;
  2218.     function  Get_TelephonePager: OleVariant; safecall;
  2219.     procedure Set_TelephonePager(retval: OleVariant); safecall;
  2220.     function  Get_FaxNumber: OleVariant; safecall;
  2221.     procedure Set_FaxNumber(retval: OleVariant); safecall;
  2222.     function  Get_OfficeLocations: OleVariant; safecall;
  2223.     procedure Set_OfficeLocations(retval: OleVariant); safecall;
  2224.     function  Get_PostalAddresses: OleVariant; safecall;
  2225.     procedure Set_PostalAddresses(retval: OleVariant); safecall;
  2226.     function  Get_PostalCodes: OleVariant; safecall;
  2227.     procedure Set_PostalCodes(retval: OleVariant); safecall;
  2228.     function  Get_SeeAlso: OleVariant; safecall;
  2229.     procedure Set_SeeAlso(retval: OleVariant); safecall;
  2230.     function  Get_AccountDisabled: WordBool; safecall;
  2231.     procedure Set_AccountDisabled(retval: WordBool); safecall;
  2232.     function  Get_AccountExpirationDate: TDateTime; safecall;
  2233.     procedure Set_AccountExpirationDate(retval: TDateTime); safecall;
  2234.     function  Get_GraceLoginsAllowed: Integer; safecall;
  2235.     procedure Set_GraceLoginsAllowed(retval: Integer); safecall;
  2236.     function  Get_GraceLoginsRemaining: Integer; safecall;
  2237.     procedure Set_GraceLoginsRemaining(retval: Integer); safecall;
  2238.     function  Get_IsAccountLocked: WordBool; safecall;
  2239.     procedure Set_IsAccountLocked(retval: WordBool); safecall;
  2240.     function  Get_LoginHours: OleVariant; safecall;
  2241.     procedure Set_LoginHours(retval: OleVariant); safecall;
  2242.     function  Get_LoginWorkstations: OleVariant; safecall;
  2243.     procedure Set_LoginWorkstations(retval: OleVariant); safecall;
  2244.     function  Get_MaxLogins: Integer; safecall;
  2245.     procedure Set_MaxLogins(retval: Integer); safecall;
  2246.     function  Get_MaxStorage: Integer; safecall;
  2247.     procedure Set_MaxStorage(retval: Integer); safecall;
  2248.     function  Get_PasswordExpirationDate: TDateTime; safecall;
  2249.     procedure Set_PasswordExpirationDate(retval: TDateTime); safecall;
  2250.     function  Get_PasswordMinimumLength: Integer; safecall;
  2251.     procedure Set_PasswordMinimumLength(retval: Integer); safecall;
  2252.     function  Get_PasswordRequired: WordBool; safecall;
  2253.     procedure Set_PasswordRequired(retval: WordBool); safecall;
  2254.     function  Get_RequireUniquePassword: WordBool; safecall;
  2255.     procedure Set_RequireUniquePassword(retval: WordBool); safecall;
  2256.     function  Get_EmailAddress: WideString; safecall;
  2257.     procedure Set_EmailAddress(const retval: WideString); safecall;
  2258.     function  Get_HomeDirectory: WideString; safecall;
  2259.     procedure Set_HomeDirectory(const retval: WideString); safecall;
  2260.     function  Get_Languages: OleVariant; safecall;
  2261.     procedure Set_Languages(retval: OleVariant); safecall;
  2262.     function  Get_Profile: WideString; safecall;
  2263.     procedure Set_Profile(const retval: WideString); safecall;
  2264.     function  Get_LoginScript: WideString; safecall;
  2265.     procedure Set_LoginScript(const retval: WideString); safecall;
  2266.     function  Get_Picture: OleVariant; safecall;
  2267.     procedure Set_Picture(retval: OleVariant); safecall;
  2268.     function  Get_HomePage: WideString; safecall;
  2269.     procedure Set_HomePage(const retval: WideString); safecall;
  2270.     function  Groups: IADsMembers; safecall;
  2271.     procedure SetPassword(const NewPassword: WideString); safecall;
  2272.     procedure ChangePassword(const bstrOldPassword: WideString; const bstrNewPassword: WideString); safecall;
  2273.     property BadLoginAddress: WideString read Get_BadLoginAddress;
  2274.     property BadLoginCount: Integer read Get_BadLoginCount;
  2275.     property LastLogin: TDateTime read Get_LastLogin;
  2276.     property LastLogoff: TDateTime read Get_LastLogoff;
  2277.     property LastFailedLogin: TDateTime read Get_LastFailedLogin;
  2278.     property PasswordLastChanged: TDateTime read Get_PasswordLastChanged;
  2279.     property Description: WideString read Get_Description write Set_Description;
  2280.     property Division: WideString read Get_Division write Set_Division;
  2281.     property Department: WideString read Get_Department write Set_Department;
  2282.     property EmployeeID: WideString read Get_EmployeeID write Set_EmployeeID;
  2283.     property FullName: WideString read Get_FullName write Set_FullName;
  2284.     property FirstName: WideString read Get_FirstName write Set_FirstName;
  2285.     property LastName: WideString read Get_LastName write Set_LastName;
  2286.     property OtherName: WideString read Get_OtherName write Set_OtherName;
  2287.     property NamePrefix: WideString read Get_NamePrefix write Set_NamePrefix;
  2288.     property NameSuffix: WideString read Get_NameSuffix write Set_NameSuffix;
  2289.     property Title: WideString read Get_Title write Set_Title;
  2290.     property Manager: WideString read Get_Manager write Set_Manager;
  2291.     property TelephoneHome: OleVariant read Get_TelephoneHome write Set_TelephoneHome;
  2292.     property TelephoneMobile: OleVariant read Get_TelephoneMobile write Set_TelephoneMobile;
  2293.     property TelephoneNumber: OleVariant read Get_TelephoneNumber write Set_TelephoneNumber;
  2294.     property TelephonePager: OleVariant read Get_TelephonePager write Set_TelephonePager;
  2295.     property FaxNumber: OleVariant read Get_FaxNumber write Set_FaxNumber;
  2296.     property OfficeLocations: OleVariant read Get_OfficeLocations write Set_OfficeLocations;
  2297.     property PostalAddresses: OleVariant read Get_PostalAddresses write Set_PostalAddresses;
  2298.     property PostalCodes: OleVariant read Get_PostalCodes write Set_PostalCodes;
  2299.     property SeeAlso: OleVariant read Get_SeeAlso write Set_SeeAlso;
  2300.     property AccountDisabled: WordBool read Get_AccountDisabled write Set_AccountDisabled;
  2301.     property AccountExpirationDate: TDateTime read Get_AccountExpirationDate write Set_AccountExpirationDate;
  2302.     property GraceLoginsAllowed: Integer read Get_GraceLoginsAllowed write Set_GraceLoginsAllowed;
  2303.     property GraceLoginsRemaining: Integer read Get_GraceLoginsRemaining write Set_GraceLoginsRemaining;
  2304.     property IsAccountLocked: WordBool read Get_IsAccountLocked write Set_IsAccountLocked;
  2305.     property LoginHours: OleVariant read Get_LoginHours write Set_LoginHours;
  2306.     property LoginWorkstations: OleVariant read Get_LoginWorkstations write Set_LoginWorkstations;
  2307.     property MaxLogins: Integer read Get_MaxLogins write Set_MaxLogins;
  2308.     property MaxStorage: Integer read Get_MaxStorage write Set_MaxStorage;
  2309.     property PasswordExpirationDate: TDateTime read Get_PasswordExpirationDate write Set_PasswordExpirationDate;
  2310.     property PasswordMinimumLength: Integer read Get_PasswordMinimumLength write Set_PasswordMinimumLength;
  2311.     property PasswordRequired: WordBool read Get_PasswordRequired write Set_PasswordRequired;
  2312.     property RequireUniquePassword: WordBool read Get_RequireUniquePassword write Set_RequireUniquePassword;
  2313.     property EmailAddress: WideString read Get_EmailAddress write Set_EmailAddress;
  2314.     property HomeDirectory: WideString read Get_HomeDirectory write Set_HomeDirectory;
  2315.     property Languages: OleVariant read Get_Languages write Set_Languages;
  2316.     property Profile: WideString read Get_Profile write Set_Profile;
  2317.     property LoginScript: WideString read Get_LoginScript write Set_LoginScript;
  2318.     property Picture: OleVariant read Get_Picture write Set_Picture;
  2319.     property HomePage: WideString read Get_HomePage write Set_HomePage;
  2320.   end;
  2321.  
  2322. // *********************************************************************//
  2323. // DispIntf:  IADsUserDisp
  2324. // Flags:     (4416) Dual OleAutomation Dispatchable
  2325. // GUID:      {3E37E320-17E2-11CF-ABC4-02608C9E7553}
  2326. // *********************************************************************//
  2327.   IADsUserDisp = dispinterface
  2328.     ['{3E37E320-17E2-11CF-ABC4-02608C9E7553}']
  2329.     property BadLoginAddress: WideString readonly dispid 53;
  2330.     property BadLoginCount: Integer readonly dispid 54;
  2331.     property LastLogin: TDateTime readonly dispid 56;
  2332.     property LastLogoff: TDateTime readonly dispid 57;
  2333.     property LastFailedLogin: TDateTime readonly dispid 58;
  2334.     property PasswordLastChanged: TDateTime readonly dispid 59;
  2335.     property Description: WideString dispid 15;
  2336.     property Division: WideString dispid 19;
  2337.     property Department: WideString dispid 122;
  2338.     property EmployeeID: WideString dispid 20;
  2339.     property FullName: WideString dispid 23;
  2340.     property FirstName: WideString dispid 22;
  2341.     property LastName: WideString dispid 25;
  2342.     property OtherName: WideString dispid 27;
  2343.     property NamePrefix: WideString dispid 114;
  2344.     property NameSuffix: WideString dispid 115;
  2345.     property Title: WideString dispid 36;
  2346.     property Manager: WideString dispid 26;
  2347.     property TelephoneHome: OleVariant dispid 32;
  2348.     property TelephoneMobile: OleVariant dispid 33;
  2349.     property TelephoneNumber: OleVariant dispid 34;
  2350.     property TelephonePager: OleVariant dispid 17;
  2351.     property FaxNumber: OleVariant dispid 16;
  2352.     property OfficeLocations: OleVariant dispid 28;
  2353.     property PostalAddresses: OleVariant dispid 30;
  2354.     property PostalCodes: OleVariant dispid 31;
  2355.     property SeeAlso: OleVariant dispid 117;
  2356.     property AccountDisabled: WordBool dispid 37;
  2357.     property AccountExpirationDate: TDateTime dispid 38;
  2358.     property GraceLoginsAllowed: Integer dispid 41;
  2359.     property GraceLoginsRemaining: Integer dispid 42;
  2360.     property IsAccountLocked: WordBool dispid 43;
  2361.     property LoginHours: OleVariant dispid 45;
  2362.     property LoginWorkstations: OleVariant dispid 46;
  2363.     property MaxLogins: Integer dispid 47;
  2364.     property MaxStorage: Integer dispid 48;
  2365.     property PasswordExpirationDate: TDateTime dispid 49;
  2366.     property PasswordMinimumLength: Integer dispid 50;
  2367.     property PasswordRequired: WordBool dispid 51;
  2368.     property RequireUniquePassword: WordBool dispid 52;
  2369.     property EmailAddress: WideString dispid 60;
  2370.     property HomeDirectory: WideString dispid 61;
  2371.     property Languages: OleVariant dispid 62;
  2372.     property Profile: WideString dispid 63;
  2373.     property LoginScript: WideString dispid 64;
  2374.     property Picture: OleVariant dispid 65;
  2375.     property HomePage: WideString dispid 120;
  2376.     function  Groups: IADsMembers; dispid 66;
  2377.     procedure SetPassword(const NewPassword: WideString); dispid 67;
  2378.     procedure ChangePassword(const bstrOldPassword: WideString; const bstrNewPassword: WideString); dispid 68;
  2379.     property Name: WideString readonly dispid 2;
  2380.     property Class_: WideString readonly dispid 3;
  2381.     property GUID: WideString readonly dispid 4;
  2382.     property ADsPath: WideString readonly dispid 5;
  2383.     property Parent: WideString readonly dispid 6;
  2384.     property Schema: WideString readonly dispid 7;
  2385.     procedure GetInfo; dispid 8;
  2386.     procedure SetInfo; dispid 9;
  2387.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2388.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2389.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2390.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2391.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2392.   end;
  2393.  
  2394. // *********************************************************************//
  2395. // Interface: IADsPrintQueue
  2396. // Flags:     (4416) Dual OleAutomation Dispatchable
  2397. // GUID:      {B15160D0-1226-11CF-A985-00AA006BC149}
  2398. // *********************************************************************//
  2399.   IADsPrintQueue = interface(IADs)
  2400.     ['{B15160D0-1226-11CF-A985-00AA006BC149}']
  2401.     function  Get_PrinterPath: WideString; safecall;
  2402.     procedure Set_PrinterPath(const retval: WideString); safecall;
  2403.     function  Get_Model: WideString; safecall;
  2404.     procedure Set_Model(const retval: WideString); safecall;
  2405.     function  Get_Datatype: WideString; safecall;
  2406.     procedure Set_Datatype(const retval: WideString); safecall;
  2407.     function  Get_PrintProcessor: WideString; safecall;
  2408.     procedure Set_PrintProcessor(const retval: WideString); safecall;
  2409.     function  Get_Description: WideString; safecall;
  2410.     procedure Set_Description(const retval: WideString); safecall;
  2411.     function  Get_Location: WideString; safecall;
  2412.     procedure Set_Location(const retval: WideString); safecall;
  2413.     function  Get_StartTime: TDateTime; safecall;
  2414.     procedure Set_StartTime(retval: TDateTime); safecall;
  2415.     function  Get_UntilTime: TDateTime; safecall;
  2416.     procedure Set_UntilTime(retval: TDateTime); safecall;
  2417.     function  Get_DefaultJobPriority: Integer; safecall;
  2418.     procedure Set_DefaultJobPriority(retval: Integer); safecall;
  2419.     function  Get_Priority: Integer; safecall;
  2420.     procedure Set_Priority(retval: Integer); safecall;
  2421.     function  Get_BannerPage: WideString; safecall;
  2422.     procedure Set_BannerPage(const retval: WideString); safecall;
  2423.     function  Get_PrintDevices: OleVariant; safecall;
  2424.     procedure Set_PrintDevices(retval: OleVariant); safecall;
  2425.     function  Get_NetAddresses: OleVariant; safecall;
  2426.     procedure Set_NetAddresses(retval: OleVariant); safecall;
  2427.     property PrinterPath: WideString read Get_PrinterPath write Set_PrinterPath;
  2428.     property Model: WideString read Get_Model write Set_Model;
  2429.     property Datatype: WideString read Get_Datatype write Set_Datatype;
  2430.     property PrintProcessor: WideString read Get_PrintProcessor write Set_PrintProcessor;
  2431.     property Description: WideString read Get_Description write Set_Description;
  2432.     property Location: WideString read Get_Location write Set_Location;
  2433.     property StartTime: TDateTime read Get_StartTime write Set_StartTime;
  2434.     property UntilTime: TDateTime read Get_UntilTime write Set_UntilTime;
  2435.     property DefaultJobPriority: Integer read Get_DefaultJobPriority write Set_DefaultJobPriority;
  2436.     property Priority: Integer read Get_Priority write Set_Priority;
  2437.     property BannerPage: WideString read Get_BannerPage write Set_BannerPage;
  2438.     property PrintDevices: OleVariant read Get_PrintDevices write Set_PrintDevices;
  2439.     property NetAddresses: OleVariant read Get_NetAddresses write Set_NetAddresses;
  2440.   end;
  2441.  
  2442. // *********************************************************************//
  2443. // DispIntf:  IADsPrintQueueDisp
  2444. // Flags:     (4416) Dual OleAutomation Dispatchable
  2445. // GUID:      {B15160D0-1226-11CF-A985-00AA006BC149}
  2446. // *********************************************************************//
  2447.   IADsPrintQueueDisp = dispinterface
  2448.     ['{B15160D0-1226-11CF-A985-00AA006BC149}']
  2449.     property PrinterPath: WideString dispid 15;
  2450.     property Model: WideString dispid 16;
  2451.     property Datatype: WideString dispid 17;
  2452.     property PrintProcessor: WideString dispid 18;
  2453.     property Description: WideString dispid 19;
  2454.     property Location: WideString dispid 20;
  2455.     property StartTime: TDateTime dispid 21;
  2456.     property UntilTime: TDateTime dispid 22;
  2457.     property DefaultJobPriority: Integer dispid 23;
  2458.     property Priority: Integer dispid 24;
  2459.     property BannerPage: WideString dispid 25;
  2460.     property PrintDevices: OleVariant dispid 26;
  2461.     property NetAddresses: OleVariant dispid 27;
  2462.     property Name: WideString readonly dispid 2;
  2463.     property Class_: WideString readonly dispid 3;
  2464.     property GUID: WideString readonly dispid 4;
  2465.     property ADsPath: WideString readonly dispid 5;
  2466.     property Parent: WideString readonly dispid 6;
  2467.     property Schema: WideString readonly dispid 7;
  2468.     procedure GetInfo; dispid 8;
  2469.     procedure SetInfo; dispid 9;
  2470.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2471.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2472.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2473.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2474.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2475.   end;
  2476.  
  2477. // *********************************************************************//
  2478. // Interface: IADsPrintQueueOperations
  2479. // Flags:     (4416) Dual OleAutomation Dispatchable
  2480. // GUID:      {124BE5C0-156E-11CF-A986-00AA006BC149}
  2481. // *********************************************************************//
  2482.   IADsPrintQueueOperations = interface(IADs)
  2483.     ['{124BE5C0-156E-11CF-A986-00AA006BC149}']
  2484.     function  Get_Status: Integer; safecall;
  2485.     function  PrintJobs: IADsCollection; safecall;
  2486.     procedure Pause; safecall;
  2487.     procedure Resume; safecall;
  2488.     procedure Purge; safecall;
  2489.     property Status: Integer read Get_Status;
  2490.   end;
  2491.  
  2492. // *********************************************************************//
  2493. // DispIntf:  IADsPrintQueueOperationsDisp
  2494. // Flags:     (4416) Dual OleAutomation Dispatchable
  2495. // GUID:      {124BE5C0-156E-11CF-A986-00AA006BC149}
  2496. // *********************************************************************//
  2497.   IADsPrintQueueOperationsDisp = dispinterface
  2498.     ['{124BE5C0-156E-11CF-A986-00AA006BC149}']
  2499.     property Status: Integer readonly dispid 27;
  2500.     function  PrintJobs: IADsCollection; dispid 28;
  2501.     procedure Pause; dispid 29;
  2502.     procedure Resume; dispid 30;
  2503.     procedure Purge; dispid 31;
  2504.     property Name: WideString readonly dispid 2;
  2505.     property Class_: WideString readonly dispid 3;
  2506.     property GUID: WideString readonly dispid 4;
  2507.     property ADsPath: WideString readonly dispid 5;
  2508.     property Parent: WideString readonly dispid 6;
  2509.     property Schema: WideString readonly dispid 7;
  2510.     procedure GetInfo; dispid 8;
  2511.     procedure SetInfo; dispid 9;
  2512.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2513.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2514.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2515.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2516.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2517.   end;
  2518.  
  2519. // *********************************************************************//
  2520. // Interface: IADsPrintJob
  2521. // Flags:     (4416) Dual OleAutomation Dispatchable
  2522. // GUID:      {32FB6780-1ED0-11CF-A988-00AA006BC149}
  2523. // *********************************************************************//
  2524.   IADsPrintJob = interface(IADs)
  2525.     ['{32FB6780-1ED0-11CF-A988-00AA006BC149}']
  2526.     function  Get_HostPrintQueue: WideString; safecall;
  2527.     function  Get_User: WideString; safecall;
  2528.     function  Get_UserPath: WideString; safecall;
  2529.     function  Get_TimeSubmitted: TDateTime; safecall;
  2530.     function  Get_TotalPages: Integer; safecall;
  2531.     function  Get_Size: Integer; safecall;
  2532.     function  Get_Description: WideString; safecall;
  2533.     procedure Set_Description(const retval: WideString); safecall;
  2534.     function  Get_Priority: Integer; safecall;
  2535.     procedure Set_Priority(retval: Integer); safecall;
  2536.     function  Get_StartTime: TDateTime; safecall;
  2537.     procedure Set_StartTime(retval: TDateTime); safecall;
  2538.     function  Get_UntilTime: TDateTime; safecall;
  2539.     procedure Set_UntilTime(retval: TDateTime); safecall;
  2540.     function  Get_Notify: WideString; safecall;
  2541.     procedure Set_Notify(const retval: WideString); safecall;
  2542.     function  Get_NotifyPath: WideString; safecall;
  2543.     procedure Set_NotifyPath(const retval: WideString); safecall;
  2544.     property HostPrintQueue: WideString read Get_HostPrintQueue;
  2545.     property User: WideString read Get_User;
  2546.     property UserPath: WideString read Get_UserPath;
  2547.     property TimeSubmitted: TDateTime read Get_TimeSubmitted;
  2548.     property TotalPages: Integer read Get_TotalPages;
  2549.     property Size: Integer read Get_Size;
  2550.     property Description: WideString read Get_Description write Set_Description;
  2551.     property Priority: Integer read Get_Priority write Set_Priority;
  2552.     property StartTime: TDateTime read Get_StartTime write Set_StartTime;
  2553.     property UntilTime: TDateTime read Get_UntilTime write Set_UntilTime;
  2554.     property Notify: WideString read Get_Notify write Set_Notify;
  2555.     property NotifyPath: WideString read Get_NotifyPath write Set_NotifyPath;
  2556.   end;
  2557.  
  2558. // *********************************************************************//
  2559. // DispIntf:  IADsPrintJobDisp
  2560. // Flags:     (4416) Dual OleAutomation Dispatchable
  2561. // GUID:      {32FB6780-1ED0-11CF-A988-00AA006BC149}
  2562. // *********************************************************************//
  2563.   IADsPrintJobDisp = dispinterface
  2564.     ['{32FB6780-1ED0-11CF-A988-00AA006BC149}']
  2565.     property HostPrintQueue: WideString readonly dispid 15;
  2566.     property User: WideString readonly dispid 16;
  2567.     property UserPath: WideString readonly dispid 17;
  2568.     property TimeSubmitted: TDateTime readonly dispid 18;
  2569.     property TotalPages: Integer readonly dispid 19;
  2570.     property Size: Integer readonly dispid 234;
  2571.     property Description: WideString dispid 20;
  2572.     property Priority: Integer dispid 21;
  2573.     property StartTime: TDateTime dispid 22;
  2574.     property UntilTime: TDateTime dispid 23;
  2575.     property Notify: WideString dispid 24;
  2576.     property NotifyPath: WideString dispid 25;
  2577.     property Name: WideString readonly dispid 2;
  2578.     property Class_: WideString readonly dispid 3;
  2579.     property GUID: WideString readonly dispid 4;
  2580.     property ADsPath: WideString readonly dispid 5;
  2581.     property Parent: WideString readonly dispid 6;
  2582.     property Schema: WideString readonly dispid 7;
  2583.     procedure GetInfo; dispid 8;
  2584.     procedure SetInfo; dispid 9;
  2585.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2586.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2587.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2588.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2589.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2590.   end;
  2591.  
  2592. // *********************************************************************//
  2593. // Interface: IADsPrintJobOperations
  2594. // Flags:     (4416) Dual OleAutomation Dispatchable
  2595. // GUID:      {9A52DB30-1ECF-11CF-A988-00AA006BC149}
  2596. // *********************************************************************//
  2597.   IADsPrintJobOperations = interface(IADs)
  2598.     ['{9A52DB30-1ECF-11CF-A988-00AA006BC149}']
  2599.     function  Get_Status: Integer; safecall;
  2600.     function  Get_TimeElapsed: Integer; safecall;
  2601.     function  Get_PagesPrinted: Integer; safecall;
  2602.     function  Get_Position: Integer; safecall;
  2603.     procedure Set_Position(retval: Integer); safecall;
  2604.     procedure Pause; safecall;
  2605.     procedure Resume; safecall;
  2606.     property Status: Integer read Get_Status;
  2607.     property TimeElapsed: Integer read Get_TimeElapsed;
  2608.     property PagesPrinted: Integer read Get_PagesPrinted;
  2609.     property Position: Integer read Get_Position write Set_Position;
  2610.   end;
  2611.  
  2612. // *********************************************************************//
  2613. // DispIntf:  IADsPrintJobOperationsDisp
  2614. // Flags:     (4416) Dual OleAutomation Dispatchable
  2615. // GUID:      {9A52DB30-1ECF-11CF-A988-00AA006BC149}
  2616. // *********************************************************************//
  2617.   IADsPrintJobOperationsDisp = dispinterface
  2618.     ['{9A52DB30-1ECF-11CF-A988-00AA006BC149}']
  2619.     property Status: Integer readonly dispid 26;
  2620.     property TimeElapsed: Integer readonly dispid 27;
  2621.     property PagesPrinted: Integer readonly dispid 28;
  2622.     property Position: Integer dispid 29;
  2623.     procedure Pause; dispid 30;
  2624.     procedure Resume; dispid 31;
  2625.     property Name: WideString readonly dispid 2;
  2626.     property Class_: WideString readonly dispid 3;
  2627.     property GUID: WideString readonly dispid 4;
  2628.     property ADsPath: WideString readonly dispid 5;
  2629.     property Parent: WideString readonly dispid 6;
  2630.     property Schema: WideString readonly dispid 7;
  2631.     procedure GetInfo; dispid 8;
  2632.     procedure SetInfo; dispid 9;
  2633.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2634.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2635.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2636.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2637.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2638.   end;
  2639.  
  2640. // *********************************************************************//
  2641. // Interface: IADsService
  2642. // Flags:     (4416) Dual OleAutomation Dispatchable
  2643. // GUID:      {68AF66E0-31CA-11CF-A98A-00AA006BC149}
  2644. // *********************************************************************//
  2645.   IADsService = interface(IADs)
  2646.     ['{68AF66E0-31CA-11CF-A98A-00AA006BC149}']
  2647.     function  Get_HostComputer: WideString; safecall;
  2648.     procedure Set_HostComputer(const retval: WideString); safecall;
  2649.     function  Get_DisplayName: WideString; safecall;
  2650.     procedure Set_DisplayName(const retval: WideString); safecall;
  2651.     function  Get_Version: WideString; safecall;
  2652.     procedure Set_Version(const retval: WideString); safecall;
  2653.     function  Get_ServiceType: Integer; safecall;
  2654.     procedure Set_ServiceType(retval: Integer); safecall;
  2655.     function  Get_StartType: Integer; safecall;
  2656.     procedure Set_StartType(retval: Integer); safecall;
  2657.     function  Get_Path: WideString; safecall;
  2658.     procedure Set_Path(const retval: WideString); safecall;
  2659.     function  Get_StartupParameters: WideString; safecall;
  2660.     procedure Set_StartupParameters(const retval: WideString); safecall;
  2661.     function  Get_ErrorControl: Integer; safecall;
  2662.     procedure Set_ErrorControl(retval: Integer); safecall;
  2663.     function  Get_LoadOrderGroup: WideString; safecall;
  2664.     procedure Set_LoadOrderGroup(const retval: WideString); safecall;
  2665.     function  Get_ServiceAccountName: WideString; safecall;
  2666.     procedure Set_ServiceAccountName(const retval: WideString); safecall;
  2667.     function  Get_ServiceAccountPath: WideString; safecall;
  2668.     procedure Set_ServiceAccountPath(const retval: WideString); safecall;
  2669.     function  Get_Dependencies: OleVariant; safecall;
  2670.     procedure Set_Dependencies(retval: OleVariant); safecall;
  2671.     property HostComputer: WideString read Get_HostComputer write Set_HostComputer;
  2672.     property DisplayName: WideString read Get_DisplayName write Set_DisplayName;
  2673.     property Version: WideString read Get_Version write Set_Version;
  2674.     property ServiceType: Integer read Get_ServiceType write Set_ServiceType;
  2675.     property StartType: Integer read Get_StartType write Set_StartType;
  2676.     property Path: WideString read Get_Path write Set_Path;
  2677.     property StartupParameters: WideString read Get_StartupParameters write Set_StartupParameters;
  2678.     property ErrorControl: Integer read Get_ErrorControl write Set_ErrorControl;
  2679.     property LoadOrderGroup: WideString read Get_LoadOrderGroup write Set_LoadOrderGroup;
  2680.     property ServiceAccountName: WideString read Get_ServiceAccountName write Set_ServiceAccountName;
  2681.     property ServiceAccountPath: WideString read Get_ServiceAccountPath write Set_ServiceAccountPath;
  2682.     property Dependencies: OleVariant read Get_Dependencies write Set_Dependencies;
  2683.   end;
  2684.  
  2685. // *********************************************************************//
  2686. // DispIntf:  IADsServiceDisp
  2687. // Flags:     (4416) Dual OleAutomation Dispatchable
  2688. // GUID:      {68AF66E0-31CA-11CF-A98A-00AA006BC149}
  2689. // *********************************************************************//
  2690.   IADsServiceDisp = dispinterface
  2691.     ['{68AF66E0-31CA-11CF-A98A-00AA006BC149}']
  2692.     property HostComputer: WideString dispid 15;
  2693.     property DisplayName: WideString dispid 16;
  2694.     property Version: WideString dispid 17;
  2695.     property ServiceType: Integer dispid 18;
  2696.     property StartType: Integer dispid 19;
  2697.     property Path: WideString dispid 20;
  2698.     property StartupParameters: WideString dispid 21;
  2699.     property ErrorControl: Integer dispid 22;
  2700.     property LoadOrderGroup: WideString dispid 23;
  2701.     property ServiceAccountName: WideString dispid 24;
  2702.     property ServiceAccountPath: WideString dispid 25;
  2703.     property Dependencies: OleVariant dispid 26;
  2704.     property Name: WideString readonly dispid 2;
  2705.     property Class_: WideString readonly dispid 3;
  2706.     property GUID: WideString readonly dispid 4;
  2707.     property ADsPath: WideString readonly dispid 5;
  2708.     property Parent: WideString readonly dispid 6;
  2709.     property Schema: WideString readonly dispid 7;
  2710.     procedure GetInfo; dispid 8;
  2711.     procedure SetInfo; dispid 9;
  2712.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2713.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2714.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2715.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2716.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2717.   end;
  2718.  
  2719. // *********************************************************************//
  2720. // Interface: IADsServiceOperations
  2721. // Flags:     (4416) Dual OleAutomation Dispatchable
  2722. // GUID:      {5D7B33F0-31CA-11CF-A98A-00AA006BC149}
  2723. // *********************************************************************//
  2724.   IADsServiceOperations = interface(IADs)
  2725.     ['{5D7B33F0-31CA-11CF-A98A-00AA006BC149}']
  2726.     function  Get_Status: Integer; safecall;
  2727.     procedure Start; safecall;
  2728.     procedure Stop; safecall;
  2729.     procedure Pause; safecall;
  2730.     procedure Continue; safecall;
  2731.     procedure SetPassword(const bstrNewPassword: WideString); safecall;
  2732.     property Status: Integer read Get_Status;
  2733.   end;
  2734.  
  2735. // *********************************************************************//
  2736. // DispIntf:  IADsServiceOperationsDisp
  2737. // Flags:     (4416) Dual OleAutomation Dispatchable
  2738. // GUID:      {5D7B33F0-31CA-11CF-A98A-00AA006BC149}
  2739. // *********************************************************************//
  2740.   IADsServiceOperationsDisp = dispinterface
  2741.     ['{5D7B33F0-31CA-11CF-A98A-00AA006BC149}']
  2742.     property Status: Integer readonly dispid 27;
  2743.     procedure Start; dispid 28;
  2744.     procedure Stop; dispid 29;
  2745.     procedure Pause; dispid 30;
  2746.     procedure Continue; dispid 31;
  2747.     procedure SetPassword(const bstrNewPassword: WideString); dispid 32;
  2748.     property Name: WideString readonly dispid 2;
  2749.     property Class_: WideString readonly dispid 3;
  2750.     property GUID: WideString readonly dispid 4;
  2751.     property ADsPath: WideString readonly dispid 5;
  2752.     property Parent: WideString readonly dispid 6;
  2753.     property Schema: WideString readonly dispid 7;
  2754.     procedure GetInfo; dispid 8;
  2755.     procedure SetInfo; dispid 9;
  2756.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2757.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2758.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2759.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2760.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2761.   end;
  2762.  
  2763. // *********************************************************************//
  2764. // Interface: IADsFileService
  2765. // Flags:     (4416) Dual OleAutomation Dispatchable
  2766. // GUID:      {A89D1900-31CA-11CF-A98A-00AA006BC149}
  2767. // *********************************************************************//
  2768.   IADsFileService = interface(IADsService)
  2769.     ['{A89D1900-31CA-11CF-A98A-00AA006BC149}']
  2770.     function  Get_Description: WideString; safecall;
  2771.     procedure Set_Description(const retval: WideString); safecall;
  2772.     function  Get_MaxUserCount: Integer; safecall;
  2773.     procedure Set_MaxUserCount(retval: Integer); safecall;
  2774.     property Description: WideString read Get_Description write Set_Description;
  2775.     property MaxUserCount: Integer read Get_MaxUserCount write Set_MaxUserCount;
  2776.   end;
  2777.  
  2778. // *********************************************************************//
  2779. // DispIntf:  IADsFileServiceDisp
  2780. // Flags:     (4416) Dual OleAutomation Dispatchable
  2781. // GUID:      {A89D1900-31CA-11CF-A98A-00AA006BC149}
  2782. // *********************************************************************//
  2783.   IADsFileServiceDisp = dispinterface
  2784.     ['{A89D1900-31CA-11CF-A98A-00AA006BC149}']
  2785.     property Description: WideString dispid 33;
  2786.     property MaxUserCount: Integer dispid 34;
  2787.     property HostComputer: WideString dispid 15;
  2788.     property DisplayName: WideString dispid 16;
  2789.     property Version: WideString dispid 17;
  2790.     property ServiceType: Integer dispid 18;
  2791.     property StartType: Integer dispid 19;
  2792.     property Path: WideString dispid 20;
  2793.     property StartupParameters: WideString dispid 21;
  2794.     property ErrorControl: Integer dispid 22;
  2795.     property LoadOrderGroup: WideString dispid 23;
  2796.     property ServiceAccountName: WideString dispid 24;
  2797.     property ServiceAccountPath: WideString dispid 25;
  2798.     property Dependencies: OleVariant dispid 26;
  2799.     property Name: WideString readonly dispid 2;
  2800.     property Class_: WideString readonly dispid 3;
  2801.     property GUID: WideString readonly dispid 4;
  2802.     property ADsPath: WideString readonly dispid 5;
  2803.     property Parent: WideString readonly dispid 6;
  2804.     property Schema: WideString readonly dispid 7;
  2805.     procedure GetInfo; dispid 8;
  2806.     procedure SetInfo; dispid 9;
  2807.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2808.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2809.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2810.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2811.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2812.   end;
  2813.  
  2814. // *********************************************************************//
  2815. // Interface: IADsFileServiceOperations
  2816. // Flags:     (4416) Dual OleAutomation Dispatchable
  2817. // GUID:      {A02DED10-31CA-11CF-A98A-00AA006BC149}
  2818. // *********************************************************************//
  2819.   IADsFileServiceOperations = interface(IADsServiceOperations)
  2820.     ['{A02DED10-31CA-11CF-A98A-00AA006BC149}']
  2821.     function  Sessions: IADsCollection; safecall;
  2822.     function  Resources: IADsCollection; safecall;
  2823.   end;
  2824.  
  2825. // *********************************************************************//
  2826. // DispIntf:  IADsFileServiceOperationsDisp
  2827. // Flags:     (4416) Dual OleAutomation Dispatchable
  2828. // GUID:      {A02DED10-31CA-11CF-A98A-00AA006BC149}
  2829. // *********************************************************************//
  2830.   IADsFileServiceOperationsDisp = dispinterface
  2831.     ['{A02DED10-31CA-11CF-A98A-00AA006BC149}']
  2832.     function  Sessions: IADsCollection; dispid 35;
  2833.     function  Resources: IADsCollection; dispid 36;
  2834.     property Status: Integer readonly dispid 27;
  2835.     procedure Start; dispid 28;
  2836.     procedure Stop; dispid 29;
  2837.     procedure Pause; dispid 30;
  2838.     procedure Continue; dispid 31;
  2839.     procedure SetPassword(const bstrNewPassword: WideString); dispid 32;
  2840.     property Name: WideString readonly dispid 2;
  2841.     property Class_: WideString readonly dispid 3;
  2842.     property GUID: WideString readonly dispid 4;
  2843.     property ADsPath: WideString readonly dispid 5;
  2844.     property Parent: WideString readonly dispid 6;
  2845.     property Schema: WideString readonly dispid 7;
  2846.     procedure GetInfo; dispid 8;
  2847.     procedure SetInfo; dispid 9;
  2848.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2849.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2850.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2851.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2852.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2853.   end;
  2854.  
  2855. // *********************************************************************//
  2856. // Interface: IADsFileShare
  2857. // Flags:     (4416) Dual OleAutomation Dispatchable
  2858. // GUID:      {EB6DCAF0-4B83-11CF-A995-00AA006BC149}
  2859. // *********************************************************************//
  2860.   IADsFileShare = interface(IADs)
  2861.     ['{EB6DCAF0-4B83-11CF-A995-00AA006BC149}']
  2862.     function  Get_CurrentUserCount: Integer; safecall;
  2863.     function  Get_Description: WideString; safecall;
  2864.     procedure Set_Description(const retval: WideString); safecall;
  2865.     function  Get_HostComputer: WideString; safecall;
  2866.     procedure Set_HostComputer(const retval: WideString); safecall;
  2867.     function  Get_Path: WideString; safecall;
  2868.     procedure Set_Path(const retval: WideString); safecall;
  2869.     function  Get_MaxUserCount: Integer; safecall;
  2870.     procedure Set_MaxUserCount(retval: Integer); safecall;
  2871.     property CurrentUserCount: Integer read Get_CurrentUserCount;
  2872.     property Description: WideString read Get_Description write Set_Description;
  2873.     property HostComputer: WideString read Get_HostComputer write Set_HostComputer;
  2874.     property Path: WideString read Get_Path write Set_Path;
  2875.     property MaxUserCount: Integer read Get_MaxUserCount write Set_MaxUserCount;
  2876.   end;
  2877.  
  2878. // *********************************************************************//
  2879. // DispIntf:  IADsFileShareDisp
  2880. // Flags:     (4416) Dual OleAutomation Dispatchable
  2881. // GUID:      {EB6DCAF0-4B83-11CF-A995-00AA006BC149}
  2882. // *********************************************************************//
  2883.   IADsFileShareDisp = dispinterface
  2884.     ['{EB6DCAF0-4B83-11CF-A995-00AA006BC149}']
  2885.     property CurrentUserCount: Integer readonly dispid 15;
  2886.     property Description: WideString dispid 16;
  2887.     property HostComputer: WideString dispid 17;
  2888.     property Path: WideString dispid 18;
  2889.     property MaxUserCount: Integer dispid 19;
  2890.     property Name: WideString readonly dispid 2;
  2891.     property Class_: WideString readonly dispid 3;
  2892.     property GUID: WideString readonly dispid 4;
  2893.     property ADsPath: WideString readonly dispid 5;
  2894.     property Parent: WideString readonly dispid 6;
  2895.     property Schema: WideString readonly dispid 7;
  2896.     procedure GetInfo; dispid 8;
  2897.     procedure SetInfo; dispid 9;
  2898.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2899.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2900.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2901.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2902.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2903.   end;
  2904.  
  2905. // *********************************************************************//
  2906. // Interface: IADsSession
  2907. // Flags:     (4416) Dual OleAutomation Dispatchable
  2908. // GUID:      {398B7DA0-4AAB-11CF-AE2C-00AA006EBFB9}
  2909. // *********************************************************************//
  2910.   IADsSession = interface(IADs)
  2911.     ['{398B7DA0-4AAB-11CF-AE2C-00AA006EBFB9}']
  2912.     function  Get_User: WideString; safecall;
  2913.     function  Get_UserPath: WideString; safecall;
  2914.     function  Get_Computer: WideString; safecall;
  2915.     function  Get_ComputerPath: WideString; safecall;
  2916.     function  Get_ConnectTime: Integer; safecall;
  2917.     function  Get_IdleTime: Integer; safecall;
  2918.     property User: WideString read Get_User;
  2919.     property UserPath: WideString read Get_UserPath;
  2920.     property Computer: WideString read Get_Computer;
  2921.     property ComputerPath: WideString read Get_ComputerPath;
  2922.     property ConnectTime: Integer read Get_ConnectTime;
  2923.     property IdleTime: Integer read Get_IdleTime;
  2924.   end;
  2925.  
  2926. // *********************************************************************//
  2927. // DispIntf:  IADsSessionDisp
  2928. // Flags:     (4416) Dual OleAutomation Dispatchable
  2929. // GUID:      {398B7DA0-4AAB-11CF-AE2C-00AA006EBFB9}
  2930. // *********************************************************************//
  2931.   IADsSessionDisp = dispinterface
  2932.     ['{398B7DA0-4AAB-11CF-AE2C-00AA006EBFB9}']
  2933.     property User: WideString readonly dispid 15;
  2934.     property UserPath: WideString readonly dispid 16;
  2935.     property Computer: WideString readonly dispid 17;
  2936.     property ComputerPath: WideString readonly dispid 18;
  2937.     property ConnectTime: Integer readonly dispid 19;
  2938.     property IdleTime: Integer readonly dispid 20;
  2939.     property Name: WideString readonly dispid 2;
  2940.     property Class_: WideString readonly dispid 3;
  2941.     property GUID: WideString readonly dispid 4;
  2942.     property ADsPath: WideString readonly dispid 5;
  2943.     property Parent: WideString readonly dispid 6;
  2944.     property Schema: WideString readonly dispid 7;
  2945.     procedure GetInfo; dispid 8;
  2946.     procedure SetInfo; dispid 9;
  2947.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2948.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2949.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2950.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2951.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2952.   end;
  2953.  
  2954. // *********************************************************************//
  2955. // Interface: IADsResource
  2956. // Flags:     (4416) Dual OleAutomation Dispatchable
  2957. // GUID:      {34A05B20-4AAB-11CF-AE2C-00AA006EBFB9}
  2958. // *********************************************************************//
  2959.   IADsResource = interface(IADs)
  2960.     ['{34A05B20-4AAB-11CF-AE2C-00AA006EBFB9}']
  2961.     function  Get_User: WideString; safecall;
  2962.     function  Get_UserPath: WideString; safecall;
  2963.     function  Get_Path: WideString; safecall;
  2964.     function  Get_LockCount: Integer; safecall;
  2965.     property User: WideString read Get_User;
  2966.     property UserPath: WideString read Get_UserPath;
  2967.     property Path: WideString read Get_Path;
  2968.     property LockCount: Integer read Get_LockCount;
  2969.   end;
  2970.  
  2971. // *********************************************************************//
  2972. // DispIntf:  IADsResourceDisp
  2973. // Flags:     (4416) Dual OleAutomation Dispatchable
  2974. // GUID:      {34A05B20-4AAB-11CF-AE2C-00AA006EBFB9}
  2975. // *********************************************************************//
  2976.   IADsResourceDisp = dispinterface
  2977.     ['{34A05B20-4AAB-11CF-AE2C-00AA006EBFB9}']
  2978.     property User: WideString readonly dispid 15;
  2979.     property UserPath: WideString readonly dispid 16;
  2980.     property Path: WideString readonly dispid 17;
  2981.     property LockCount: Integer readonly dispid 18;
  2982.     property Name: WideString readonly dispid 2;
  2983.     property Class_: WideString readonly dispid 3;
  2984.     property GUID: WideString readonly dispid 4;
  2985.     property ADsPath: WideString readonly dispid 5;
  2986.     property Parent: WideString readonly dispid 6;
  2987.     property Schema: WideString readonly dispid 7;
  2988.     procedure GetInfo; dispid 8;
  2989.     procedure SetInfo; dispid 9;
  2990.     function  Get(const bstrName: WideString): OleVariant; dispid 10;
  2991.     procedure Put(const bstrName: WideString; vProp: OleVariant); dispid 11;
  2992.     function  GetEx(const bstrName: WideString): OleVariant; dispid 12;
  2993.     procedure PutEx(lnControlCode: Integer; const bstrName: WideString; vProp: OleVariant); dispid 13;
  2994.     procedure GetInfoEx(vProperties: OleVariant; lnReserved: Integer); dispid 14;
  2995.   end;
  2996.  
  2997. // *********************************************************************//
  2998. // Interface: IADsOpenDSObject
  2999. // Flags:     (4416) Dual OleAutomation Dispatchable
  3000. // GUID:      {DDF2891E-0F9C-11D0-8AD4-00C04FD8D503}
  3001. // *********************************************************************//
  3002.   IADsOpenDSObject = interface(IDispatch)
  3003.     ['{DDF2891E-0F9C-11D0-8AD4-00C04FD8D503}']
  3004.     function  OpenDSObject(const lpszDNName: WideString; const lpszUserName: WideString; 
  3005.                            const lpszPassword: WideString; lnReserved: Integer): IDispatch; safecall;
  3006.   end;
  3007.  
  3008. // *********************************************************************//
  3009. // DispIntf:  IADsOpenDSObjectDisp
  3010. // Flags:     (4416) Dual OleAutomation Dispatchable
  3011. // GUID:      {DDF2891E-0F9C-11D0-8AD4-00C04FD8D503}
  3012. // *********************************************************************//
  3013.   IADsOpenDSObjectDisp = dispinterface
  3014.     ['{DDF2891E-0F9C-11D0-8AD4-00C04FD8D503}']
  3015.     function  OpenDSObject(const lpszDNName: WideString; const lpszUserName: WideString; 
  3016.                            const lpszPassword: WideString; lnReserved: Integer): IDispatch; dispid 1;
  3017.   end;
  3018.  
  3019. // *********************************************************************//
  3020. // Interface: IDirectoryObject
  3021. // Flags:     (0)
  3022. // GUID:      {E798DE2C-22E4-11D0-84FE-00C04FD8D503}
  3023. // *********************************************************************//
  3024.   IDirectoryObject = interface(IUnknown)
  3025.     ['{E798DE2C-22E4-11D0-84FE-00C04FD8D503}']
  3026.     function  GetObjectInformation(out ppObjInfo: PUserType12): HResult; stdcall;
  3027.     function  GetObjectAttributes(var pAttributeNames: PWideChar; dwNumberAttributes: LongWord; 
  3028.                                   out ppAttributeEntries: PUserType13; 
  3029.                                   out pdwNumAttributesReturned: LongWord): HResult; stdcall;
  3030.     function  SetObjectAttributes(var pAttributeEntries: TGUID; dwNumAttributes: LongWord; 
  3031.                                   out pdwNumAttributesModified: LongWord): HResult; stdcall;
  3032.     function  CreateDSObject(pszRDNName: PWideChar; var pAttributeEntries: TGUID; 
  3033.                              dwNumAttributes: LongWord; out ppObject: IDispatch): HResult; stdcall;
  3034.     function  DeleteDSObject(pszRDNName: PWideChar): HResult; stdcall;
  3035.   end;
  3036.  
  3037. // *********************************************************************//
  3038. // Interface: IDirectorySearch
  3039. // Flags:     (0)
  3040. // GUID:      {109BA8EC-92F0-11D0-A790-00C04FD8D5A8}
  3041. // *********************************************************************//
  3042.   IDirectorySearch = interface(IUnknown)
  3043.     ['{109BA8EC-92F0-11D0-A790-00C04FD8D5A8}']
  3044.     function  SetSearchPreference(pSearchPrefs: Pads_searchpref_info; dwNumPrefs: LongWord): HResult; stdcall;
  3045.     function  ExecuteSearch(pszSearchFilter: WideString; pAttributeNames: PPWideChar;
  3046.                             dwNumberAttributes: LongWord; out phSearchResult: THandle): HResult; stdcall;
  3047.     function  AbandonSearch(var phSearchResult: THandle): HResult; stdcall;
  3048.     function  GetFirstRow(var hSearchResult: THandle): HResult; stdcall;
  3049.     function  GetNextRow(hSearchResult: THandle): HResult; stdcall;
  3050.     function  GetPreviousRow(var hSearchResult: THandle): HResult; stdcall;
  3051.     function  GetNextColumnName(var hSearchHandle: THandle; out ppszColumnName: PWideChar): HResult; stdcall;
  3052.     function  GetColumn(hSearchResult: THandle; szColumnName: WideString;
  3053.                         var pSearchColumn: Ads_Search_Column): HResult; stdcall;
  3054.     function  FreeColumn(var pSearchColumn: Ads_Search_Column): HResult; stdcall;
  3055.     function  CloseSearchHandle(var hSearchResult: THandle): HResult; stdcall;
  3056.   end;
  3057.  
  3058. // *********************************************************************//
  3059. // Interface: IDirectorySchemaMgmt
  3060. // Flags:     (0)
  3061. // GUID:      {75DB3B9C-A4D8-11D0-A79C-00C04FD8D5A8}
  3062. // *********************************************************************//
  3063.   IDirectorySchemaMgmt = interface(IUnknown)
  3064.     ['{75DB3B9C-A4D8-11D0-A79C-00C04FD8D5A8}']
  3065.     function  EnumAttributes(var ppszAttrNames: PWideChar; dwNumAttributes: LongWord; 
  3066.                              ppAttrDefinition: PPUserType1; var pdwNumAttributes: LongWord): HResult; stdcall;
  3067.     function  CreateAttributeDefinition(pszAttributeName: PWideChar; var pAttributeDefinition: TGUID): HResult; stdcall;
  3068.     function  WriteAttributeDefinition(pszAttributeName: PWideChar; var pAttributeDefinition: TGUID): HResult; stdcall;
  3069.     function  DeleteAttributeDefinition(pszAttributeName: PWideChar): HResult; stdcall;
  3070.     function  EnumClasses(var ppszClassNames: PWideChar; dwNumClasses: LongWord; 
  3071.                           ppClassDefinition: PPUserType2; var pdwNumClasses: LongWord): HResult; stdcall;
  3072.     function  WriteClassDefinition(pszClassName: PWideChar; var pClassDefinition: TGUID): HResult; stdcall;
  3073.     function  CreateClassDefinition(pszClassName: PWideChar; var pClassDefinition: TGUID): HResult; stdcall;
  3074.     function  DeleteClassDefinition(pszClassName: PWideChar): HResult; stdcall;
  3075.   end;
  3076.  
  3077. // *********************************************************************//
  3078. // Interface: IADsAggregatee
  3079. // Flags:     (0)
  3080. // GUID:      {1346CE8C-9039-11D0-8528-00C04FD8D503}
  3081. // *********************************************************************//
  3082.   IADsAggregatee = interface(IUnknown)
  3083.     ['{1346CE8C-9039-11D0-8528-00C04FD8D503}']
  3084.     function  ConnectAsAggregatee(const pOuterUnknown: IUnknown): HResult; stdcall;
  3085.     function  DisconnectAsAggregatee: HResult; stdcall;
  3086.     function  RelinquishInterface(var riid: TGUID): HResult; stdcall;
  3087.     function  RestoreInterface(var riid: TGUID): HResult; stdcall;
  3088.   end;
  3089.  
  3090. // *********************************************************************//
  3091. // Interface: IADsAggregator
  3092. // Flags:     (0)
  3093. // GUID:      {52DB5FB0-941F-11D0-8529-00C04FD8D503}
  3094. // *********************************************************************//
  3095.   IADsAggregator = interface(IUnknown)
  3096.     ['{52DB5FB0-941F-11D0-8529-00C04FD8D503}']
  3097.     function  ConnectAsAggregator(const pAggregatee: IUnknown): HResult; stdcall;
  3098.     function  DisconnectAsAggregator: HResult; stdcall;
  3099.   end;
  3100.  
  3101. // *********************************************************************//
  3102. // Interface: IADsAccessControlEntry
  3103. // Flags:     (4416) Dual OleAutomation Dispatchable
  3104. // GUID:      {B4F3A14C-9BDD-11D0-852C-00C04FD8D503}
  3105. // *********************************************************************//
  3106.   IADsAccessControlEntry = interface(IDispatch)
  3107.     ['{B4F3A14C-9BDD-11D0-852C-00C04FD8D503}']
  3108.     function  Get_AccessMask: Integer; safecall;
  3109.     procedure Set_AccessMask(retval: Integer); safecall;
  3110.     function  Get_AceType: Integer; safecall;
  3111.     procedure Set_AceType(retval: Integer); safecall;
  3112.     function  Get_AceFlags: Integer; safecall;
  3113.     procedure Set_AceFlags(retval: Integer); safecall;
  3114.     function  Get_Flags: Integer; safecall;
  3115.     procedure Set_Flags(retval: Integer); safecall;
  3116.     function  Get_ObjectType: WideString; safecall;
  3117.     procedure Set_ObjectType(const retval: WideString); safecall;
  3118.     function  Get_InheritedObjectType: WideString; safecall;
  3119.     procedure Set_InheritedObjectType(const retval: WideString); safecall;
  3120.     function  Get_Trustee: WideString; safecall;
  3121.     procedure Set_Trustee(const retval: WideString); safecall;
  3122.     property AccessMask: Integer read Get_AccessMask write Set_AccessMask;
  3123.     property AceType: Integer read Get_AceType write Set_AceType;
  3124.     property AceFlags: Integer read Get_AceFlags write Set_AceFlags;
  3125.     property Flags: Integer read Get_Flags write Set_Flags;
  3126.     property ObjectType: WideString read Get_ObjectType write Set_ObjectType;
  3127.     property InheritedObjectType: WideString read Get_InheritedObjectType write Set_InheritedObjectType;
  3128.     property Trustee: WideString read Get_Trustee write Set_Trustee;
  3129.   end;
  3130.  
  3131. // *********************************************************************//
  3132. // DispIntf:  IADsAccessControlEntryDisp
  3133. // Flags:     (4416) Dual OleAutomation Dispatchable
  3134. // GUID:      {B4F3A14C-9BDD-11D0-852C-00C04FD8D503}
  3135. // *********************************************************************//
  3136.   IADsAccessControlEntryDisp = dispinterface
  3137.     ['{B4F3A14C-9BDD-11D0-852C-00C04FD8D503}']
  3138.     property AccessMask: Integer dispid 2;
  3139.     property AceType: Integer dispid 3;
  3140.     property AceFlags: Integer dispid 4;
  3141.     property Flags: Integer dispid 5;
  3142.     property ObjectType: WideString dispid 6;
  3143.     property InheritedObjectType: WideString dispid 7;
  3144.     property Trustee: WideString dispid 8;
  3145.   end;
  3146.  
  3147. // *********************************************************************//
  3148. // Interface: IADsAccessControlList
  3149. // Flags:     (4416) Dual OleAutomation Dispatchable
  3150. // GUID:      {B7EE91CC-9BDD-11D0-852C-00C04FD8D503}
  3151. // *********************************************************************//
  3152.   IADsAccessControlList = interface(IDispatch)
  3153.     ['{B7EE91CC-9BDD-11D0-852C-00C04FD8D503}']
  3154.     function  Get_AclRevision: Integer; safecall;
  3155.     procedure Set_AclRevision(retval: Integer); safecall;
  3156.     function  Get_AceCount: Integer; safecall;
  3157.     procedure Set_AceCount(retval: Integer); safecall;
  3158.     procedure AddAce(const pAccessControlEntry: IDispatch); safecall;
  3159.     procedure RemoveAce(const pAccessControlEntry: IDispatch); safecall;
  3160.     function  CopyAccessList: IDispatch; safecall;
  3161.     function  Get__NewEnum: IUnknown; safecall;
  3162.     property AclRevision: Integer read Get_AclRevision write Set_AclRevision;
  3163.     property AceCount: Integer read Get_AceCount write Set_AceCount;
  3164.     property _NewEnum: IUnknown read Get__NewEnum;
  3165.   end;
  3166.  
  3167. // *********************************************************************//
  3168. // DispIntf:  IADsAccessControlListDisp
  3169. // Flags:     (4416) Dual OleAutomation Dispatchable
  3170. // GUID:      {B7EE91CC-9BDD-11D0-852C-00C04FD8D503}
  3171. // *********************************************************************//
  3172.   IADsAccessControlListDisp = dispinterface
  3173.     ['{B7EE91CC-9BDD-11D0-852C-00C04FD8D503}']
  3174.     property AclRevision: Integer dispid 3;
  3175.     property AceCount: Integer dispid 4;
  3176.     procedure AddAce(const pAccessControlEntry: IDispatch); dispid 5;
  3177.     procedure RemoveAce(const pAccessControlEntry: IDispatch); dispid 6;
  3178.     function  CopyAccessList: IDispatch; dispid 7;
  3179.     property _NewEnum: IUnknown readonly dispid -4;
  3180.   end;
  3181.  
  3182. // *********************************************************************//
  3183. // Interface: IADsSecurityDescriptor
  3184. // Flags:     (4416) Dual OleAutomation Dispatchable
  3185. // GUID:      {B8C787CA-9BDD-11D0-852C-00C04FD8D503}
  3186. // *********************************************************************//
  3187.   IADsSecurityDescriptor = interface(IDispatch)
  3188.     ['{B8C787CA-9BDD-11D0-852C-00C04FD8D503}']
  3189.     function  Get_Revision: Integer; safecall;
  3190.     procedure Set_Revision(retval: Integer); safecall;
  3191.     function  Get_Control: Integer; safecall;
  3192.     procedure Set_Control(retval: Integer); safecall;
  3193.     function  Get_Owner: WideString; safecall;
  3194.     procedure Set_Owner(const retval: WideString); safecall;
  3195.     function  Get_OwnerDefaulted: WordBool; safecall;
  3196.     procedure Set_OwnerDefaulted(retval: WordBool); safecall;
  3197.     function  Get_Group: WideString; safecall;
  3198.     procedure Set_Group(const retval: WideString); safecall;
  3199.     function  Get_GroupDefaulted: WordBool; safecall;
  3200.     procedure Set_GroupDefaulted(retval: WordBool); safecall;
  3201.     function  Get_DiscretionaryAcl: IDispatch; safecall;
  3202.     procedure Set_DiscretionaryAcl(const retval: IDispatch); safecall;
  3203.     function  Get_DaclDefaulted: WordBool; safecall;
  3204.     procedure Set_DaclDefaulted(retval: WordBool); safecall;
  3205.     function  Get_SystemAcl: IDispatch; safecall;
  3206.     procedure Set_SystemAcl(const retval: IDispatch); safecall;
  3207.     function  Get_SaclDefaulted: WordBool; safecall;
  3208.     procedure Set_SaclDefaulted(retval: WordBool); safecall;
  3209.     function  CopySecurityDescriptor: IDispatch; safecall;
  3210.     property Revision: Integer read Get_Revision write Set_Revision;
  3211.     property Control: Integer read Get_Control write Set_Control;
  3212.     property Owner: WideString read Get_Owner write Set_Owner;
  3213.     property OwnerDefaulted: WordBool read Get_OwnerDefaulted write Set_OwnerDefaulted;
  3214.     property Group: WideString read Get_Group write Set_Group;
  3215.     property GroupDefaulted: WordBool read Get_GroupDefaulted write Set_GroupDefaulted;
  3216.     property DiscretionaryAcl: IDispatch read Get_DiscretionaryAcl write Set_DiscretionaryAcl;
  3217.     property DaclDefaulted: WordBool read Get_DaclDefaulted write Set_DaclDefaulted;
  3218.     property SystemAcl: IDispatch read Get_SystemAcl write Set_SystemAcl;
  3219.     property SaclDefaulted: WordBool read Get_SaclDefaulted write Set_SaclDefaulted;
  3220.   end;
  3221.  
  3222. // *********************************************************************//
  3223. // DispIntf:  IADsSecurityDescriptorDisp
  3224. // Flags:     (4416) Dual OleAutomation Dispatchable
  3225. // GUID:      {B8C787CA-9BDD-11D0-852C-00C04FD8D503}
  3226. // *********************************************************************//
  3227.   IADsSecurityDescriptorDisp = dispinterface
  3228.     ['{B8C787CA-9BDD-11D0-852C-00C04FD8D503}']
  3229.     property Revision: Integer dispid 2;
  3230.     property Control: Integer dispid 3;
  3231.     property Owner: WideString dispid 4;
  3232.     property OwnerDefaulted: WordBool dispid 5;
  3233.     property Group: WideString dispid 6;
  3234.     property GroupDefaulted: WordBool dispid 7;
  3235.     property DiscretionaryAcl: IDispatch dispid 8;
  3236.     property DaclDefaulted: WordBool dispid 9;
  3237.     property SystemAcl: IDispatch dispid 10;
  3238.     property SaclDefaulted: WordBool dispid 11;
  3239.     function  CopySecurityDescriptor: IDispatch; dispid 12;
  3240.   end;
  3241.  
  3242. // *********************************************************************//
  3243. // Interface: IADsLargeInteger
  3244. // Flags:     (4416) Dual OleAutomation Dispatchable
  3245. // GUID:      {9068270B-0939-11D1-8BE1-00C04FD8D503}
  3246. // *********************************************************************//
  3247.   IADsLargeInteger = interface(IDispatch)
  3248.     ['{9068270B-0939-11D1-8BE1-00C04FD8D503}']
  3249.     function  Get_HighPart: Integer; safecall;
  3250.     procedure Set_HighPart(retval: Integer); safecall;
  3251.     function  Get_LowPart: Integer; safecall;
  3252.     procedure Set_LowPart(retval: Integer); safecall;
  3253.     property HighPart: Integer read Get_HighPart write Set_HighPart;
  3254.     property LowPart: Integer read Get_LowPart write Set_LowPart;
  3255.   end;
  3256.  
  3257. // *********************************************************************//
  3258. // DispIntf:  IADsLargeIntegerDisp
  3259. // Flags:     (4416) Dual OleAutomation Dispatchable
  3260. // GUID:      {9068270B-0939-11D1-8BE1-00C04FD8D503}
  3261. // *********************************************************************//
  3262.   IADsLargeIntegerDisp = dispinterface
  3263.     ['{9068270B-0939-11D1-8BE1-00C04FD8D503}']
  3264.     property HighPart: Integer dispid 2;
  3265.     property LowPart: Integer dispid 3;
  3266.   end;
  3267.  
  3268. // *********************************************************************//
  3269. // Interface: IADsNameTranslate
  3270. // Flags:     (4416) Dual OleAutomation Dispatchable
  3271. // GUID:      {B1B272A3-3625-11D1-A3A4-00C04FB950DC}
  3272. // *********************************************************************//
  3273.   IADsNameTranslate = interface(IDispatch)
  3274.     ['{B1B272A3-3625-11D1-A3A4-00C04FB950DC}']
  3275.     procedure Set_ChaseReferral(Param1: Integer); safecall;
  3276.     procedure Init(lnSetType: Integer; const bstrADsPath: WideString); safecall;
  3277.     procedure InitEx(lnSetType: Integer; const bstrADsPath: WideString; 
  3278.                      const bstrUserID: WideString; const bstrDomain: WideString; 
  3279.                      const bstrPassword: WideString); safecall;
  3280.     procedure Set_(lnSetType: Integer; const bstrADsPath: WideString); safecall;
  3281.     function  Get(lnFormatType: Integer): WideString; safecall;
  3282.     procedure SetEx(lnFormatType: Integer; pVar: OleVariant); safecall;
  3283.     function  GetEx(lnFormatType: Integer): OleVariant; safecall;
  3284.     property ChaseReferral: Integer write Set_ChaseReferral;
  3285.   end;
  3286.  
  3287. // *********************************************************************//
  3288. // DispIntf:  IADsNameTranslateDisp
  3289. // Flags:     (4416) Dual OleAutomation Dispatchable
  3290. // GUID:      {B1B272A3-3625-11D1-A3A4-00C04FB950DC}
  3291. // *********************************************************************//
  3292.   IADsNameTranslateDisp = dispinterface
  3293.     ['{B1B272A3-3625-11D1-A3A4-00C04FB950DC}']
  3294.     property ChaseReferral: Integer writeonly dispid 1;
  3295.     procedure Init(lnSetType: Integer; const bstrADsPath: WideString); dispid 2;
  3296.     procedure InitEx(lnSetType: Integer; const bstrADsPath: WideString; 
  3297.                      const bstrUserID: WideString; const bstrDomain: WideString; 
  3298.                      const bstrPassword: WideString); dispid 3;
  3299.     procedure Set_(lnSetType: Integer; const bstrADsPath: WideString); dispid 4;
  3300.     function  Get(lnFormatType: Integer): WideString; dispid 5;
  3301.     procedure SetEx(lnFormatType: Integer; pVar: OleVariant); dispid 6;
  3302.     function  GetEx(lnFormatType: Integer): OleVariant; dispid 7;
  3303.   end;
  3304.  
  3305. // *********************************************************************//
  3306. // Interface: IADsCaseIgnoreList
  3307. // Flags:     (4416) Dual OleAutomation Dispatchable
  3308. // GUID:      {7B66B533-4680-11D1-A3B4-00C04FB950DC}
  3309. // *********************************************************************//
  3310.   IADsCaseIgnoreList = interface(IDispatch)
  3311.     ['{7B66B533-4680-11D1-A3B4-00C04FB950DC}']
  3312.     function  Get_CaseIgnoreList: OleVariant; safecall;
  3313.     procedure Set_CaseIgnoreList(retval: OleVariant); safecall;
  3314.     property CaseIgnoreList: OleVariant read Get_CaseIgnoreList write Set_CaseIgnoreList;
  3315.   end;
  3316.  
  3317. // *********************************************************************//
  3318. // DispIntf:  IADsCaseIgnoreListDisp
  3319. // Flags:     (4416) Dual OleAutomation Dispatchable
  3320. // GUID:      {7B66B533-4680-11D1-A3B4-00C04FB950DC}
  3321. // *********************************************************************//
  3322.   IADsCaseIgnoreListDisp = dispinterface
  3323.     ['{7B66B533-4680-11D1-A3B4-00C04FB950DC}']
  3324.     property CaseIgnoreList: OleVariant dispid 2;
  3325.   end;
  3326.  
  3327. // *********************************************************************//
  3328. // Interface: IADsFaxNumber
  3329. // Flags:     (4416) Dual OleAutomation Dispatchable
  3330. // GUID:      {A910DEA9-4680-11D1-A3B4-00C04FB950DC}
  3331. // *********************************************************************//
  3332.   IADsFaxNumber = interface(IDispatch)
  3333.     ['{A910DEA9-4680-11D1-A3B4-00C04FB950DC}']
  3334.     function  Get_TelephoneNumber: WideString; safecall;
  3335.     procedure Set_TelephoneNumber(const retval: WideString); safecall;
  3336.     function  Get_Parameters: OleVariant; safecall;
  3337.     procedure Set_Parameters(retval: OleVariant); safecall;
  3338.     property TelephoneNumber: WideString read Get_TelephoneNumber write Set_TelephoneNumber;
  3339.     property Parameters: OleVariant read Get_Parameters write Set_Parameters;
  3340.   end;
  3341.  
  3342. // *********************************************************************//
  3343. // DispIntf:  IADsFaxNumberDisp
  3344. // Flags:     (4416) Dual OleAutomation Dispatchable
  3345. // GUID:      {A910DEA9-4680-11D1-A3B4-00C04FB950DC}
  3346. // *********************************************************************//
  3347.   IADsFaxNumberDisp = dispinterface
  3348.     ['{A910DEA9-4680-11D1-A3B4-00C04FB950DC}']
  3349.     property TelephoneNumber: WideString dispid 2;
  3350.     property Parameters: OleVariant dispid 3;
  3351.   end;
  3352.  
  3353. // *********************************************************************//
  3354. // Interface: IADsNetAddress
  3355. // Flags:     (4416) Dual OleAutomation Dispatchable
  3356. // GUID:      {B21A50A9-4080-11D1-A3AC-00C04FB950DC}
  3357. // *********************************************************************//
  3358.   IADsNetAddress = interface(IDispatch)
  3359.     ['{B21A50A9-4080-11D1-A3AC-00C04FB950DC}']
  3360.     function  Get_AddressType: Integer; safecall;
  3361.     procedure Set_AddressType(retval: Integer); safecall;
  3362.     function  Get_Address: OleVariant; safecall;
  3363.     procedure Set_Address(retval: OleVariant); safecall;
  3364.     property AddressType: Integer read Get_AddressType write Set_AddressType;
  3365.     property Address: OleVariant read Get_Address write Set_Address;
  3366.   end;
  3367.  
  3368. // *********************************************************************//
  3369. // DispIntf:  IADsNetAddressDisp
  3370. // Flags:     (4416) Dual OleAutomation Dispatchable
  3371. // GUID:      {B21A50A9-4080-11D1-A3AC-00C04FB950DC}
  3372. // *********************************************************************//
  3373.   IADsNetAddressDisp = dispinterface
  3374.     ['{B21A50A9-4080-11D1-A3AC-00C04FB950DC}']
  3375.     property AddressType: Integer dispid 2;
  3376.     property Address: OleVariant dispid 3;
  3377.   end;
  3378.  
  3379. // *********************************************************************//
  3380. // Interface: IADsOctetList
  3381. // Flags:     (4416) Dual OleAutomation Dispatchable
  3382. // GUID:      {7B28B80F-4680-11D1-A3B4-00C04FB950DC}
  3383. // *********************************************************************//
  3384.   IADsOctetList = interface(IDispatch)
  3385.     ['{7B28B80F-4680-11D1-A3B4-00C04FB950DC}']
  3386.     function  Get_OctetList: OleVariant; safecall;
  3387.     procedure Set_OctetList(retval: OleVariant); safecall;
  3388.     property OctetList: OleVariant read Get_OctetList write Set_OctetList;
  3389.   end;
  3390.  
  3391. // *********************************************************************//
  3392. // DispIntf:  IADsOctetListDisp
  3393. // Flags:     (4416) Dual OleAutomation Dispatchable
  3394. // GUID:      {7B28B80F-4680-11D1-A3B4-00C04FB950DC}
  3395. // *********************************************************************//
  3396.   IADsOctetListDisp = dispinterface
  3397.     ['{7B28B80F-4680-11D1-A3B4-00C04FB950DC}']
  3398.     property OctetList: OleVariant dispid 2;
  3399.   end;
  3400.  
  3401. // *********************************************************************//
  3402. // Interface: IADsEmail
  3403. // Flags:     (4416) Dual OleAutomation Dispatchable
  3404. // GUID:      {97AF011A-478E-11D1-A3B4-00C04FB950DC}
  3405. // *********************************************************************//
  3406.   IADsEmail = interface(IDispatch)
  3407.     ['{97AF011A-478E-11D1-A3B4-00C04FB950DC}']
  3408.     function  Get_Type_: Integer; safecall;
  3409.     procedure Set_Type_(retval: Integer); safecall;
  3410.     function  Get_Address: WideString; safecall;
  3411.     procedure Set_Address(const retval: WideString); safecall;
  3412.     property Type_: Integer read Get_Type_ write Set_Type_;
  3413.     property Address: WideString read Get_Address write Set_Address;
  3414.   end;
  3415.  
  3416. // *********************************************************************//
  3417. // DispIntf:  IADsEmailDisp
  3418. // Flags:     (4416) Dual OleAutomation Dispatchable
  3419. // GUID:      {97AF011A-478E-11D1-A3B4-00C04FB950DC}
  3420. // *********************************************************************//
  3421.   IADsEmailDisp = dispinterface
  3422.     ['{97AF011A-478E-11D1-A3B4-00C04FB950DC}']
  3423.     property Type_: Integer dispid 2;
  3424.     property Address: WideString dispid 3;
  3425.   end;
  3426.  
  3427. // *********************************************************************//
  3428. // Interface: IADsPath
  3429. // Flags:     (4416) Dual OleAutomation Dispatchable
  3430. // GUID:      {B287FCD5-4080-11D1-A3AC-00C04FB950DC}
  3431. // *********************************************************************//
  3432.   IADsPath = interface(IDispatch)
  3433.     ['{B287FCD5-4080-11D1-A3AC-00C04FB950DC}']
  3434.     function  Get_Type_: Integer; safecall;
  3435.     procedure Set_Type_(retval: Integer); safecall;
  3436.     function  Get_VolumeName: WideString; safecall;
  3437.     procedure Set_VolumeName(const retval: WideString); safecall;
  3438.     function  Get_Path: WideString; safecall;
  3439.     procedure Set_Path(const retval: WideString); safecall;
  3440.     property Type_: Integer read Get_Type_ write Set_Type_;
  3441.     property VolumeName: WideString read Get_VolumeName write Set_VolumeName;
  3442.     property Path: WideString read Get_Path write Set_Path;
  3443.   end;
  3444.  
  3445. // *********************************************************************//
  3446. // DispIntf:  IADsPathDisp
  3447. // Flags:     (4416) Dual OleAutomation Dispatchable
  3448. // GUID:      {B287FCD5-4080-11D1-A3AC-00C04FB950DC}
  3449. // *********************************************************************//
  3450.   IADsPathDisp = dispinterface
  3451.     ['{B287FCD5-4080-11D1-A3AC-00C04FB950DC}']
  3452.     property Type_: Integer dispid 2;
  3453.     property VolumeName: WideString dispid 3;
  3454.     property Path: WideString dispid 4;
  3455.   end;
  3456.  
  3457. // *********************************************************************//
  3458. // Interface: IADsReplicaPointer
  3459. // Flags:     (4416) Dual OleAutomation Dispatchable
  3460. // GUID:      {F60FB803-4080-11D1-A3AC-00C04FB950DC}
  3461. // *********************************************************************//
  3462.   IADsReplicaPointer = interface(IDispatch)
  3463.     ['{F60FB803-4080-11D1-A3AC-00C04FB950DC}']
  3464.     function  Get_ServerName: WideString; safecall;
  3465.     procedure Set_ServerName(const retval: WideString); safecall;
  3466.     function  Get_ReplicaType: Integer; safecall;
  3467.     procedure Set_ReplicaType(retval: Integer); safecall;
  3468.     function  Get_ReplicaNumber: Integer; safecall;
  3469.     procedure Set_ReplicaNumber(retval: Integer); safecall;
  3470.     function  Get_Count: Integer; safecall;
  3471.     procedure Set_Count(retval: Integer); safecall;
  3472.     function  Get_ReplicaAddressHints: OleVariant; safecall;
  3473.     procedure Set_ReplicaAddressHints(retval: OleVariant); safecall;
  3474.     property ServerName: WideString read Get_ServerName write Set_ServerName;
  3475.     property ReplicaType: Integer read Get_ReplicaType write Set_ReplicaType;
  3476.     property ReplicaNumber: Integer read Get_ReplicaNumber write Set_ReplicaNumber;
  3477.     property Count: Integer read Get_Count write Set_Count;
  3478.     property ReplicaAddressHints: OleVariant read Get_ReplicaAddressHints write Set_ReplicaAddressHints;
  3479.   end;
  3480.  
  3481. // *********************************************************************//
  3482. // DispIntf:  IADsReplicaPointerDisp
  3483. // Flags:     (4416) Dual OleAutomation Dispatchable
  3484. // GUID:      {F60FB803-4080-11D1-A3AC-00C04FB950DC}
  3485. // *********************************************************************//
  3486.   IADsReplicaPointerDisp = dispinterface
  3487.     ['{F60FB803-4080-11D1-A3AC-00C04FB950DC}']
  3488.     property ServerName: WideString dispid 2;
  3489.     property ReplicaType: Integer dispid 3;
  3490.     property ReplicaNumber: Integer dispid 4;
  3491.     property Count: Integer dispid 5;
  3492.     property ReplicaAddressHints: OleVariant dispid 6;
  3493.   end;
  3494.  
  3495. // *********************************************************************//
  3496. // Interface: IADsAcl
  3497. // Flags:     (4416) Dual OleAutomation Dispatchable
  3498. // GUID:      {8452D3AB-0869-11D1-A377-00C04FB950DC}
  3499. // *********************************************************************//
  3500.   IADsAcl = interface(IDispatch)
  3501.     ['{8452D3AB-0869-11D1-A377-00C04FB950DC}']
  3502.     function  Get_ProtectedAttrName: WideString; safecall;
  3503.     procedure Set_ProtectedAttrName(const retval: WideString); safecall;
  3504.     function  Get_SubjectName: WideString; safecall;
  3505.     procedure Set_SubjectName(const retval: WideString); safecall;
  3506.     function  Get_Privileges: Integer; safecall;
  3507.     procedure Set_Privileges(retval: Integer); safecall;
  3508.     function  CopyAcl: IDispatch; safecall;
  3509.     property ProtectedAttrName: WideString read Get_ProtectedAttrName write Set_ProtectedAttrName;
  3510.     property SubjectName: WideString read Get_SubjectName write Set_SubjectName;
  3511.     property Privileges: Integer read Get_Privileges write Set_Privileges;
  3512.   end;
  3513.  
  3514. // *********************************************************************//
  3515. // DispIntf:  IADsAclDisp
  3516. // Flags:     (4416) Dual OleAutomation Dispatchable
  3517. // GUID:      {8452D3AB-0869-11D1-A377-00C04FB950DC}
  3518. // *********************************************************************//
  3519.   IADsAclDisp = dispinterface
  3520.     ['{8452D3AB-0869-11D1-A377-00C04FB950DC}']
  3521.     property ProtectedAttrName: WideString dispid 2;
  3522.     property SubjectName: WideString dispid 3;
  3523.     property Privileges: Integer dispid 4;
  3524.     function  CopyAcl: IDispatch; dispid 5;
  3525.   end;
  3526.  
  3527. // *********************************************************************//
  3528. // Interface: IADsTimestamp
  3529. // Flags:     (4416) Dual OleAutomation Dispatchable
  3530. // GUID:      {B2F5A901-4080-11D1-A3AC-00C04FB950DC}
  3531. // *********************************************************************//
  3532.   IADsTimestamp = interface(IDispatch)
  3533.     ['{B2F5A901-4080-11D1-A3AC-00C04FB950DC}']
  3534.     function  Get_WholeSeconds: Integer; safecall;
  3535.     procedure Set_WholeSeconds(retval: Integer); safecall;
  3536.     function  Get_EventID: Integer; safecall;
  3537.     procedure Set_EventID(retval: Integer); safecall;
  3538.     property WholeSeconds: Integer read Get_WholeSeconds write Set_WholeSeconds;
  3539.     property EventID: Integer read Get_EventID write Set_EventID;
  3540.   end;
  3541.  
  3542. // *********************************************************************//
  3543. // DispIntf:  IADsTimestampDisp
  3544. // Flags:     (4416) Dual OleAutomation Dispatchable
  3545. // GUID:      {B2F5A901-4080-11D1-A3AC-00C04FB950DC}
  3546. // *********************************************************************//
  3547.   IADsTimestampDisp = dispinterface
  3548.     ['{B2F5A901-4080-11D1-A3AC-00C04FB950DC}']
  3549.     property WholeSeconds: Integer dispid 2;
  3550.     property EventID: Integer dispid 3;
  3551.   end;
  3552.  
  3553. // *********************************************************************//
  3554. // Interface: IADsPostalAddress
  3555. // Flags:     (4416) Dual OleAutomation Dispatchable
  3556. // GUID:      {7ADECF29-4680-11D1-A3B4-00C04FB950DC}
  3557. // *********************************************************************//
  3558.   IADsPostalAddress = interface(IDispatch)
  3559.     ['{7ADECF29-4680-11D1-A3B4-00C04FB950DC}']
  3560.     function  Get_PostalAddress: OleVariant; safecall;
  3561.     procedure Set_PostalAddress(retval: OleVariant); safecall;
  3562.     property PostalAddress: OleVariant read Get_PostalAddress write Set_PostalAddress;
  3563.   end;
  3564.  
  3565. // *********************************************************************//
  3566. // DispIntf:  IADsPostalAddressDisp
  3567. // Flags:     (4416) Dual OleAutomation Dispatchable
  3568. // GUID:      {7ADECF29-4680-11D1-A3B4-00C04FB950DC}
  3569. // *********************************************************************//
  3570.   IADsPostalAddressDisp = dispinterface
  3571.     ['{7ADECF29-4680-11D1-A3B4-00C04FB950DC}']
  3572.     property PostalAddress: OleVariant dispid 2;
  3573.   end;
  3574.  
  3575. // *********************************************************************//
  3576. // Interface: IADsBackLink
  3577. // Flags:     (4416) Dual OleAutomation Dispatchable
  3578. // GUID:      {FD1302BD-4080-11D1-A3AC-00C04FB950DC}
  3579. // *********************************************************************//
  3580.   IADsBackLink = interface(IDispatch)
  3581.     ['{FD1302BD-4080-11D1-A3AC-00C04FB950DC}']
  3582.     function  Get_RemoteID: Integer; safecall;
  3583.     procedure Set_RemoteID(retval: Integer); safecall;
  3584.     function  Get_ObjectName: WideString; safecall;
  3585.     procedure Set_ObjectName(const retval: WideString); safecall;
  3586.     property RemoteID: Integer read Get_RemoteID write Set_RemoteID;
  3587.     property ObjectName: WideString read Get_ObjectName write Set_ObjectName;
  3588.   end;
  3589.  
  3590. // *********************************************************************//
  3591. // DispIntf:  IADsBackLinkDisp
  3592. // Flags:     (4416) Dual OleAutomation Dispatchable
  3593. // GUID:      {FD1302BD-4080-11D1-A3AC-00C04FB950DC}
  3594. // *********************************************************************//
  3595.   IADsBackLinkDisp = dispinterface
  3596.     ['{FD1302BD-4080-11D1-A3AC-00C04FB950DC}']
  3597.     property RemoteID: Integer dispid 2;
  3598.     property ObjectName: WideString dispid 3;
  3599.   end;
  3600.  
  3601. // *********************************************************************//
  3602. // Interface: IADsTypedName
  3603. // Flags:     (4416) Dual OleAutomation Dispatchable
  3604. // GUID:      {B371A349-4080-11D1-A3AC-00C04FB950DC}
  3605. // *********************************************************************//
  3606.   IADsTypedName = interface(IDispatch)
  3607.     ['{B371A349-4080-11D1-A3AC-00C04FB950DC}']
  3608.     function  Get_ObjectName: WideString; safecall;
  3609.     procedure Set_ObjectName(const retval: WideString); safecall;
  3610.     function  Get_Level: Integer; safecall;
  3611.     procedure Set_Level(retval: Integer); safecall;
  3612.     function  Get_Interval: Integer; safecall;
  3613.     procedure Set_Interval(retval: Integer); safecall;
  3614.     property ObjectName: WideString read Get_ObjectName write Set_ObjectName;
  3615.     property Level: Integer read Get_Level write Set_Level;
  3616.     property Interval: Integer read Get_Interval write Set_Interval;
  3617.   end;
  3618.  
  3619. // *********************************************************************//
  3620. // DispIntf:  IADsTypedNameDisp
  3621. // Flags:     (4416) Dual OleAutomation Dispatchable
  3622. // GUID:      {B371A349-4080-11D1-A3AC-00C04FB950DC}
  3623. // *********************************************************************//
  3624.   IADsTypedNameDisp = dispinterface
  3625.     ['{B371A349-4080-11D1-A3AC-00C04FB950DC}']
  3626.     property ObjectName: WideString dispid 2;
  3627.     property Level: Integer dispid 3;
  3628.     property Interval: Integer dispid 4;
  3629.   end;
  3630.  
  3631. // *********************************************************************//
  3632. // Interface: IADsHold
  3633. // Flags:     (4416) Dual OleAutomation Dispatchable
  3634. // GUID:      {B3EB3B37-4080-11D1-A3AC-00C04FB950DC}
  3635. // *********************************************************************//
  3636.   IADsHold = interface(IDispatch)
  3637.     ['{B3EB3B37-4080-11D1-A3AC-00C04FB950DC}']
  3638.     function  Get_ObjectName: WideString; safecall;
  3639.     procedure Set_ObjectName(const retval: WideString); safecall;
  3640.     function  Get_Amount: Integer; safecall;
  3641.     procedure Set_Amount(retval: Integer); safecall;
  3642.     property ObjectName: WideString read Get_ObjectName write Set_ObjectName;
  3643.     property Amount: Integer read Get_Amount write Set_Amount;
  3644.   end;
  3645.  
  3646. // *********************************************************************//
  3647. // DispIntf:  IADsHoldDisp
  3648. // Flags:     (4416) Dual OleAutomation Dispatchable
  3649. // GUID:      {B3EB3B37-4080-11D1-A3AC-00C04FB950DC}
  3650. // *********************************************************************//
  3651.   IADsHoldDisp = dispinterface
  3652.     ['{B3EB3B37-4080-11D1-A3AC-00C04FB950DC}']
  3653.     property ObjectName: WideString dispid 2;
  3654.     property Amount: Integer dispid 3;
  3655.   end;
  3656.  
  3657. // *********************************************************************//
  3658. // Interface: IADsObjectOptions
  3659. // Flags:     (4416) Dual OleAutomation Dispatchable
  3660. // GUID:      {46F14FDA-232B-11D1-A808-00C04FD8D5A8}
  3661. // *********************************************************************//
  3662.   IADsObjectOptions = interface(IDispatch)
  3663.     ['{46F14FDA-232B-11D1-A808-00C04FD8D5A8}']
  3664.     function  GetOption(lnOption: Integer): OleVariant; safecall;
  3665.     procedure SetOption(lnOption: Integer; vValue: OleVariant); safecall;
  3666.   end;
  3667.  
  3668. // *********************************************************************//
  3669. // DispIntf:  IADsObjectOptionsDisp
  3670. // Flags:     (4416) Dual OleAutomation Dispatchable
  3671. // GUID:      {46F14FDA-232B-11D1-A808-00C04FD8D5A8}
  3672. // *********************************************************************//
  3673.   IADsObjectOptionsDisp = dispinterface
  3674.     ['{46F14FDA-232B-11D1-A808-00C04FD8D5A8}']
  3675.     function  GetOption(lnOption: Integer): OleVariant; dispid 2;
  3676.     procedure SetOption(lnOption: Integer; vValue: OleVariant); dispid 3;
  3677.   end;
  3678.  
  3679. // *********************************************************************//
  3680. // Interface: IADsPathname
  3681. // Flags:     (4416) Dual OleAutomation Dispatchable
  3682. // GUID:      {D592AED4-F420-11D0-A36E-00C04FB950DC}
  3683. // *********************************************************************//
  3684.   IADsPathname = interface(IDispatch)
  3685.     ['{D592AED4-F420-11D0-A36E-00C04FB950DC}']
  3686.     procedure Set_(const bstrADsPath: WideString; lnSetType: Integer); safecall;
  3687.     procedure SetDisplayType(lnDisplayType: Integer); safecall;
  3688.     function  Retrieve(lnFormatType: Integer): WideString; safecall;
  3689.     function  GetNumElements: Integer; safecall;
  3690.     function  GetElement(lnElementIndex: Integer): WideString; safecall;
  3691.     procedure AddLeafElement(const bstrLeafElement: WideString); safecall;
  3692.     procedure RemoveLeafElement; safecall;
  3693.     function  CopyPath: IDispatch; safecall;
  3694.     function  GetEscapedElement(lnReserved: Integer; const bstrInStr: WideString): WideString; safecall;
  3695.     function  Get_EscapedMode: Integer; safecall;
  3696.     procedure Set_EscapedMode(retval: Integer); safecall;
  3697.     property EscapedMode: Integer read Get_EscapedMode write Set_EscapedMode;
  3698.   end;
  3699.  
  3700. // *********************************************************************//
  3701. // DispIntf:  IADsPathnameDisp
  3702. // Flags:     (4416) Dual OleAutomation Dispatchable
  3703. // GUID:      {D592AED4-F420-11D0-A36E-00C04FB950DC}
  3704. // *********************************************************************//
  3705.   IADsPathnameDisp = dispinterface
  3706.     ['{D592AED4-F420-11D0-A36E-00C04FB950DC}']
  3707.     procedure Set_(const bstrADsPath: WideString; lnSetType: Integer); dispid 2;
  3708.     procedure SetDisplayType(lnDisplayType: Integer); dispid 3;
  3709.     function  Retrieve(lnFormatType: Integer): WideString; dispid 4;
  3710.     function  GetNumElements: Integer; dispid 5;
  3711.     function  GetElement(lnElementIndex: Integer): WideString; dispid 6;
  3712.     procedure AddLeafElement(const bstrLeafElement: WideString); dispid 7;
  3713.     procedure RemoveLeafElement; dispid 8;
  3714.     function  CopyPath: IDispatch; dispid 9;
  3715.     function  GetEscapedElement(lnReserved: Integer; const bstrInStr: WideString): WideString; dispid 10;
  3716.     property EscapedMode: Integer dispid 11;
  3717.   end;
  3718.  
  3719. // *********************************************************************//
  3720. // The Class CoPropertyEntry provides a Create and CreateRemote method to          
  3721. // create instances of the default interface IADsPropertyEntry exposed by              
  3722. // the CoClass PropertyEntry. The functions are intended to be used by             
  3723. // clients wishing to automate the CoClass objects exposed by the         
  3724. // server of this typelibrary.                                            
  3725. // *********************************************************************//
  3726.   CoPropertyEntry = class
  3727.     class function Create: IADsPropertyEntry;
  3728.     class function CreateRemote(const MachineName: string): IADsPropertyEntry;
  3729.   end;
  3730.  
  3731.  
  3732. // *********************************************************************//
  3733. // OLE Server Proxy class declaration
  3734. // Server Object    : TPropertyEntry
  3735. // Help String      : 
  3736. // Default Interface: IADsPropertyEntry
  3737. // Def. Intf. DISP? : No
  3738. // Event   Interface: 
  3739. // TypeFlags        : (2) CanCreate
  3740. // *********************************************************************//
  3741. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  3742.   TPropertyEntryProperties= class;
  3743. {$ENDIF}
  3744.   TPropertyEntry = class(TOleServer)
  3745.   private
  3746.     FIntf:        IADsPropertyEntry;
  3747. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  3748.     FProps:       TPropertyEntryProperties;
  3749.     function      GetServerProperties: TPropertyEntryProperties;
  3750. {$ENDIF}
  3751.     function      GetDefaultInterface: IADsPropertyEntry;
  3752.   protected
  3753.     procedure InitServerData; override;
  3754.     function  Get_Name: WideString;
  3755.     procedure Set_Name(const retval: WideString);
  3756.     function  Get_ADsType: Integer;
  3757.     procedure Set_ADsType(retval: Integer);
  3758.     function  Get_ControlCode: Integer;
  3759.     procedure Set_ControlCode(retval: Integer);
  3760.     function  Get_Values: OleVariant;
  3761.     procedure Set_Values(retval: OleVariant);
  3762.   public
  3763.     constructor Create(AOwner: TComponent); override;
  3764.     destructor  Destroy; override;
  3765.     procedure Connect; override;
  3766.     procedure ConnectTo(svrIntf: IADsPropertyEntry);
  3767.     procedure Disconnect; override;
  3768.     procedure Clear;
  3769.     property  DefaultInterface: IADsPropertyEntry read GetDefaultInterface;
  3770.     property Values: OleVariant read Get_Values write Set_Values;
  3771.     property Name: WideString read Get_Name write Set_Name;
  3772.     property ADsType: Integer read Get_ADsType write Set_ADsType;
  3773.     property ControlCode: Integer read Get_ControlCode write Set_ControlCode;
  3774.   published
  3775. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  3776.     property Server: TPropertyEntryProperties read GetServerProperties;
  3777. {$ENDIF}
  3778.   end;
  3779.  
  3780. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  3781. // *********************************************************************//
  3782. // OLE Server Properties Proxy Class
  3783. // Server Object    : TPropertyEntry
  3784. // (This object is used by the IDE's Property Inspector to allow editing
  3785. //  of the properties of this server)
  3786. // *********************************************************************//
  3787.  TPropertyEntryProperties = class(TPersistent)
  3788.   private
  3789.     FServer:    TPropertyEntry;
  3790.     function    GetDefaultInterface: IADsPropertyEntry;
  3791.     constructor Create(AServer: TPropertyEntry);
  3792.   protected
  3793.     function  Get_Name: WideString;
  3794.     procedure Set_Name(const retval: WideString);
  3795.     function  Get_ADsType: Integer;
  3796.     procedure Set_ADsType(retval: Integer);
  3797.     function  Get_ControlCode: Integer;
  3798.     procedure Set_ControlCode(retval: Integer);
  3799.     function  Get_Values: OleVariant;
  3800.     procedure Set_Values(retval: OleVariant);
  3801.   public
  3802.     property DefaultInterface: IADsPropertyEntry read GetDefaultInterface;
  3803.   published
  3804.     property Name: WideString read Get_Name write Set_Name;
  3805.     property ADsType: Integer read Get_ADsType write Set_ADsType;
  3806.     property ControlCode: Integer read Get_ControlCode write Set_ControlCode;
  3807.   end;
  3808. {$ENDIF}
  3809.  
  3810.  
  3811. // *********************************************************************//
  3812. // The Class CoPropertyValue provides a Create and CreateRemote method to          
  3813. // create instances of the default interface IADsPropertyValue exposed by              
  3814. // the CoClass PropertyValue. The functions are intended to be used by             
  3815. // clients wishing to automate the CoClass objects exposed by the         
  3816. // server of this typelibrary.                                            
  3817. // *********************************************************************//
  3818.   CoPropertyValue = class
  3819.     class function Create: IADsPropertyValue;
  3820.     class function CreateRemote(const MachineName: string): IADsPropertyValue;
  3821.   end;
  3822.  
  3823.  
  3824. // *********************************************************************//
  3825. // OLE Server Proxy class declaration
  3826. // Server Object    : TPropertyValue
  3827. // Help String      : 
  3828. // Default Interface: IADsPropertyValue
  3829. // Def. Intf. DISP? : No
  3830. // Event   Interface: 
  3831. // TypeFlags        : (2) CanCreate
  3832. // *********************************************************************//
  3833. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  3834.   TPropertyValueProperties= class;
  3835. {$ENDIF}
  3836.   TPropertyValue = class(TOleServer)
  3837.   private
  3838.     FIntf:        IADsPropertyValue;
  3839. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  3840.     FProps:       TPropertyValueProperties;
  3841.     function      GetServerProperties: TPropertyValueProperties;
  3842. {$ENDIF}
  3843.     function      GetDefaultInterface: IADsPropertyValue;
  3844.   protected
  3845.     procedure InitServerData; override;
  3846.     function  Get_ADsType: Integer;
  3847.     procedure Set_ADsType(retval: Integer);
  3848.     function  Get_DNString: WideString;
  3849.     procedure Set_DNString(const retval: WideString);
  3850.     function  Get_CaseExactString: WideString;
  3851.     procedure Set_CaseExactString(const retval: WideString);
  3852.     function  Get_CaseIgnoreString: WideString;
  3853.     procedure Set_CaseIgnoreString(const retval: WideString);
  3854.     function  Get_PrintableString: WideString;
  3855.     procedure Set_PrintableString(const retval: WideString);
  3856.     function  Get_NumericString: WideString;
  3857.     procedure Set_NumericString(const retval: WideString);
  3858.     function  Get_Boolean: Integer;
  3859.     procedure Set_Boolean(retval: Integer);
  3860.     function  Get_Integer: Integer;
  3861.     procedure Set_Integer(retval: Integer);
  3862.     function  Get_OctetString: OleVariant;
  3863.     procedure Set_OctetString(retval: OleVariant);
  3864.     function  Get_SecurityDescriptor: IDispatch;
  3865.     procedure Set_SecurityDescriptor(const retval: IDispatch);
  3866.     function  Get_LargeInteger: IDispatch;
  3867.     procedure Set_LargeInteger(const retval: IDispatch);
  3868.     function  Get_UTCTime: TDateTime;
  3869.     procedure Set_UTCTime(retval: TDateTime);
  3870.   public
  3871.     constructor Create(AOwner: TComponent); override;
  3872.     destructor  Destroy; override;
  3873.     procedure Connect; override;
  3874.     procedure ConnectTo(svrIntf: IADsPropertyValue);
  3875.     procedure Disconnect; override;
  3876.     procedure Clear;
  3877.     property  DefaultInterface: IADsPropertyValue read GetDefaultInterface;
  3878.     property OctetString: OleVariant read Get_OctetString write Set_OctetString;
  3879.     property SecurityDescriptor: IDispatch read Get_SecurityDescriptor write Set_SecurityDescriptor;
  3880.     property LargeInteger: IDispatch read Get_LargeInteger write Set_LargeInteger;
  3881.     property ADsType: Integer read Get_ADsType write Set_ADsType;
  3882.     property DNString: WideString read Get_DNString write Set_DNString;
  3883.     property CaseExactString: WideString read Get_CaseExactString write Set_CaseExactString;
  3884.     property CaseIgnoreString: WideString read Get_CaseIgnoreString write Set_CaseIgnoreString;
  3885.     property PrintableString: WideString read Get_PrintableString write Set_PrintableString;
  3886.     property NumericString: WideString read Get_NumericString write Set_NumericString;
  3887.     property Boolean: Integer read Get_Boolean write Set_Boolean;
  3888.     property Integer: Integer read Get_Integer write Set_Integer;
  3889.     property UTCTime: TDateTime read Get_UTCTime write Set_UTCTime;
  3890.   published
  3891. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  3892.     property Server: TPropertyValueProperties read GetServerProperties;
  3893. {$ENDIF}
  3894.   end;
  3895.  
  3896. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  3897. // *********************************************************************//
  3898. // OLE Server Properties Proxy Class
  3899. // Server Object    : TPropertyValue
  3900. // (This object is used by the IDE's Property Inspector to allow editing
  3901. //  of the properties of this server)
  3902. // *********************************************************************//
  3903.  TPropertyValueProperties = class(TPersistent)
  3904.   private
  3905.     FServer:    TPropertyValue;
  3906.     function    GetDefaultInterface: IADsPropertyValue;
  3907.     constructor Create(AServer: TPropertyValue);
  3908.   protected
  3909.     function  Get_ADsType: Integer;
  3910.     procedure Set_ADsType(retval: Integer);
  3911.     function  Get_DNString: WideString;
  3912.     procedure Set_DNString(const retval: WideString);
  3913.     function  Get_CaseExactString: WideString;
  3914.     procedure Set_CaseExactString(const retval: WideString);
  3915.     function  Get_CaseIgnoreString: WideString;
  3916.     procedure Set_CaseIgnoreString(const retval: WideString);
  3917.     function  Get_PrintableString: WideString;
  3918.     procedure Set_PrintableString(const retval: WideString);
  3919.     function  Get_NumericString: WideString;
  3920.     procedure Set_NumericString(const retval: WideString);
  3921.     function  Get_Boolean: Integer;
  3922.     procedure Set_Boolean(retval: Integer);
  3923.     function  Get_Integer: Integer;
  3924.     procedure Set_Integer(retval: Integer);
  3925.     function  Get_OctetString: OleVariant;
  3926.     procedure Set_OctetString(retval: OleVariant);
  3927.     function  Get_SecurityDescriptor: IDispatch;
  3928.     procedure Set_SecurityDescriptor(const retval: IDispatch);
  3929.     function  Get_LargeInteger: IDispatch;
  3930.     procedure Set_LargeInteger(const retval: IDispatch);
  3931.     function  Get_UTCTime: TDateTime;
  3932.     procedure Set_UTCTime(retval: TDateTime);
  3933.   public
  3934.     property DefaultInterface: IADsPropertyValue read GetDefaultInterface;
  3935.   published
  3936.     property ADsType: Integer read Get_ADsType write Set_ADsType;
  3937.     property DNString: WideString read Get_DNString write Set_DNString;
  3938.     property CaseExactString: WideString read Get_CaseExactString write Set_CaseExactString;
  3939.     property CaseIgnoreString: WideString read Get_CaseIgnoreString write Set_CaseIgnoreString;
  3940.     property PrintableString: WideString read Get_PrintableString write Set_PrintableString;
  3941.     property NumericString: WideString read Get_NumericString write Set_NumericString;
  3942.     property Boolean: Integer read Get_Boolean write Set_Boolean;
  3943.     property Integer: Integer read Get_Integer write Set_Integer;
  3944.     property UTCTime: TDateTime read Get_UTCTime write Set_UTCTime;
  3945.   end;
  3946. {$ENDIF}
  3947.  
  3948.  
  3949. // *********************************************************************//
  3950. // The Class CoAccessControlEntry provides a Create and CreateRemote method to          
  3951. // create instances of the default interface IADsAccessControlEntry exposed by              
  3952. // the CoClass AccessControlEntry. The functions are intended to be used by             
  3953. // clients wishing to automate the CoClass objects exposed by the         
  3954. // server of this typelibrary.                                            
  3955. // *********************************************************************//
  3956.   CoAccessControlEntry = class
  3957.     class function Create: IADsAccessControlEntry;
  3958.     class function CreateRemote(const MachineName: string): IADsAccessControlEntry;
  3959.   end;
  3960.  
  3961.  
  3962. // *********************************************************************//
  3963. // OLE Server Proxy class declaration
  3964. // Server Object    : TAccessControlEntry
  3965. // Help String      : 
  3966. // Default Interface: IADsAccessControlEntry
  3967. // Def. Intf. DISP? : No
  3968. // Event   Interface: 
  3969. // TypeFlags        : (2) CanCreate
  3970. // *********************************************************************//
  3971. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  3972.   TAccessControlEntryProperties= class;
  3973. {$ENDIF}
  3974.   TAccessControlEntry = class(TOleServer)
  3975.   private
  3976.     FIntf:        IADsAccessControlEntry;
  3977. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  3978.     FProps:       TAccessControlEntryProperties;
  3979.     function      GetServerProperties: TAccessControlEntryProperties;
  3980. {$ENDIF}
  3981.     function      GetDefaultInterface: IADsAccessControlEntry;
  3982.   protected
  3983.     procedure InitServerData; override;
  3984.     function  Get_AccessMask: Integer;
  3985.     procedure Set_AccessMask(retval: Integer);
  3986.     function  Get_AceType: Integer;
  3987.     procedure Set_AceType(retval: Integer);
  3988.     function  Get_AceFlags: Integer;
  3989.     procedure Set_AceFlags(retval: Integer);
  3990.     function  Get_Flags: Integer;
  3991.     procedure Set_Flags(retval: Integer);
  3992.     function  Get_ObjectType: WideString;
  3993.     procedure Set_ObjectType(const retval: WideString);
  3994.     function  Get_InheritedObjectType: WideString;
  3995.     procedure Set_InheritedObjectType(const retval: WideString);
  3996.     function  Get_Trustee: WideString;
  3997.     procedure Set_Trustee(const retval: WideString);
  3998.   public
  3999.     constructor Create(AOwner: TComponent); override;
  4000.     destructor  Destroy; override;
  4001.     procedure Connect; override;
  4002.     procedure ConnectTo(svrIntf: IADsAccessControlEntry);
  4003.     procedure Disconnect; override;
  4004.     property  DefaultInterface: IADsAccessControlEntry read GetDefaultInterface;
  4005.     property AccessMask: Integer read Get_AccessMask write Set_AccessMask;
  4006.     property AceType: Integer read Get_AceType write Set_AceType;
  4007.     property AceFlags: Integer read Get_AceFlags write Set_AceFlags;
  4008.     property Flags: Integer read Get_Flags write Set_Flags;
  4009.     property ObjectType: WideString read Get_ObjectType write Set_ObjectType;
  4010.     property InheritedObjectType: WideString read Get_InheritedObjectType write Set_InheritedObjectType;
  4011.     property Trustee: WideString read Get_Trustee write Set_Trustee;
  4012.   published
  4013. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4014.     property Server: TAccessControlEntryProperties read GetServerProperties;
  4015. {$ENDIF}
  4016.   end;
  4017.  
  4018. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4019. // *********************************************************************//
  4020. // OLE Server Properties Proxy Class
  4021. // Server Object    : TAccessControlEntry
  4022. // (This object is used by the IDE's Property Inspector to allow editing
  4023. //  of the properties of this server)
  4024. // *********************************************************************//
  4025.  TAccessControlEntryProperties = class(TPersistent)
  4026.   private
  4027.     FServer:    TAccessControlEntry;
  4028.     function    GetDefaultInterface: IADsAccessControlEntry;
  4029.     constructor Create(AServer: TAccessControlEntry);
  4030.   protected
  4031.     function  Get_AccessMask: Integer;
  4032.     procedure Set_AccessMask(retval: Integer);
  4033.     function  Get_AceType: Integer;
  4034.     procedure Set_AceType(retval: Integer);
  4035.     function  Get_AceFlags: Integer;
  4036.     procedure Set_AceFlags(retval: Integer);
  4037.     function  Get_Flags: Integer;
  4038.     procedure Set_Flags(retval: Integer);
  4039.     function  Get_ObjectType: WideString;
  4040.     procedure Set_ObjectType(const retval: WideString);
  4041.     function  Get_InheritedObjectType: WideString;
  4042.     procedure Set_InheritedObjectType(const retval: WideString);
  4043.     function  Get_Trustee: WideString;
  4044.     procedure Set_Trustee(const retval: WideString);
  4045.   public
  4046.     property DefaultInterface: IADsAccessControlEntry read GetDefaultInterface;
  4047.   published
  4048.     property AccessMask: Integer read Get_AccessMask write Set_AccessMask;
  4049.     property AceType: Integer read Get_AceType write Set_AceType;
  4050.     property AceFlags: Integer read Get_AceFlags write Set_AceFlags;
  4051.     property Flags: Integer read Get_Flags write Set_Flags;
  4052.     property ObjectType: WideString read Get_ObjectType write Set_ObjectType;
  4053.     property InheritedObjectType: WideString read Get_InheritedObjectType write Set_InheritedObjectType;
  4054.     property Trustee: WideString read Get_Trustee write Set_Trustee;
  4055.   end;
  4056. {$ENDIF}
  4057.  
  4058.  
  4059. // *********************************************************************//
  4060. // The Class CoAccessControlList provides a Create and CreateRemote method to          
  4061. // create instances of the default interface IADsAccessControlList exposed by              
  4062. // the CoClass AccessControlList. The functions are intended to be used by             
  4063. // clients wishing to automate the CoClass objects exposed by the         
  4064. // server of this typelibrary.                                            
  4065. // *********************************************************************//
  4066.   CoAccessControlList = class
  4067.     class function Create: IADsAccessControlList;
  4068.     class function CreateRemote(const MachineName: string): IADsAccessControlList;
  4069.   end;
  4070.  
  4071.  
  4072. // *********************************************************************//
  4073. // OLE Server Proxy class declaration
  4074. // Server Object    : TAccessControlList
  4075. // Help String      : 
  4076. // Default Interface: IADsAccessControlList
  4077. // Def. Intf. DISP? : No
  4078. // Event   Interface: 
  4079. // TypeFlags        : (2) CanCreate
  4080. // *********************************************************************//
  4081. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4082.   TAccessControlListProperties= class;
  4083. {$ENDIF}
  4084.   TAccessControlList = class(TOleServer)
  4085.   private
  4086.     FIntf:        IADsAccessControlList;
  4087. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4088.     FProps:       TAccessControlListProperties;
  4089.     function      GetServerProperties: TAccessControlListProperties;
  4090. {$ENDIF}
  4091.     function      GetDefaultInterface: IADsAccessControlList;
  4092.   protected
  4093.     procedure InitServerData; override;
  4094.     function  Get_AclRevision: Integer;
  4095.     procedure Set_AclRevision(retval: Integer);
  4096.     function  Get_AceCount: Integer;
  4097.     procedure Set_AceCount(retval: Integer);
  4098.   public
  4099.     constructor Create(AOwner: TComponent); override;
  4100.     destructor  Destroy; override;
  4101.     procedure Connect; override;
  4102.     procedure ConnectTo(svrIntf: IADsAccessControlList);
  4103.     procedure Disconnect; override;
  4104.     procedure AddAce(const pAccessControlEntry: IDispatch);
  4105.     procedure RemoveAce(const pAccessControlEntry: IDispatch);
  4106.     function  CopyAccessList: IDispatch;
  4107.     property  DefaultInterface: IADsAccessControlList read GetDefaultInterface;
  4108.     property AclRevision: Integer read Get_AclRevision write Set_AclRevision;
  4109.     property AceCount: Integer read Get_AceCount write Set_AceCount;
  4110.   published
  4111. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4112.     property Server: TAccessControlListProperties read GetServerProperties;
  4113. {$ENDIF}
  4114.   end;
  4115.  
  4116. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4117. // *********************************************************************//
  4118. // OLE Server Properties Proxy Class
  4119. // Server Object    : TAccessControlList
  4120. // (This object is used by the IDE's Property Inspector to allow editing
  4121. //  of the properties of this server)
  4122. // *********************************************************************//
  4123.  TAccessControlListProperties = class(TPersistent)
  4124.   private
  4125.     FServer:    TAccessControlList;
  4126.     function    GetDefaultInterface: IADsAccessControlList;
  4127.     constructor Create(AServer: TAccessControlList);
  4128.   protected
  4129.     function  Get_AclRevision: Integer;
  4130.     procedure Set_AclRevision(retval: Integer);
  4131.     function  Get_AceCount: Integer;
  4132.     procedure Set_AceCount(retval: Integer);
  4133.   public
  4134.     property DefaultInterface: IADsAccessControlList read GetDefaultInterface;
  4135.   published
  4136.     property AclRevision: Integer read Get_AclRevision write Set_AclRevision;
  4137.     property AceCount: Integer read Get_AceCount write Set_AceCount;
  4138.   end;
  4139. {$ENDIF}
  4140.  
  4141.  
  4142. // *********************************************************************//
  4143. // The Class CoSecurityDescriptor provides a Create and CreateRemote method to          
  4144. // create instances of the default interface IADsSecurityDescriptor exposed by              
  4145. // the CoClass SecurityDescriptor. The functions are intended to be used by             
  4146. // clients wishing to automate the CoClass objects exposed by the         
  4147. // server of this typelibrary.                                            
  4148. // *********************************************************************//
  4149.   CoSecurityDescriptor = class
  4150.     class function Create: IADsSecurityDescriptor;
  4151.     class function CreateRemote(const MachineName: string): IADsSecurityDescriptor;
  4152.   end;
  4153.  
  4154.  
  4155. // *********************************************************************//
  4156. // OLE Server Proxy class declaration
  4157. // Server Object    : TSecurityDescriptor
  4158. // Help String      : 
  4159. // Default Interface: IADsSecurityDescriptor
  4160. // Def. Intf. DISP? : No
  4161. // Event   Interface: 
  4162. // TypeFlags        : (2) CanCreate
  4163. // *********************************************************************//
  4164. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4165.   TSecurityDescriptorProperties= class;
  4166. {$ENDIF}
  4167.   TSecurityDescriptor = class(TOleServer)
  4168.   private
  4169.     FIntf:        IADsSecurityDescriptor;
  4170. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4171.     FProps:       TSecurityDescriptorProperties;
  4172.     function      GetServerProperties: TSecurityDescriptorProperties;
  4173. {$ENDIF}
  4174.     function      GetDefaultInterface: IADsSecurityDescriptor;
  4175.   protected
  4176.     procedure InitServerData; override;
  4177.     function  Get_Revision: Integer;
  4178.     procedure Set_Revision(retval: Integer);
  4179.     function  Get_Control: Integer;
  4180.     procedure Set_Control(retval: Integer);
  4181.     function  Get_Owner: WideString;
  4182.     procedure Set_Owner(const retval: WideString);
  4183.     function  Get_OwnerDefaulted: WordBool;
  4184.     procedure Set_OwnerDefaulted(retval: WordBool);
  4185.     function  Get_Group: WideString;
  4186.     procedure Set_Group(const retval: WideString);
  4187.     function  Get_GroupDefaulted: WordBool;
  4188.     procedure Set_GroupDefaulted(retval: WordBool);
  4189.     function  Get_DiscretionaryAcl: IDispatch;
  4190.     procedure Set_DiscretionaryAcl(const retval: IDispatch);
  4191.     function  Get_DaclDefaulted: WordBool;
  4192.     procedure Set_DaclDefaulted(retval: WordBool);
  4193.     function  Get_SystemAcl: IDispatch;
  4194.     procedure Set_SystemAcl(const retval: IDispatch);
  4195.     function  Get_SaclDefaulted: WordBool;
  4196.     procedure Set_SaclDefaulted(retval: WordBool);
  4197.   public
  4198.     constructor Create(AOwner: TComponent); override;
  4199.     destructor  Destroy; override;
  4200.     procedure Connect; override;
  4201.     procedure ConnectTo(svrIntf: IADsSecurityDescriptor);
  4202.     procedure Disconnect; override;
  4203.     function  CopySecurityDescriptor: IDispatch;
  4204.     property  DefaultInterface: IADsSecurityDescriptor read GetDefaultInterface;
  4205.     property DiscretionaryAcl: IDispatch read Get_DiscretionaryAcl write Set_DiscretionaryAcl;
  4206.     property SystemAcl: IDispatch read Get_SystemAcl write Set_SystemAcl;
  4207.     property Revision: Integer read Get_Revision write Set_Revision;
  4208.     property Control: Integer read Get_Control write Set_Control;
  4209.     property Owner: WideString read Get_Owner write Set_Owner;
  4210.     property OwnerDefaulted: WordBool read Get_OwnerDefaulted write Set_OwnerDefaulted;
  4211.     property Group: WideString read Get_Group write Set_Group;
  4212.     property GroupDefaulted: WordBool read Get_GroupDefaulted write Set_GroupDefaulted;
  4213.     property DaclDefaulted: WordBool read Get_DaclDefaulted write Set_DaclDefaulted;
  4214.     property SaclDefaulted: WordBool read Get_SaclDefaulted write Set_SaclDefaulted;
  4215.   published
  4216. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4217.     property Server: TSecurityDescriptorProperties read GetServerProperties;
  4218. {$ENDIF}
  4219.   end;
  4220.  
  4221. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4222. // *********************************************************************//
  4223. // OLE Server Properties Proxy Class
  4224. // Server Object    : TSecurityDescriptor
  4225. // (This object is used by the IDE's Property Inspector to allow editing
  4226. //  of the properties of this server)
  4227. // *********************************************************************//
  4228.  TSecurityDescriptorProperties = class(TPersistent)
  4229.   private
  4230.     FServer:    TSecurityDescriptor;
  4231.     function    GetDefaultInterface: IADsSecurityDescriptor;
  4232.     constructor Create(AServer: TSecurityDescriptor);
  4233.   protected
  4234.     function  Get_Revision: Integer;
  4235.     procedure Set_Revision(retval: Integer);
  4236.     function  Get_Control: Integer;
  4237.     procedure Set_Control(retval: Integer);
  4238.     function  Get_Owner: WideString;
  4239.     procedure Set_Owner(const retval: WideString);
  4240.     function  Get_OwnerDefaulted: WordBool;
  4241.     procedure Set_OwnerDefaulted(retval: WordBool);
  4242.     function  Get_Group: WideString;
  4243.     procedure Set_Group(const retval: WideString);
  4244.     function  Get_GroupDefaulted: WordBool;
  4245.     procedure Set_GroupDefaulted(retval: WordBool);
  4246.     function  Get_DiscretionaryAcl: IDispatch;
  4247.     procedure Set_DiscretionaryAcl(const retval: IDispatch);
  4248.     function  Get_DaclDefaulted: WordBool;
  4249.     procedure Set_DaclDefaulted(retval: WordBool);
  4250.     function  Get_SystemAcl: IDispatch;
  4251.     procedure Set_SystemAcl(const retval: IDispatch);
  4252.     function  Get_SaclDefaulted: WordBool;
  4253.     procedure Set_SaclDefaulted(retval: WordBool);
  4254.   public
  4255.     property DefaultInterface: IADsSecurityDescriptor read GetDefaultInterface;
  4256.   published
  4257.     property Revision: Integer read Get_Revision write Set_Revision;
  4258.     property Control: Integer read Get_Control write Set_Control;
  4259.     property Owner: WideString read Get_Owner write Set_Owner;
  4260.     property OwnerDefaulted: WordBool read Get_OwnerDefaulted write Set_OwnerDefaulted;
  4261.     property Group: WideString read Get_Group write Set_Group;
  4262.     property GroupDefaulted: WordBool read Get_GroupDefaulted write Set_GroupDefaulted;
  4263.     property DaclDefaulted: WordBool read Get_DaclDefaulted write Set_DaclDefaulted;
  4264.     property SaclDefaulted: WordBool read Get_SaclDefaulted write Set_SaclDefaulted;
  4265.   end;
  4266. {$ENDIF}
  4267.  
  4268.  
  4269. // *********************************************************************//
  4270. // The Class CoLargeInteger provides a Create and CreateRemote method to          
  4271. // create instances of the default interface IADsLargeInteger exposed by              
  4272. // the CoClass LargeInteger. The functions are intended to be used by             
  4273. // clients wishing to automate the CoClass objects exposed by the         
  4274. // server of this typelibrary.                                            
  4275. // *********************************************************************//
  4276.   CoLargeInteger = class
  4277.     class function Create: IADsLargeInteger;
  4278.     class function CreateRemote(const MachineName: string): IADsLargeInteger;
  4279.   end;
  4280.  
  4281.  
  4282. // *********************************************************************//
  4283. // OLE Server Proxy class declaration
  4284. // Server Object    : TLargeInteger
  4285. // Help String      : 
  4286. // Default Interface: IADsLargeInteger
  4287. // Def. Intf. DISP? : No
  4288. // Event   Interface: 
  4289. // TypeFlags        : (2) CanCreate
  4290. // *********************************************************************//
  4291. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4292.   TLargeIntegerProperties= class;
  4293. {$ENDIF}
  4294.   TLargeInteger = class(TOleServer)
  4295.   private
  4296.     FIntf:        IADsLargeInteger;
  4297. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4298.     FProps:       TLargeIntegerProperties;
  4299.     function      GetServerProperties: TLargeIntegerProperties;
  4300. {$ENDIF}
  4301.     function      GetDefaultInterface: IADsLargeInteger;
  4302.   protected
  4303.     procedure InitServerData; override;
  4304.     function  Get_HighPart: Integer;
  4305.     procedure Set_HighPart(retval: Integer);
  4306.     function  Get_LowPart: Integer;
  4307.     procedure Set_LowPart(retval: Integer);
  4308.   public
  4309.     constructor Create(AOwner: TComponent); override;
  4310.     destructor  Destroy; override;
  4311.     procedure Connect; override;
  4312.     procedure ConnectTo(svrIntf: IADsLargeInteger);
  4313.     procedure Disconnect; override;
  4314.     property  DefaultInterface: IADsLargeInteger read GetDefaultInterface;
  4315.     property HighPart: Integer read Get_HighPart write Set_HighPart;
  4316.     property LowPart: Integer read Get_LowPart write Set_LowPart;
  4317.   published
  4318. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4319.     property Server: TLargeIntegerProperties read GetServerProperties;
  4320. {$ENDIF}
  4321.   end;
  4322.  
  4323. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4324. // *********************************************************************//
  4325. // OLE Server Properties Proxy Class
  4326. // Server Object    : TLargeInteger
  4327. // (This object is used by the IDE's Property Inspector to allow editing
  4328. //  of the properties of this server)
  4329. // *********************************************************************//
  4330.  TLargeIntegerProperties = class(TPersistent)
  4331.   private
  4332.     FServer:    TLargeInteger;
  4333.     function    GetDefaultInterface: IADsLargeInteger;
  4334.     constructor Create(AServer: TLargeInteger);
  4335.   protected
  4336.     function  Get_HighPart: Integer;
  4337.     procedure Set_HighPart(retval: Integer);
  4338.     function  Get_LowPart: Integer;
  4339.     procedure Set_LowPart(retval: Integer);
  4340.   public
  4341.     property DefaultInterface: IADsLargeInteger read GetDefaultInterface;
  4342.   published
  4343.     property HighPart: Integer read Get_HighPart write Set_HighPart;
  4344.     property LowPart: Integer read Get_LowPart write Set_LowPart;
  4345.   end;
  4346. {$ENDIF}
  4347.  
  4348.  
  4349. // *********************************************************************//
  4350. // The Class CoNameTranslate provides a Create and CreateRemote method to          
  4351. // create instances of the default interface IADsNameTranslate exposed by              
  4352. // the CoClass NameTranslate. The functions are intended to be used by             
  4353. // clients wishing to automate the CoClass objects exposed by the         
  4354. // server of this typelibrary.                                            
  4355. // *********************************************************************//
  4356.   CoNameTranslate = class
  4357.     class function Create: IADsNameTranslate;
  4358.     class function CreateRemote(const MachineName: string): IADsNameTranslate;
  4359.   end;
  4360.  
  4361.  
  4362. // *********************************************************************//
  4363. // OLE Server Proxy class declaration
  4364. // Server Object    : TNameTranslate
  4365. // Help String      : 
  4366. // Default Interface: IADsNameTranslate
  4367. // Def. Intf. DISP? : No
  4368. // Event   Interface: 
  4369. // TypeFlags        : (2) CanCreate
  4370. // *********************************************************************//
  4371. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4372.   TNameTranslateProperties= class;
  4373. {$ENDIF}
  4374.   TNameTranslate = class(TOleServer)
  4375.   private
  4376.     FIntf:        IADsNameTranslate;
  4377. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4378.     FProps:       TNameTranslateProperties;
  4379.     function      GetServerProperties: TNameTranslateProperties;
  4380. {$ENDIF}
  4381.     function      GetDefaultInterface: IADsNameTranslate;
  4382.   protected
  4383.     procedure InitServerData; override;
  4384.     procedure Set_ChaseReferral(Param1: Integer);
  4385.   public
  4386.     constructor Create(AOwner: TComponent); override;
  4387.     destructor  Destroy; override;
  4388.     procedure Connect; override;
  4389.     procedure ConnectTo(svrIntf: IADsNameTranslate);
  4390.     procedure Disconnect; override;
  4391.     procedure Init(lnSetType: Integer; const bstrADsPath: WideString);
  4392.     procedure InitEx(lnSetType: Integer; const bstrADsPath: WideString; 
  4393.                      const bstrUserID: WideString; const bstrDomain: WideString; 
  4394.                      const bstrPassword: WideString);
  4395.     procedure Set_(lnSetType: Integer; const bstrADsPath: WideString);
  4396.     function  Get(lnFormatType: Integer): WideString;
  4397.     procedure SetEx(lnFormatType: Integer; pVar: OleVariant);
  4398.     function  GetEx(lnFormatType: Integer): OleVariant;
  4399.     property  DefaultInterface: IADsNameTranslate read GetDefaultInterface;
  4400.     property ChaseReferral: Integer write Set_ChaseReferral;
  4401.   published
  4402. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4403.     property Server: TNameTranslateProperties read GetServerProperties;
  4404. {$ENDIF}
  4405.   end;
  4406.  
  4407. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4408. // *********************************************************************//
  4409. // OLE Server Properties Proxy Class
  4410. // Server Object    : TNameTranslate
  4411. // (This object is used by the IDE's Property Inspector to allow editing
  4412. //  of the properties of this server)
  4413. // *********************************************************************//
  4414.  TNameTranslateProperties = class(TPersistent)
  4415.   private
  4416.     FServer:    TNameTranslate;
  4417.     function    GetDefaultInterface: IADsNameTranslate;
  4418.     constructor Create(AServer: TNameTranslate);
  4419.   protected
  4420.     procedure Set_ChaseReferral(Param1: Integer);
  4421.   public
  4422.     property DefaultInterface: IADsNameTranslate read GetDefaultInterface;
  4423.   published
  4424.   end;
  4425. {$ENDIF}
  4426.  
  4427.  
  4428. // *********************************************************************//
  4429. // The Class CoCaseIgnoreList provides a Create and CreateRemote method to          
  4430. // create instances of the default interface IADsCaseIgnoreList exposed by              
  4431. // the CoClass CaseIgnoreList. The functions are intended to be used by             
  4432. // clients wishing to automate the CoClass objects exposed by the         
  4433. // server of this typelibrary.                                            
  4434. // *********************************************************************//
  4435.   CoCaseIgnoreList = class
  4436.     class function Create: IADsCaseIgnoreList;
  4437.     class function CreateRemote(const MachineName: string): IADsCaseIgnoreList;
  4438.   end;
  4439.  
  4440.  
  4441. // *********************************************************************//
  4442. // OLE Server Proxy class declaration
  4443. // Server Object    : TCaseIgnoreList
  4444. // Help String      : 
  4445. // Default Interface: IADsCaseIgnoreList
  4446. // Def. Intf. DISP? : No
  4447. // Event   Interface: 
  4448. // TypeFlags        : (2) CanCreate
  4449. // *********************************************************************//
  4450. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4451.   TCaseIgnoreListProperties= class;
  4452. {$ENDIF}
  4453.   TCaseIgnoreList = class(TOleServer)
  4454.   private
  4455.     FIntf:        IADsCaseIgnoreList;
  4456. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4457.     FProps:       TCaseIgnoreListProperties;
  4458.     function      GetServerProperties: TCaseIgnoreListProperties;
  4459. {$ENDIF}
  4460.     function      GetDefaultInterface: IADsCaseIgnoreList;
  4461.   protected
  4462.     procedure InitServerData; override;
  4463.     function  Get_CaseIgnoreList: OleVariant;
  4464.     procedure Set_CaseIgnoreList(retval: OleVariant);
  4465.   public
  4466.     constructor Create(AOwner: TComponent); override;
  4467.     destructor  Destroy; override;
  4468.     procedure Connect; override;
  4469.     procedure ConnectTo(svrIntf: IADsCaseIgnoreList);
  4470.     procedure Disconnect; override;
  4471.     property  DefaultInterface: IADsCaseIgnoreList read GetDefaultInterface;
  4472.     property CaseIgnoreList: OleVariant read Get_CaseIgnoreList write Set_CaseIgnoreList;
  4473.   published
  4474. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4475.     property Server: TCaseIgnoreListProperties read GetServerProperties;
  4476. {$ENDIF}
  4477.   end;
  4478.  
  4479. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4480. // *********************************************************************//
  4481. // OLE Server Properties Proxy Class
  4482. // Server Object    : TCaseIgnoreList
  4483. // (This object is used by the IDE's Property Inspector to allow editing
  4484. //  of the properties of this server)
  4485. // *********************************************************************//
  4486.  TCaseIgnoreListProperties = class(TPersistent)
  4487.   private
  4488.     FServer:    TCaseIgnoreList;
  4489.     function    GetDefaultInterface: IADsCaseIgnoreList;
  4490.     constructor Create(AServer: TCaseIgnoreList);
  4491.   protected
  4492.     function  Get_CaseIgnoreList: OleVariant;
  4493.     procedure Set_CaseIgnoreList(retval: OleVariant);
  4494.   public
  4495.     property DefaultInterface: IADsCaseIgnoreList read GetDefaultInterface;
  4496.   published
  4497.   end;
  4498. {$ENDIF}
  4499.  
  4500.  
  4501. // *********************************************************************//
  4502. // The Class CoFaxNumber provides a Create and CreateRemote method to          
  4503. // create instances of the default interface IADsFaxNumber exposed by              
  4504. // the CoClass FaxNumber. The functions are intended to be used by             
  4505. // clients wishing to automate the CoClass objects exposed by the         
  4506. // server of this typelibrary.                                            
  4507. // *********************************************************************//
  4508.   CoFaxNumber = class
  4509.     class function Create: IADsFaxNumber;
  4510.     class function CreateRemote(const MachineName: string): IADsFaxNumber;
  4511.   end;
  4512.  
  4513.  
  4514. // *********************************************************************//
  4515. // OLE Server Proxy class declaration
  4516. // Server Object    : TFaxNumber
  4517. // Help String      : 
  4518. // Default Interface: IADsFaxNumber
  4519. // Def. Intf. DISP? : No
  4520. // Event   Interface: 
  4521. // TypeFlags        : (2) CanCreate
  4522. // *********************************************************************//
  4523. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4524.   TFaxNumberProperties= class;
  4525. {$ENDIF}
  4526.   TFaxNumber = class(TOleServer)
  4527.   private
  4528.     FIntf:        IADsFaxNumber;
  4529. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4530.     FProps:       TFaxNumberProperties;
  4531.     function      GetServerProperties: TFaxNumberProperties;
  4532. {$ENDIF}
  4533.     function      GetDefaultInterface: IADsFaxNumber;
  4534.   protected
  4535.     procedure InitServerData; override;
  4536.     function  Get_TelephoneNumber: WideString;
  4537.     procedure Set_TelephoneNumber(const retval: WideString);
  4538.     function  Get_Parameters: OleVariant;
  4539.     procedure Set_Parameters(retval: OleVariant);
  4540.   public
  4541.     constructor Create(AOwner: TComponent); override;
  4542.     destructor  Destroy; override;
  4543.     procedure Connect; override;
  4544.     procedure ConnectTo(svrIntf: IADsFaxNumber);
  4545.     procedure Disconnect; override;
  4546.     property  DefaultInterface: IADsFaxNumber read GetDefaultInterface;
  4547.     property Parameters: OleVariant read Get_Parameters write Set_Parameters;
  4548.     property TelephoneNumber: WideString read Get_TelephoneNumber write Set_TelephoneNumber;
  4549.   published
  4550. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4551.     property Server: TFaxNumberProperties read GetServerProperties;
  4552. {$ENDIF}
  4553.   end;
  4554.  
  4555. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4556. // *********************************************************************//
  4557. // OLE Server Properties Proxy Class
  4558. // Server Object    : TFaxNumber
  4559. // (This object is used by the IDE's Property Inspector to allow editing
  4560. //  of the properties of this server)
  4561. // *********************************************************************//
  4562.  TFaxNumberProperties = class(TPersistent)
  4563.   private
  4564.     FServer:    TFaxNumber;
  4565.     function    GetDefaultInterface: IADsFaxNumber;
  4566.     constructor Create(AServer: TFaxNumber);
  4567.   protected
  4568.     function  Get_TelephoneNumber: WideString;
  4569.     procedure Set_TelephoneNumber(const retval: WideString);
  4570.     function  Get_Parameters: OleVariant;
  4571.     procedure Set_Parameters(retval: OleVariant);
  4572.   public
  4573.     property DefaultInterface: IADsFaxNumber read GetDefaultInterface;
  4574.   published
  4575.     property TelephoneNumber: WideString read Get_TelephoneNumber write Set_TelephoneNumber;
  4576.   end;
  4577. {$ENDIF}
  4578.  
  4579.  
  4580. // *********************************************************************//
  4581. // The Class CoNetAddress provides a Create and CreateRemote method to          
  4582. // create instances of the default interface IADsNetAddress exposed by              
  4583. // the CoClass NetAddress. The functions are intended to be used by             
  4584. // clients wishing to automate the CoClass objects exposed by the         
  4585. // server of this typelibrary.                                            
  4586. // *********************************************************************//
  4587.   CoNetAddress = class
  4588.     class function Create: IADsNetAddress;
  4589.     class function CreateRemote(const MachineName: string): IADsNetAddress;
  4590.   end;
  4591.  
  4592.  
  4593. // *********************************************************************//
  4594. // OLE Server Proxy class declaration
  4595. // Server Object    : TNetAddress
  4596. // Help String      : 
  4597. // Default Interface: IADsNetAddress
  4598. // Def. Intf. DISP? : No
  4599. // Event   Interface: 
  4600. // TypeFlags        : (2) CanCreate
  4601. // *********************************************************************//
  4602. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4603.   TNetAddressProperties= class;
  4604. {$ENDIF}
  4605.   TNetAddress = class(TOleServer)
  4606.   private
  4607.     FIntf:        IADsNetAddress;
  4608. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4609.     FProps:       TNetAddressProperties;
  4610.     function      GetServerProperties: TNetAddressProperties;
  4611. {$ENDIF}
  4612.     function      GetDefaultInterface: IADsNetAddress;
  4613.   protected
  4614.     procedure InitServerData; override;
  4615.     function  Get_AddressType: Integer;
  4616.     procedure Set_AddressType(retval: Integer);
  4617.     function  Get_Address: OleVariant;
  4618.     procedure Set_Address(retval: OleVariant);
  4619.   public
  4620.     constructor Create(AOwner: TComponent); override;
  4621.     destructor  Destroy; override;
  4622.     procedure Connect; override;
  4623.     procedure ConnectTo(svrIntf: IADsNetAddress);
  4624.     procedure Disconnect; override;
  4625.     property  DefaultInterface: IADsNetAddress read GetDefaultInterface;
  4626.     property Address: OleVariant read Get_Address write Set_Address;
  4627.     property AddressType: Integer read Get_AddressType write Set_AddressType;
  4628.   published
  4629. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4630.     property Server: TNetAddressProperties read GetServerProperties;
  4631. {$ENDIF}
  4632.   end;
  4633.  
  4634. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4635. // *********************************************************************//
  4636. // OLE Server Properties Proxy Class
  4637. // Server Object    : TNetAddress
  4638. // (This object is used by the IDE's Property Inspector to allow editing
  4639. //  of the properties of this server)
  4640. // *********************************************************************//
  4641.  TNetAddressProperties = class(TPersistent)
  4642.   private
  4643.     FServer:    TNetAddress;
  4644.     function    GetDefaultInterface: IADsNetAddress;
  4645.     constructor Create(AServer: TNetAddress);
  4646.   protected
  4647.     function  Get_AddressType: Integer;
  4648.     procedure Set_AddressType(retval: Integer);
  4649.     function  Get_Address: OleVariant;
  4650.     procedure Set_Address(retval: OleVariant);
  4651.   public
  4652.     property DefaultInterface: IADsNetAddress read GetDefaultInterface;
  4653.   published
  4654.     property AddressType: Integer read Get_AddressType write Set_AddressType;
  4655.   end;
  4656. {$ENDIF}
  4657.  
  4658.  
  4659. // *********************************************************************//
  4660. // The Class CoOctetList provides a Create and CreateRemote method to          
  4661. // create instances of the default interface IADsOctetList exposed by              
  4662. // the CoClass OctetList. The functions are intended to be used by             
  4663. // clients wishing to automate the CoClass objects exposed by the         
  4664. // server of this typelibrary.                                            
  4665. // *********************************************************************//
  4666.   CoOctetList = class
  4667.     class function Create: IADsOctetList;
  4668.     class function CreateRemote(const MachineName: string): IADsOctetList;
  4669.   end;
  4670.  
  4671.  
  4672. // *********************************************************************//
  4673. // OLE Server Proxy class declaration
  4674. // Server Object    : TOctetList
  4675. // Help String      : 
  4676. // Default Interface: IADsOctetList
  4677. // Def. Intf. DISP? : No
  4678. // Event   Interface: 
  4679. // TypeFlags        : (2) CanCreate
  4680. // *********************************************************************//
  4681. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4682.   TOctetListProperties= class;
  4683. {$ENDIF}
  4684.   TOctetList = class(TOleServer)
  4685.   private
  4686.     FIntf:        IADsOctetList;
  4687. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4688.     FProps:       TOctetListProperties;
  4689.     function      GetServerProperties: TOctetListProperties;
  4690. {$ENDIF}
  4691.     function      GetDefaultInterface: IADsOctetList;
  4692.   protected
  4693.     procedure InitServerData; override;
  4694.     function  Get_OctetList: OleVariant;
  4695.     procedure Set_OctetList(retval: OleVariant);
  4696.   public
  4697.     constructor Create(AOwner: TComponent); override;
  4698.     destructor  Destroy; override;
  4699.     procedure Connect; override;
  4700.     procedure ConnectTo(svrIntf: IADsOctetList);
  4701.     procedure Disconnect; override;
  4702.     property  DefaultInterface: IADsOctetList read GetDefaultInterface;
  4703.     property OctetList: OleVariant read Get_OctetList write Set_OctetList;
  4704.   published
  4705. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4706.     property Server: TOctetListProperties read GetServerProperties;
  4707. {$ENDIF}
  4708.   end;
  4709.  
  4710. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4711. // *********************************************************************//
  4712. // OLE Server Properties Proxy Class
  4713. // Server Object    : TOctetList
  4714. // (This object is used by the IDE's Property Inspector to allow editing
  4715. //  of the properties of this server)
  4716. // *********************************************************************//
  4717.  TOctetListProperties = class(TPersistent)
  4718.   private
  4719.     FServer:    TOctetList;
  4720.     function    GetDefaultInterface: IADsOctetList;
  4721.     constructor Create(AServer: TOctetList);
  4722.   protected
  4723.     function  Get_OctetList: OleVariant;
  4724.     procedure Set_OctetList(retval: OleVariant);
  4725.   public
  4726.     property DefaultInterface: IADsOctetList read GetDefaultInterface;
  4727.   published
  4728.   end;
  4729. {$ENDIF}
  4730.  
  4731.  
  4732. // *********************************************************************//
  4733. // The Class CoEmail provides a Create and CreateRemote method to          
  4734. // create instances of the default interface IADsEmail exposed by              
  4735. // the CoClass Email. The functions are intended to be used by             
  4736. // clients wishing to automate the CoClass objects exposed by the         
  4737. // server of this typelibrary.                                            
  4738. // *********************************************************************//
  4739.   CoEmail = class
  4740.     class function Create: IADsEmail;
  4741.     class function CreateRemote(const MachineName: string): IADsEmail;
  4742.   end;
  4743.  
  4744.  
  4745. // *********************************************************************//
  4746. // OLE Server Proxy class declaration
  4747. // Server Object    : TEmail
  4748. // Help String      : 
  4749. // Default Interface: IADsEmail
  4750. // Def. Intf. DISP? : No
  4751. // Event   Interface: 
  4752. // TypeFlags        : (2) CanCreate
  4753. // *********************************************************************//
  4754. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4755.   TEmailProperties= class;
  4756. {$ENDIF}
  4757.   TEmail = class(TOleServer)
  4758.   private
  4759.     FIntf:        IADsEmail;
  4760. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4761.     FProps:       TEmailProperties;
  4762.     function      GetServerProperties: TEmailProperties;
  4763. {$ENDIF}
  4764.     function      GetDefaultInterface: IADsEmail;
  4765.   protected
  4766.     procedure InitServerData; override;
  4767.     function  Get_Type_: Integer;
  4768.     procedure Set_Type_(retval: Integer);
  4769.     function  Get_Address: WideString;
  4770.     procedure Set_Address(const retval: WideString);
  4771.   public
  4772.     constructor Create(AOwner: TComponent); override;
  4773.     destructor  Destroy; override;
  4774.     procedure Connect; override;
  4775.     procedure ConnectTo(svrIntf: IADsEmail);
  4776.     procedure Disconnect; override;
  4777.     property  DefaultInterface: IADsEmail read GetDefaultInterface;
  4778.     property Type_: Integer read Get_Type_ write Set_Type_;
  4779.     property Address: WideString read Get_Address write Set_Address;
  4780.   published
  4781. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4782.     property Server: TEmailProperties read GetServerProperties;
  4783. {$ENDIF}
  4784.   end;
  4785.  
  4786. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4787. // *********************************************************************//
  4788. // OLE Server Properties Proxy Class
  4789. // Server Object    : TEmail
  4790. // (This object is used by the IDE's Property Inspector to allow editing
  4791. //  of the properties of this server)
  4792. // *********************************************************************//
  4793.  TEmailProperties = class(TPersistent)
  4794.   private
  4795.     FServer:    TEmail;
  4796.     function    GetDefaultInterface: IADsEmail;
  4797.     constructor Create(AServer: TEmail);
  4798.   protected
  4799.     function  Get_Type_: Integer;
  4800.     procedure Set_Type_(retval: Integer);
  4801.     function  Get_Address: WideString;
  4802.     procedure Set_Address(const retval: WideString);
  4803.   public
  4804.     property DefaultInterface: IADsEmail read GetDefaultInterface;
  4805.   published
  4806.     property Type_: Integer read Get_Type_ write Set_Type_;
  4807.     property Address: WideString read Get_Address write Set_Address;
  4808.   end;
  4809. {$ENDIF}
  4810.  
  4811.  
  4812. // *********************************************************************//
  4813. // The Class CoPath provides a Create and CreateRemote method to          
  4814. // create instances of the default interface IADsPath exposed by              
  4815. // the CoClass Path. The functions are intended to be used by             
  4816. // clients wishing to automate the CoClass objects exposed by the         
  4817. // server of this typelibrary.                                            
  4818. // *********************************************************************//
  4819.   CoPath = class
  4820.     class function Create: IADsPath;
  4821.     class function CreateRemote(const MachineName: string): IADsPath;
  4822.   end;
  4823.  
  4824.  
  4825. // *********************************************************************//
  4826. // OLE Server Proxy class declaration
  4827. // Server Object    : TPath
  4828. // Help String      : 
  4829. // Default Interface: IADsPath
  4830. // Def. Intf. DISP? : No
  4831. // Event   Interface: 
  4832. // TypeFlags        : (2) CanCreate
  4833. // *********************************************************************//
  4834. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4835.   TPathProperties= class;
  4836. {$ENDIF}
  4837.   TPath = class(TOleServer)
  4838.   private
  4839.     FIntf:        IADsPath;
  4840. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4841.     FProps:       TPathProperties;
  4842.     function      GetServerProperties: TPathProperties;
  4843. {$ENDIF}
  4844.     function      GetDefaultInterface: IADsPath;
  4845.   protected
  4846.     procedure InitServerData; override;
  4847.     function  Get_Type_: Integer;
  4848.     procedure Set_Type_(retval: Integer);
  4849.     function  Get_VolumeName: WideString;
  4850.     procedure Set_VolumeName(const retval: WideString);
  4851.     function  Get_Path: WideString;
  4852.     procedure Set_Path(const retval: WideString);
  4853.   public
  4854.     constructor Create(AOwner: TComponent); override;
  4855.     destructor  Destroy; override;
  4856.     procedure Connect; override;
  4857.     procedure ConnectTo(svrIntf: IADsPath);
  4858.     procedure Disconnect; override;
  4859.     property  DefaultInterface: IADsPath read GetDefaultInterface;
  4860.     property Type_: Integer read Get_Type_ write Set_Type_;
  4861.     property VolumeName: WideString read Get_VolumeName write Set_VolumeName;
  4862.     property Path: WideString read Get_Path write Set_Path;
  4863.   published
  4864. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4865.     property Server: TPathProperties read GetServerProperties;
  4866. {$ENDIF}
  4867.   end;
  4868.  
  4869. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4870. // *********************************************************************//
  4871. // OLE Server Properties Proxy Class
  4872. // Server Object    : TPath
  4873. // (This object is used by the IDE's Property Inspector to allow editing
  4874. //  of the properties of this server)
  4875. // *********************************************************************//
  4876.  TPathProperties = class(TPersistent)
  4877.   private
  4878.     FServer:    TPath;
  4879.     function    GetDefaultInterface: IADsPath;
  4880.     constructor Create(AServer: TPath);
  4881.   protected
  4882.     function  Get_Type_: Integer;
  4883.     procedure Set_Type_(retval: Integer);
  4884.     function  Get_VolumeName: WideString;
  4885.     procedure Set_VolumeName(const retval: WideString);
  4886.     function  Get_Path: WideString;
  4887.     procedure Set_Path(const retval: WideString);
  4888.   public
  4889.     property DefaultInterface: IADsPath read GetDefaultInterface;
  4890.   published
  4891.     property Type_: Integer read Get_Type_ write Set_Type_;
  4892.     property VolumeName: WideString read Get_VolumeName write Set_VolumeName;
  4893.     property Path: WideString read Get_Path write Set_Path;
  4894.   end;
  4895. {$ENDIF}
  4896.  
  4897.  
  4898. // *********************************************************************//
  4899. // The Class CoReplicaPointer provides a Create and CreateRemote method to          
  4900. // create instances of the default interface IADsReplicaPointer exposed by              
  4901. // the CoClass ReplicaPointer. The functions are intended to be used by             
  4902. // clients wishing to automate the CoClass objects exposed by the         
  4903. // server of this typelibrary.                                            
  4904. // *********************************************************************//
  4905.   CoReplicaPointer = class
  4906.     class function Create: IADsReplicaPointer;
  4907.     class function CreateRemote(const MachineName: string): IADsReplicaPointer;
  4908.   end;
  4909.  
  4910.  
  4911. // *********************************************************************//
  4912. // OLE Server Proxy class declaration
  4913. // Server Object    : TReplicaPointer
  4914. // Help String      : 
  4915. // Default Interface: IADsReplicaPointer
  4916. // Def. Intf. DISP? : No
  4917. // Event   Interface: 
  4918. // TypeFlags        : (2) CanCreate
  4919. // *********************************************************************//
  4920. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4921.   TReplicaPointerProperties= class;
  4922. {$ENDIF}
  4923.   TReplicaPointer = class(TOleServer)
  4924.   private
  4925.     FIntf:        IADsReplicaPointer;
  4926. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4927.     FProps:       TReplicaPointerProperties;
  4928.     function      GetServerProperties: TReplicaPointerProperties;
  4929. {$ENDIF}
  4930.     function      GetDefaultInterface: IADsReplicaPointer;
  4931.   protected
  4932.     procedure InitServerData; override;
  4933.     function  Get_ServerName: WideString;
  4934.     procedure Set_ServerName(const retval: WideString);
  4935.     function  Get_ReplicaType: Integer;
  4936.     procedure Set_ReplicaType(retval: Integer);
  4937.     function  Get_ReplicaNumber: Integer;
  4938.     procedure Set_ReplicaNumber(retval: Integer);
  4939.     function  Get_Count: Integer;
  4940.     procedure Set_Count(retval: Integer);
  4941.     function  Get_ReplicaAddressHints: OleVariant;
  4942.     procedure Set_ReplicaAddressHints(retval: OleVariant);
  4943.   public
  4944.     constructor Create(AOwner: TComponent); override;
  4945.     destructor  Destroy; override;
  4946.     procedure Connect; override;
  4947.     procedure ConnectTo(svrIntf: IADsReplicaPointer);
  4948.     procedure Disconnect; override;
  4949.     property  DefaultInterface: IADsReplicaPointer read GetDefaultInterface;
  4950.     property ReplicaAddressHints: OleVariant read Get_ReplicaAddressHints write Set_ReplicaAddressHints;
  4951.     property ServerName: WideString read Get_ServerName write Set_ServerName;
  4952.     property ReplicaType: Integer read Get_ReplicaType write Set_ReplicaType;
  4953.     property ReplicaNumber: Integer read Get_ReplicaNumber write Set_ReplicaNumber;
  4954.     property Count: Integer read Get_Count write Set_Count;
  4955.   published
  4956. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4957.     property Server: TReplicaPointerProperties read GetServerProperties;
  4958. {$ENDIF}
  4959.   end;
  4960.  
  4961. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  4962. // *********************************************************************//
  4963. // OLE Server Properties Proxy Class
  4964. // Server Object    : TReplicaPointer
  4965. // (This object is used by the IDE's Property Inspector to allow editing
  4966. //  of the properties of this server)
  4967. // *********************************************************************//
  4968.  TReplicaPointerProperties = class(TPersistent)
  4969.   private
  4970.     FServer:    TReplicaPointer;
  4971.     function    GetDefaultInterface: IADsReplicaPointer;
  4972.     constructor Create(AServer: TReplicaPointer);
  4973.   protected
  4974.     function  Get_ServerName: WideString;
  4975.     procedure Set_ServerName(const retval: WideString);
  4976.     function  Get_ReplicaType: Integer;
  4977.     procedure Set_ReplicaType(retval: Integer);
  4978.     function  Get_ReplicaNumber: Integer;
  4979.     procedure Set_ReplicaNumber(retval: Integer);
  4980.     function  Get_Count: Integer;
  4981.     procedure Set_Count(retval: Integer);
  4982.     function  Get_ReplicaAddressHints: OleVariant;
  4983.     procedure Set_ReplicaAddressHints(retval: OleVariant);
  4984.   public
  4985.     property DefaultInterface: IADsReplicaPointer read GetDefaultInterface;
  4986.   published
  4987.     property ServerName: WideString read Get_ServerName write Set_ServerName;
  4988.     property ReplicaType: Integer read Get_ReplicaType write Set_ReplicaType;
  4989.     property ReplicaNumber: Integer read Get_ReplicaNumber write Set_ReplicaNumber;
  4990.     property Count: Integer read Get_Count write Set_Count;
  4991.   end;
  4992. {$ENDIF}
  4993.  
  4994.  
  4995. // *********************************************************************//
  4996. // The Class CoAcl provides a Create and CreateRemote method to          
  4997. // create instances of the default interface IADsAcl exposed by              
  4998. // the CoClass Acl. The functions are intended to be used by             
  4999. // clients wishing to automate the CoClass objects exposed by the         
  5000. // server of this typelibrary.                                            
  5001. // *********************************************************************//
  5002.   CoAcl = class
  5003.     class function Create: IADsAcl;
  5004.     class function CreateRemote(const MachineName: string): IADsAcl;
  5005.   end;
  5006.  
  5007.  
  5008. // *********************************************************************//
  5009. // OLE Server Proxy class declaration
  5010. // Server Object    : TAcl
  5011. // Help String      : 
  5012. // Default Interface: IADsAcl
  5013. // Def. Intf. DISP? : No
  5014. // Event   Interface: 
  5015. // TypeFlags        : (2) CanCreate
  5016. // *********************************************************************//
  5017. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5018.   TAclProperties= class;
  5019. {$ENDIF}
  5020.   TAcl = class(TOleServer)
  5021.   private
  5022.     FIntf:        IADsAcl;
  5023. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5024.     FProps:       TAclProperties;
  5025.     function      GetServerProperties: TAclProperties;
  5026. {$ENDIF}
  5027.     function      GetDefaultInterface: IADsAcl;
  5028.   protected
  5029.     procedure InitServerData; override;
  5030.     function  Get_ProtectedAttrName: WideString;
  5031.     procedure Set_ProtectedAttrName(const retval: WideString);
  5032.     function  Get_SubjectName: WideString;
  5033.     procedure Set_SubjectName(const retval: WideString);
  5034.     function  Get_Privileges: Integer;
  5035.     procedure Set_Privileges(retval: Integer);
  5036.   public
  5037.     constructor Create(AOwner: TComponent); override;
  5038.     destructor  Destroy; override;
  5039.     procedure Connect; override;
  5040.     procedure ConnectTo(svrIntf: IADsAcl);
  5041.     procedure Disconnect; override;
  5042.     function  CopyAcl: IDispatch;
  5043.     property  DefaultInterface: IADsAcl read GetDefaultInterface;
  5044.     property ProtectedAttrName: WideString read Get_ProtectedAttrName write Set_ProtectedAttrName;
  5045.     property SubjectName: WideString read Get_SubjectName write Set_SubjectName;
  5046.     property Privileges: Integer read Get_Privileges write Set_Privileges;
  5047.   published
  5048. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5049.     property Server: TAclProperties read GetServerProperties;
  5050. {$ENDIF}
  5051.   end;
  5052.  
  5053. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5054. // *********************************************************************//
  5055. // OLE Server Properties Proxy Class
  5056. // Server Object    : TAcl
  5057. // (This object is used by the IDE's Property Inspector to allow editing
  5058. //  of the properties of this server)
  5059. // *********************************************************************//
  5060.  TAclProperties = class(TPersistent)
  5061.   private
  5062.     FServer:    TAcl;
  5063.     function    GetDefaultInterface: IADsAcl;
  5064.     constructor Create(AServer: TAcl);
  5065.   protected
  5066.     function  Get_ProtectedAttrName: WideString;
  5067.     procedure Set_ProtectedAttrName(const retval: WideString);
  5068.     function  Get_SubjectName: WideString;
  5069.     procedure Set_SubjectName(const retval: WideString);
  5070.     function  Get_Privileges: Integer;
  5071.     procedure Set_Privileges(retval: Integer);
  5072.   public
  5073.     property DefaultInterface: IADsAcl read GetDefaultInterface;
  5074.   published
  5075.     property ProtectedAttrName: WideString read Get_ProtectedAttrName write Set_ProtectedAttrName;
  5076.     property SubjectName: WideString read Get_SubjectName write Set_SubjectName;
  5077.     property Privileges: Integer read Get_Privileges write Set_Privileges;
  5078.   end;
  5079. {$ENDIF}
  5080.  
  5081.  
  5082. // *********************************************************************//
  5083. // The Class CoTimestamp provides a Create and CreateRemote method to          
  5084. // create instances of the default interface IADsTimestamp exposed by              
  5085. // the CoClass Timestamp. The functions are intended to be used by             
  5086. // clients wishing to automate the CoClass objects exposed by the         
  5087. // server of this typelibrary.                                            
  5088. // *********************************************************************//
  5089.   CoTimestamp = class
  5090.     class function Create: IADsTimestamp;
  5091.     class function CreateRemote(const MachineName: string): IADsTimestamp;
  5092.   end;
  5093.  
  5094.  
  5095. // *********************************************************************//
  5096. // OLE Server Proxy class declaration
  5097. // Server Object    : TTimestamp
  5098. // Help String      : 
  5099. // Default Interface: IADsTimestamp
  5100. // Def. Intf. DISP? : No
  5101. // Event   Interface: 
  5102. // TypeFlags        : (2) CanCreate
  5103. // *********************************************************************//
  5104. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5105.   TTimestampProperties= class;
  5106. {$ENDIF}
  5107.   TTimestamp = class(TOleServer)
  5108.   private
  5109.     FIntf:        IADsTimestamp;
  5110. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5111.     FProps:       TTimestampProperties;
  5112.     function      GetServerProperties: TTimestampProperties;
  5113. {$ENDIF}
  5114.     function      GetDefaultInterface: IADsTimestamp;
  5115.   protected
  5116.     procedure InitServerData; override;
  5117.     function  Get_WholeSeconds: Integer;
  5118.     procedure Set_WholeSeconds(retval: Integer);
  5119.     function  Get_EventID: Integer;
  5120.     procedure Set_EventID(retval: Integer);
  5121.   public
  5122.     constructor Create(AOwner: TComponent); override;
  5123.     destructor  Destroy; override;
  5124.     procedure Connect; override;
  5125.     procedure ConnectTo(svrIntf: IADsTimestamp);
  5126.     procedure Disconnect; override;
  5127.     property  DefaultInterface: IADsTimestamp read GetDefaultInterface;
  5128.     property WholeSeconds: Integer read Get_WholeSeconds write Set_WholeSeconds;
  5129.     property EventID: Integer read Get_EventID write Set_EventID;
  5130.   published
  5131. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5132.     property Server: TTimestampProperties read GetServerProperties;
  5133. {$ENDIF}
  5134.   end;
  5135.  
  5136. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5137. // *********************************************************************//
  5138. // OLE Server Properties Proxy Class
  5139. // Server Object    : TTimestamp
  5140. // (This object is used by the IDE's Property Inspector to allow editing
  5141. //  of the properties of this server)
  5142. // *********************************************************************//
  5143.  TTimestampProperties = class(TPersistent)
  5144.   private
  5145.     FServer:    TTimestamp;
  5146.     function    GetDefaultInterface: IADsTimestamp;
  5147.     constructor Create(AServer: TTimestamp);
  5148.   protected
  5149.     function  Get_WholeSeconds: Integer;
  5150.     procedure Set_WholeSeconds(retval: Integer);
  5151.     function  Get_EventID: Integer;
  5152.     procedure Set_EventID(retval: Integer);
  5153.   public
  5154.     property DefaultInterface: IADsTimestamp read GetDefaultInterface;
  5155.   published
  5156.     property WholeSeconds: Integer read Get_WholeSeconds write Set_WholeSeconds;
  5157.     property EventID: Integer read Get_EventID write Set_EventID;
  5158.   end;
  5159. {$ENDIF}
  5160.  
  5161.  
  5162. // *********************************************************************//
  5163. // The Class CoPostalAddress provides a Create and CreateRemote method to          
  5164. // create instances of the default interface IADsPostalAddress exposed by              
  5165. // the CoClass PostalAddress. The functions are intended to be used by             
  5166. // clients wishing to automate the CoClass objects exposed by the         
  5167. // server of this typelibrary.                                            
  5168. // *********************************************************************//
  5169.   CoPostalAddress = class
  5170.     class function Create: IADsPostalAddress;
  5171.     class function CreateRemote(const MachineName: string): IADsPostalAddress;
  5172.   end;
  5173.  
  5174.  
  5175. // *********************************************************************//
  5176. // OLE Server Proxy class declaration
  5177. // Server Object    : TPostalAddress
  5178. // Help String      : 
  5179. // Default Interface: IADsPostalAddress
  5180. // Def. Intf. DISP? : No
  5181. // Event   Interface: 
  5182. // TypeFlags        : (2) CanCreate
  5183. // *********************************************************************//
  5184. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5185.   TPostalAddressProperties= class;
  5186. {$ENDIF}
  5187.   TPostalAddress = class(TOleServer)
  5188.   private
  5189.     FIntf:        IADsPostalAddress;
  5190. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5191.     FProps:       TPostalAddressProperties;
  5192.     function      GetServerProperties: TPostalAddressProperties;
  5193. {$ENDIF}
  5194.     function      GetDefaultInterface: IADsPostalAddress;
  5195.   protected
  5196.     procedure InitServerData; override;
  5197.     function  Get_PostalAddress: OleVariant;
  5198.     procedure Set_PostalAddress(retval: OleVariant);
  5199.   public
  5200.     constructor Create(AOwner: TComponent); override;
  5201.     destructor  Destroy; override;
  5202.     procedure Connect; override;
  5203.     procedure ConnectTo(svrIntf: IADsPostalAddress);
  5204.     procedure Disconnect; override;
  5205.     property  DefaultInterface: IADsPostalAddress read GetDefaultInterface;
  5206.     property PostalAddress: OleVariant read Get_PostalAddress write Set_PostalAddress;
  5207.   published
  5208. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5209.     property Server: TPostalAddressProperties read GetServerProperties;
  5210. {$ENDIF}
  5211.   end;
  5212.  
  5213. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5214. // *********************************************************************//
  5215. // OLE Server Properties Proxy Class
  5216. // Server Object    : TPostalAddress
  5217. // (This object is used by the IDE's Property Inspector to allow editing
  5218. //  of the properties of this server)
  5219. // *********************************************************************//
  5220.  TPostalAddressProperties = class(TPersistent)
  5221.   private
  5222.     FServer:    TPostalAddress;
  5223.     function    GetDefaultInterface: IADsPostalAddress;
  5224.     constructor Create(AServer: TPostalAddress);
  5225.   protected
  5226.     function  Get_PostalAddress: OleVariant;
  5227.     procedure Set_PostalAddress(retval: OleVariant);
  5228.   public
  5229.     property DefaultInterface: IADsPostalAddress read GetDefaultInterface;
  5230.   published
  5231.   end;
  5232. {$ENDIF}
  5233.  
  5234.  
  5235. // *********************************************************************//
  5236. // The Class CoBackLink provides a Create and CreateRemote method to          
  5237. // create instances of the default interface IADsBackLink exposed by              
  5238. // the CoClass BackLink. The functions are intended to be used by             
  5239. // clients wishing to automate the CoClass objects exposed by the         
  5240. // server of this typelibrary.                                            
  5241. // *********************************************************************//
  5242.   CoBackLink = class
  5243.     class function Create: IADsBackLink;
  5244.     class function CreateRemote(const MachineName: string): IADsBackLink;
  5245.   end;
  5246.  
  5247.  
  5248. // *********************************************************************//
  5249. // OLE Server Proxy class declaration
  5250. // Server Object    : TBackLink
  5251. // Help String      : 
  5252. // Default Interface: IADsBackLink
  5253. // Def. Intf. DISP? : No
  5254. // Event   Interface: 
  5255. // TypeFlags        : (2) CanCreate
  5256. // *********************************************************************//
  5257. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5258.   TBackLinkProperties= class;
  5259. {$ENDIF}
  5260.   TBackLink = class(TOleServer)
  5261.   private
  5262.     FIntf:        IADsBackLink;
  5263. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5264.     FProps:       TBackLinkProperties;
  5265.     function      GetServerProperties: TBackLinkProperties;
  5266. {$ENDIF}
  5267.     function      GetDefaultInterface: IADsBackLink;
  5268.   protected
  5269.     procedure InitServerData; override;
  5270.     function  Get_RemoteID: Integer;
  5271.     procedure Set_RemoteID(retval: Integer);
  5272.     function  Get_ObjectName: WideString;
  5273.     procedure Set_ObjectName(const retval: WideString);
  5274.   public
  5275.     constructor Create(AOwner: TComponent); override;
  5276.     destructor  Destroy; override;
  5277.     procedure Connect; override;
  5278.     procedure ConnectTo(svrIntf: IADsBackLink);
  5279.     procedure Disconnect; override;
  5280.     property  DefaultInterface: IADsBackLink read GetDefaultInterface;
  5281.     property RemoteID: Integer read Get_RemoteID write Set_RemoteID;
  5282.     property ObjectName: WideString read Get_ObjectName write Set_ObjectName;
  5283.   published
  5284. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5285.     property Server: TBackLinkProperties read GetServerProperties;
  5286. {$ENDIF}
  5287.   end;
  5288.  
  5289. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5290. // *********************************************************************//
  5291. // OLE Server Properties Proxy Class
  5292. // Server Object    : TBackLink
  5293. // (This object is used by the IDE's Property Inspector to allow editing
  5294. //  of the properties of this server)
  5295. // *********************************************************************//
  5296.  TBackLinkProperties = class(TPersistent)
  5297.   private
  5298.     FServer:    TBackLink;
  5299.     function    GetDefaultInterface: IADsBackLink;
  5300.     constructor Create(AServer: TBackLink);
  5301.   protected
  5302.     function  Get_RemoteID: Integer;
  5303.     procedure Set_RemoteID(retval: Integer);
  5304.     function  Get_ObjectName: WideString;
  5305.     procedure Set_ObjectName(const retval: WideString);
  5306.   public
  5307.     property DefaultInterface: IADsBackLink read GetDefaultInterface;
  5308.   published
  5309.     property RemoteID: Integer read Get_RemoteID write Set_RemoteID;
  5310.     property ObjectName: WideString read Get_ObjectName write Set_ObjectName;
  5311.   end;
  5312. {$ENDIF}
  5313.  
  5314.  
  5315. // *********************************************************************//
  5316. // The Class CoTypedName provides a Create and CreateRemote method to          
  5317. // create instances of the default interface IADsTypedName exposed by              
  5318. // the CoClass TypedName. The functions are intended to be used by             
  5319. // clients wishing to automate the CoClass objects exposed by the         
  5320. // server of this typelibrary.                                            
  5321. // *********************************************************************//
  5322.   CoTypedName = class
  5323.     class function Create: IADsTypedName;
  5324.     class function CreateRemote(const MachineName: string): IADsTypedName;
  5325.   end;
  5326.  
  5327.  
  5328. // *********************************************************************//
  5329. // OLE Server Proxy class declaration
  5330. // Server Object    : TTypedName
  5331. // Help String      : 
  5332. // Default Interface: IADsTypedName
  5333. // Def. Intf. DISP? : No
  5334. // Event   Interface: 
  5335. // TypeFlags        : (2) CanCreate
  5336. // *********************************************************************//
  5337. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5338.   TTypedNameProperties= class;
  5339. {$ENDIF}
  5340.   TTypedName = class(TOleServer)
  5341.   private
  5342.     FIntf:        IADsTypedName;
  5343. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5344.     FProps:       TTypedNameProperties;
  5345.     function      GetServerProperties: TTypedNameProperties;
  5346. {$ENDIF}
  5347.     function      GetDefaultInterface: IADsTypedName;
  5348.   protected
  5349.     procedure InitServerData; override;
  5350.     function  Get_ObjectName: WideString;
  5351.     procedure Set_ObjectName(const retval: WideString);
  5352.     function  Get_Level: Integer;
  5353.     procedure Set_Level(retval: Integer);
  5354.     function  Get_Interval: Integer;
  5355.     procedure Set_Interval(retval: Integer);
  5356.   public
  5357.     constructor Create(AOwner: TComponent); override;
  5358.     destructor  Destroy; override;
  5359.     procedure Connect; override;
  5360.     procedure ConnectTo(svrIntf: IADsTypedName);
  5361.     procedure Disconnect; override;
  5362.     property  DefaultInterface: IADsTypedName read GetDefaultInterface;
  5363.     property ObjectName: WideString read Get_ObjectName write Set_ObjectName;
  5364.     property Level: Integer read Get_Level write Set_Level;
  5365.     property Interval: Integer read Get_Interval write Set_Interval;
  5366.   published
  5367. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5368.     property Server: TTypedNameProperties read GetServerProperties;
  5369. {$ENDIF}
  5370.   end;
  5371.  
  5372. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5373. // *********************************************************************//
  5374. // OLE Server Properties Proxy Class
  5375. // Server Object    : TTypedName
  5376. // (This object is used by the IDE's Property Inspector to allow editing
  5377. //  of the properties of this server)
  5378. // *********************************************************************//
  5379.  TTypedNameProperties = class(TPersistent)
  5380.   private
  5381.     FServer:    TTypedName;
  5382.     function    GetDefaultInterface: IADsTypedName;
  5383.     constructor Create(AServer: TTypedName);
  5384.   protected
  5385.     function  Get_ObjectName: WideString;
  5386.     procedure Set_ObjectName(const retval: WideString);
  5387.     function  Get_Level: Integer;
  5388.     procedure Set_Level(retval: Integer);
  5389.     function  Get_Interval: Integer;
  5390.     procedure Set_Interval(retval: Integer);
  5391.   public
  5392.     property DefaultInterface: IADsTypedName read GetDefaultInterface;
  5393.   published
  5394.     property ObjectName: WideString read Get_ObjectName write Set_ObjectName;
  5395.     property Level: Integer read Get_Level write Set_Level;
  5396.     property Interval: Integer read Get_Interval write Set_Interval;
  5397.   end;
  5398. {$ENDIF}
  5399.  
  5400.  
  5401. // *********************************************************************//
  5402. // The Class CoHold provides a Create and CreateRemote method to          
  5403. // create instances of the default interface IADsHold exposed by              
  5404. // the CoClass Hold. The functions are intended to be used by             
  5405. // clients wishing to automate the CoClass objects exposed by the         
  5406. // server of this typelibrary.                                            
  5407. // *********************************************************************//
  5408.   CoHold = class
  5409.     class function Create: IADsHold;
  5410.     class function CreateRemote(const MachineName: string): IADsHold;
  5411.   end;
  5412.  
  5413.  
  5414. // *********************************************************************//
  5415. // OLE Server Proxy class declaration
  5416. // Server Object    : THold
  5417. // Help String      : 
  5418. // Default Interface: IADsHold
  5419. // Def. Intf. DISP? : No
  5420. // Event   Interface: 
  5421. // TypeFlags        : (2) CanCreate
  5422. // *********************************************************************//
  5423. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5424.   THoldProperties= class;
  5425. {$ENDIF}
  5426.   THold = class(TOleServer)
  5427.   private
  5428.     FIntf:        IADsHold;
  5429. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5430.     FProps:       THoldProperties;
  5431.     function      GetServerProperties: THoldProperties;
  5432. {$ENDIF}
  5433.     function      GetDefaultInterface: IADsHold;
  5434.   protected
  5435.     procedure InitServerData; override;
  5436.     function  Get_ObjectName: WideString;
  5437.     procedure Set_ObjectName(const retval: WideString);
  5438.     function  Get_Amount: Integer;
  5439.     procedure Set_Amount(retval: Integer);
  5440.   public
  5441.     constructor Create(AOwner: TComponent); override;
  5442.     destructor  Destroy; override;
  5443.     procedure Connect; override;
  5444.     procedure ConnectTo(svrIntf: IADsHold);
  5445.     procedure Disconnect; override;
  5446.     property  DefaultInterface: IADsHold read GetDefaultInterface;
  5447.     property ObjectName: WideString read Get_ObjectName write Set_ObjectName;
  5448.     property Amount: Integer read Get_Amount write Set_Amount;
  5449.   published
  5450. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5451.     property Server: THoldProperties read GetServerProperties;
  5452. {$ENDIF}
  5453.   end;
  5454.  
  5455. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5456. // *********************************************************************//
  5457. // OLE Server Properties Proxy Class
  5458. // Server Object    : THold
  5459. // (This object is used by the IDE's Property Inspector to allow editing
  5460. //  of the properties of this server)
  5461. // *********************************************************************//
  5462.  THoldProperties = class(TPersistent)
  5463.   private
  5464.     FServer:    THold;
  5465.     function    GetDefaultInterface: IADsHold;
  5466.     constructor Create(AServer: THold);
  5467.   protected
  5468.     function  Get_ObjectName: WideString;
  5469.     procedure Set_ObjectName(const retval: WideString);
  5470.     function  Get_Amount: Integer;
  5471.     procedure Set_Amount(retval: Integer);
  5472.   public
  5473.     property DefaultInterface: IADsHold read GetDefaultInterface;
  5474.   published
  5475.     property ObjectName: WideString read Get_ObjectName write Set_ObjectName;
  5476.     property Amount: Integer read Get_Amount write Set_Amount;
  5477.   end;
  5478. {$ENDIF}
  5479.  
  5480.  
  5481. // *********************************************************************//
  5482. // The Class CoPathname provides a Create and CreateRemote method to          
  5483. // create instances of the default interface IADsPathname exposed by              
  5484. // the CoClass Pathname. The functions are intended to be used by             
  5485. // clients wishing to automate the CoClass objects exposed by the         
  5486. // server of this typelibrary.                                            
  5487. // *********************************************************************//
  5488.   CoPathname = class
  5489.     class function Create: IADsPathname;
  5490.     class function CreateRemote(const MachineName: string): IADsPathname;
  5491.   end;
  5492.  
  5493.  
  5494. // *********************************************************************//
  5495. // OLE Server Proxy class declaration
  5496. // Server Object    : TPathname
  5497. // Help String      : 
  5498. // Default Interface: IADsPathname
  5499. // Def. Intf. DISP? : No
  5500. // Event   Interface: 
  5501. // TypeFlags        : (2) CanCreate
  5502. // *********************************************************************//
  5503. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5504.   TPathnameProperties= class;
  5505. {$ENDIF}
  5506.   TPathname = class(TOleServer)
  5507.   private
  5508.     FIntf:        IADsPathname;
  5509. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5510.     FProps:       TPathnameProperties;
  5511.     function      GetServerProperties: TPathnameProperties;
  5512. {$ENDIF}
  5513.     function      GetDefaultInterface: IADsPathname;
  5514.   protected
  5515.     procedure InitServerData; override;
  5516.     function  Get_EscapedMode: Integer;
  5517.     procedure Set_EscapedMode(retval: Integer);
  5518.   public
  5519.     constructor Create(AOwner: TComponent); override;
  5520.     destructor  Destroy; override;
  5521.     procedure Connect; override;
  5522.     procedure ConnectTo(svrIntf: IADsPathname);
  5523.     procedure Disconnect; override;
  5524.     procedure Set_(const bstrADsPath: WideString; lnSetType: Integer);
  5525.     procedure SetDisplayType(lnDisplayType: Integer);
  5526.     function  Retrieve(lnFormatType: Integer): WideString;
  5527.     function  GetNumElements: Integer;
  5528.     function  GetElement(lnElementIndex: Integer): WideString;
  5529.     procedure AddLeafElement(const bstrLeafElement: WideString);
  5530.     procedure RemoveLeafElement;
  5531.     function  CopyPath: IDispatch;
  5532.     function  GetEscapedElement(lnReserved: Integer; const bstrInStr: WideString): WideString;
  5533.     property  DefaultInterface: IADsPathname read GetDefaultInterface;
  5534.     property EscapedMode: Integer read Get_EscapedMode write Set_EscapedMode;
  5535.   published
  5536. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5537.     property Server: TPathnameProperties read GetServerProperties;
  5538. {$ENDIF}
  5539.   end;
  5540.  
  5541. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5542. // *********************************************************************//
  5543. // OLE Server Properties Proxy Class
  5544. // Server Object    : TPathname
  5545. // (This object is used by the IDE's Property Inspector to allow editing
  5546. //  of the properties of this server)
  5547. // *********************************************************************//
  5548.  TPathnameProperties = class(TPersistent)
  5549.   private
  5550.     FServer:    TPathname;
  5551.     function    GetDefaultInterface: IADsPathname;
  5552.     constructor Create(AServer: TPathname);
  5553.   protected
  5554.     function  Get_EscapedMode: Integer;
  5555.     procedure Set_EscapedMode(retval: Integer);
  5556.   public
  5557.     property DefaultInterface: IADsPathname read GetDefaultInterface;
  5558.   published
  5559.     property EscapedMode: Integer read Get_EscapedMode write Set_EscapedMode;
  5560.   end;
  5561. {$ENDIF}
  5562.  
  5563.  
  5564. procedure Register;
  5565.  
  5566. implementation
  5567.  
  5568. uses ComObj;
  5569.  
  5570. class function CoPropertyEntry.Create: IADsPropertyEntry;
  5571. begin
  5572.   Result := CreateComObject(CLASS_PropertyEntry) as IADsPropertyEntry;
  5573. end;
  5574.  
  5575. class function CoPropertyEntry.CreateRemote(const MachineName: string): IADsPropertyEntry;
  5576. begin
  5577.   Result := CreateRemoteComObject(MachineName, CLASS_PropertyEntry) as IADsPropertyEntry;
  5578. end;
  5579.  
  5580. procedure TPropertyEntry.InitServerData;
  5581. const
  5582.   CServerData: TServerData = (
  5583.     ClassID:   '{72D3EDC2-A4C4-11D0-8533-00C04FD8D503}';
  5584.     IntfIID:   '{05792C8E-941F-11D0-8529-00C04FD8D503}';
  5585.     EventIID:  '';
  5586.     LicenseKey: nil;
  5587.     Version: 500);
  5588. begin
  5589.   ServerData := @CServerData;
  5590. end;
  5591.  
  5592. procedure TPropertyEntry.Connect;
  5593. var
  5594.   punk: IUnknown;
  5595. begin
  5596.   if FIntf = nil then
  5597.   begin
  5598.     punk := GetServer;
  5599.     Fintf:= punk as IADsPropertyEntry;
  5600.   end;
  5601. end;
  5602.  
  5603. procedure TPropertyEntry.ConnectTo(svrIntf: IADsPropertyEntry);
  5604. begin
  5605.   Disconnect;
  5606.   FIntf := svrIntf;
  5607. end;
  5608.  
  5609. procedure TPropertyEntry.DisConnect;
  5610. begin
  5611.   if Fintf <> nil then
  5612.   begin
  5613.     FIntf := nil;
  5614.   end;
  5615. end;
  5616.  
  5617. function TPropertyEntry.GetDefaultInterface: IADsPropertyEntry;
  5618. begin
  5619.   if FIntf = nil then
  5620.     Connect;
  5621.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  5622.   Result := FIntf;
  5623. end;
  5624.  
  5625. constructor TPropertyEntry.Create(AOwner: TComponent);
  5626. begin
  5627.   inherited Create(AOwner);
  5628. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5629.   FProps := TPropertyEntryProperties.Create(Self);
  5630. {$ENDIF}
  5631. end;
  5632.  
  5633. destructor TPropertyEntry.Destroy;
  5634. begin
  5635. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5636.   FProps.Free;
  5637. {$ENDIF}
  5638.   inherited Destroy;
  5639. end;
  5640.  
  5641. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5642. function TPropertyEntry.GetServerProperties: TPropertyEntryProperties;
  5643. begin
  5644.   Result := FProps;
  5645. end;
  5646. {$ENDIF}
  5647.  
  5648. function  TPropertyEntry.Get_Name: WideString;
  5649. begin
  5650.   Result := DefaultInterface.Get_Name;
  5651. end;
  5652.  
  5653. procedure TPropertyEntry.Set_Name(const retval: WideString);
  5654. begin
  5655.   DefaultInterface.Set_Name(retval);
  5656. end;
  5657.  
  5658. function  TPropertyEntry.Get_ADsType: Integer;
  5659. begin
  5660.   Result := DefaultInterface.Get_ADsType;
  5661. end;
  5662.  
  5663. procedure TPropertyEntry.Set_ADsType(retval: Integer);
  5664. begin
  5665.   DefaultInterface.Set_ADsType(retval);
  5666. end;
  5667.  
  5668. function  TPropertyEntry.Get_ControlCode: Integer;
  5669. begin
  5670.   Result := DefaultInterface.Get_ControlCode;
  5671. end;
  5672.  
  5673. procedure TPropertyEntry.Set_ControlCode(retval: Integer);
  5674. begin
  5675.   DefaultInterface.Set_ControlCode(retval);
  5676. end;
  5677.  
  5678. function  TPropertyEntry.Get_Values: OleVariant;
  5679. begin
  5680.   Result := DefaultInterface.Get_Values;
  5681. end;
  5682.  
  5683. procedure TPropertyEntry.Set_Values(retval: OleVariant);
  5684. begin
  5685.   DefaultInterface.Set_Values(retval);
  5686. end;
  5687.  
  5688. procedure TPropertyEntry.Clear;
  5689. begin
  5690.   DefaultInterface.Clear;
  5691. end;
  5692.  
  5693. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5694. constructor TPropertyEntryProperties.Create(AServer: TPropertyEntry);
  5695. begin
  5696.   inherited Create;
  5697.   FServer := AServer;
  5698. end;
  5699.  
  5700. function TPropertyEntryProperties.GetDefaultInterface: IADsPropertyEntry;
  5701. begin
  5702.   Result := FServer.DefaultInterface;
  5703. end;
  5704.  
  5705. function  TPropertyEntryProperties.Get_Name: WideString;
  5706. begin
  5707.   Result := DefaultInterface.Get_Name;
  5708. end;
  5709.  
  5710. procedure TPropertyEntryProperties.Set_Name(const retval: WideString);
  5711. begin
  5712.   DefaultInterface.Set_Name(retval);
  5713. end;
  5714.  
  5715. function  TPropertyEntryProperties.Get_ADsType: Integer;
  5716. begin
  5717.   Result := DefaultInterface.Get_ADsType;
  5718. end;
  5719.  
  5720. procedure TPropertyEntryProperties.Set_ADsType(retval: Integer);
  5721. begin
  5722.   DefaultInterface.Set_ADsType(retval);
  5723. end;
  5724.  
  5725. function  TPropertyEntryProperties.Get_ControlCode: Integer;
  5726. begin
  5727.   Result := DefaultInterface.Get_ControlCode;
  5728. end;
  5729.  
  5730. procedure TPropertyEntryProperties.Set_ControlCode(retval: Integer);
  5731. begin
  5732.   DefaultInterface.Set_ControlCode(retval);
  5733. end;
  5734.  
  5735. function  TPropertyEntryProperties.Get_Values: OleVariant;
  5736. begin
  5737.   Result := DefaultInterface.Get_Values;
  5738. end;
  5739.  
  5740. procedure TPropertyEntryProperties.Set_Values(retval: OleVariant);
  5741. begin
  5742.   DefaultInterface.Set_Values(retval);
  5743. end;
  5744.  
  5745. {$ENDIF}
  5746.  
  5747. class function CoPropertyValue.Create: IADsPropertyValue;
  5748. begin
  5749.   Result := CreateComObject(CLASS_PropertyValue) as IADsPropertyValue;
  5750. end;
  5751.  
  5752. class function CoPropertyValue.CreateRemote(const MachineName: string): IADsPropertyValue;
  5753. begin
  5754.   Result := CreateRemoteComObject(MachineName, CLASS_PropertyValue) as IADsPropertyValue;
  5755. end;
  5756.  
  5757. procedure TPropertyValue.InitServerData;
  5758. const
  5759.   CServerData: TServerData = (
  5760.     ClassID:   '{7B9E38B0-A97C-11D0-8534-00C04FD8D503}';
  5761.     IntfIID:   '{79FA9AD0-A97C-11D0-8534-00C04FD8D503}';
  5762.     EventIID:  '';
  5763.     LicenseKey: nil;
  5764.     Version: 500);
  5765. begin
  5766.   ServerData := @CServerData;
  5767. end;
  5768.  
  5769. procedure TPropertyValue.Connect;
  5770. var
  5771.   punk: IUnknown;
  5772. begin
  5773.   if FIntf = nil then
  5774.   begin
  5775.     punk := GetServer;
  5776.     Fintf:= punk as IADsPropertyValue;
  5777.   end;
  5778. end;
  5779.  
  5780. procedure TPropertyValue.ConnectTo(svrIntf: IADsPropertyValue);
  5781. begin
  5782.   Disconnect;
  5783.   FIntf := svrIntf;
  5784. end;
  5785.  
  5786. procedure TPropertyValue.DisConnect;
  5787. begin
  5788.   if Fintf <> nil then
  5789.   begin
  5790.     FIntf := nil;
  5791.   end;
  5792. end;
  5793.  
  5794. function TPropertyValue.GetDefaultInterface: IADsPropertyValue;
  5795. begin
  5796.   if FIntf = nil then
  5797.     Connect;
  5798.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  5799.   Result := FIntf;
  5800. end;
  5801.  
  5802. constructor TPropertyValue.Create(AOwner: TComponent);
  5803. begin
  5804.   inherited Create(AOwner);
  5805. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5806.   FProps := TPropertyValueProperties.Create(Self);
  5807. {$ENDIF}
  5808. end;
  5809.  
  5810. destructor TPropertyValue.Destroy;
  5811. begin
  5812. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5813.   FProps.Free;
  5814. {$ENDIF}
  5815.   inherited Destroy;
  5816. end;
  5817.  
  5818. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5819. function TPropertyValue.GetServerProperties: TPropertyValueProperties;
  5820. begin
  5821.   Result := FProps;
  5822. end;
  5823. {$ENDIF}
  5824.  
  5825. function  TPropertyValue.Get_ADsType: Integer;
  5826. begin
  5827.   Result := DefaultInterface.Get_ADsType;
  5828. end;
  5829.  
  5830. procedure TPropertyValue.Set_ADsType(retval: Integer);
  5831. begin
  5832.   DefaultInterface.Set_ADsType(retval);
  5833. end;
  5834.  
  5835. function  TPropertyValue.Get_DNString: WideString;
  5836. begin
  5837.   Result := DefaultInterface.Get_DNString;
  5838. end;
  5839.  
  5840. procedure TPropertyValue.Set_DNString(const retval: WideString);
  5841. begin
  5842.   DefaultInterface.Set_DNString(retval);
  5843. end;
  5844.  
  5845. function  TPropertyValue.Get_CaseExactString: WideString;
  5846. begin
  5847.   Result := DefaultInterface.Get_CaseExactString;
  5848. end;
  5849.  
  5850. procedure TPropertyValue.Set_CaseExactString(const retval: WideString);
  5851. begin
  5852.   DefaultInterface.Set_CaseExactString(retval);
  5853. end;
  5854.  
  5855. function  TPropertyValue.Get_CaseIgnoreString: WideString;
  5856. begin
  5857.   Result := DefaultInterface.Get_CaseIgnoreString;
  5858. end;
  5859.  
  5860. procedure TPropertyValue.Set_CaseIgnoreString(const retval: WideString);
  5861. begin
  5862.   DefaultInterface.Set_CaseIgnoreString(retval);
  5863. end;
  5864.  
  5865. function  TPropertyValue.Get_PrintableString: WideString;
  5866. begin
  5867.   Result := DefaultInterface.Get_PrintableString;
  5868. end;
  5869.  
  5870. procedure TPropertyValue.Set_PrintableString(const retval: WideString);
  5871. begin
  5872.   DefaultInterface.Set_PrintableString(retval);
  5873. end;
  5874.  
  5875. function  TPropertyValue.Get_NumericString: WideString;
  5876. begin
  5877.   Result := DefaultInterface.Get_NumericString;
  5878. end;
  5879.  
  5880. procedure TPropertyValue.Set_NumericString(const retval: WideString);
  5881. begin
  5882.   DefaultInterface.Set_NumericString(retval);
  5883. end;
  5884.  
  5885. function  TPropertyValue.Get_Boolean: Integer;
  5886. begin
  5887.   Result := DefaultInterface.Get_Boolean;
  5888. end;
  5889.  
  5890. procedure TPropertyValue.Set_Boolean(retval: Integer);
  5891. begin
  5892.   DefaultInterface.Set_Boolean(retval);
  5893. end;
  5894.  
  5895. function  TPropertyValue.Get_Integer: Integer;
  5896. begin
  5897.   Result := DefaultInterface.Get_Integer;
  5898. end;
  5899.  
  5900. procedure TPropertyValue.Set_Integer(retval: Integer);
  5901. begin
  5902.   DefaultInterface.Set_Integer(retval);
  5903. end;
  5904.  
  5905. function  TPropertyValue.Get_OctetString: OleVariant;
  5906. begin
  5907.   Result := DefaultInterface.Get_OctetString;
  5908. end;
  5909.  
  5910. procedure TPropertyValue.Set_OctetString(retval: OleVariant);
  5911. begin
  5912.   DefaultInterface.Set_OctetString(retval);
  5913. end;
  5914.  
  5915. function  TPropertyValue.Get_SecurityDescriptor: IDispatch;
  5916. begin
  5917.   Result := DefaultInterface.Get_SecurityDescriptor;
  5918. end;
  5919.  
  5920. procedure TPropertyValue.Set_SecurityDescriptor(const retval: IDispatch);
  5921. begin
  5922.   DefaultInterface.Set_SecurityDescriptor(retval);
  5923. end;
  5924.  
  5925. function  TPropertyValue.Get_LargeInteger: IDispatch;
  5926. begin
  5927.   Result := DefaultInterface.Get_LargeInteger;
  5928. end;
  5929.  
  5930. procedure TPropertyValue.Set_LargeInteger(const retval: IDispatch);
  5931. begin
  5932.   DefaultInterface.Set_LargeInteger(retval);
  5933. end;
  5934.  
  5935. function  TPropertyValue.Get_UTCTime: TDateTime;
  5936. begin
  5937.   Result := DefaultInterface.Get_UTCTime;
  5938. end;
  5939.  
  5940. procedure TPropertyValue.Set_UTCTime(retval: TDateTime);
  5941. begin
  5942.   DefaultInterface.Set_UTCTime(retval);
  5943. end;
  5944.  
  5945. procedure TPropertyValue.Clear;
  5946. begin
  5947.   DefaultInterface.Clear;
  5948. end;
  5949.  
  5950. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  5951. constructor TPropertyValueProperties.Create(AServer: TPropertyValue);
  5952. begin
  5953.   inherited Create;
  5954.   FServer := AServer;
  5955. end;
  5956.  
  5957. function TPropertyValueProperties.GetDefaultInterface: IADsPropertyValue;
  5958. begin
  5959.   Result := FServer.DefaultInterface;
  5960. end;
  5961.  
  5962. function  TPropertyValueProperties.Get_ADsType: Integer;
  5963. begin
  5964.   Result := DefaultInterface.Get_ADsType;
  5965. end;
  5966.  
  5967. procedure TPropertyValueProperties.Set_ADsType(retval: Integer);
  5968. begin
  5969.   DefaultInterface.Set_ADsType(retval);
  5970. end;
  5971.  
  5972. function  TPropertyValueProperties.Get_DNString: WideString;
  5973. begin
  5974.   Result := DefaultInterface.Get_DNString;
  5975. end;
  5976.  
  5977. procedure TPropertyValueProperties.Set_DNString(const retval: WideString);
  5978. begin
  5979.   DefaultInterface.Set_DNString(retval);
  5980. end;
  5981.  
  5982. function  TPropertyValueProperties.Get_CaseExactString: WideString;
  5983. begin
  5984.   Result := DefaultInterface.Get_CaseExactString;
  5985. end;
  5986.  
  5987. procedure TPropertyValueProperties.Set_CaseExactString(const retval: WideString);
  5988. begin
  5989.   DefaultInterface.Set_CaseExactString(retval);
  5990. end;
  5991.  
  5992. function  TPropertyValueProperties.Get_CaseIgnoreString: WideString;
  5993. begin
  5994.   Result := DefaultInterface.Get_CaseIgnoreString;
  5995. end;
  5996.  
  5997. procedure TPropertyValueProperties.Set_CaseIgnoreString(const retval: WideString);
  5998. begin
  5999.   DefaultInterface.Set_CaseIgnoreString(retval);
  6000. end;
  6001.  
  6002. function  TPropertyValueProperties.Get_PrintableString: WideString;
  6003. begin
  6004.   Result := DefaultInterface.Get_PrintableString;
  6005. end;
  6006.  
  6007. procedure TPropertyValueProperties.Set_PrintableString(const retval: WideString);
  6008. begin
  6009.   DefaultInterface.Set_PrintableString(retval);
  6010. end;
  6011.  
  6012. function  TPropertyValueProperties.Get_NumericString: WideString;
  6013. begin
  6014.   Result := DefaultInterface.Get_NumericString;
  6015. end;
  6016.  
  6017. procedure TPropertyValueProperties.Set_NumericString(const retval: WideString);
  6018. begin
  6019.   DefaultInterface.Set_NumericString(retval);
  6020. end;
  6021.  
  6022. function  TPropertyValueProperties.Get_Boolean: Integer;
  6023. begin
  6024.   Result := DefaultInterface.Get_Boolean;
  6025. end;
  6026.  
  6027. procedure TPropertyValueProperties.Set_Boolean(retval: Integer);
  6028. begin
  6029.   DefaultInterface.Set_Boolean(retval);
  6030. end;
  6031.  
  6032. function  TPropertyValueProperties.Get_Integer: Integer;
  6033. begin
  6034.   Result := DefaultInterface.Get_Integer;
  6035. end;
  6036.  
  6037. procedure TPropertyValueProperties.Set_Integer(retval: Integer);
  6038. begin
  6039.   DefaultInterface.Set_Integer(retval);
  6040. end;
  6041.  
  6042. function  TPropertyValueProperties.Get_OctetString: OleVariant;
  6043. begin
  6044.   Result := DefaultInterface.Get_OctetString;
  6045. end;
  6046.  
  6047. procedure TPropertyValueProperties.Set_OctetString(retval: OleVariant);
  6048. begin
  6049.   DefaultInterface.Set_OctetString(retval);
  6050. end;
  6051.  
  6052. function  TPropertyValueProperties.Get_SecurityDescriptor: IDispatch;
  6053. begin
  6054.   Result := DefaultInterface.Get_SecurityDescriptor;
  6055. end;
  6056.  
  6057. procedure TPropertyValueProperties.Set_SecurityDescriptor(const retval: IDispatch);
  6058. begin
  6059.   DefaultInterface.Set_SecurityDescriptor(retval);
  6060. end;
  6061.  
  6062. function  TPropertyValueProperties.Get_LargeInteger: IDispatch;
  6063. begin
  6064.   Result := DefaultInterface.Get_LargeInteger;
  6065. end;
  6066.  
  6067. procedure TPropertyValueProperties.Set_LargeInteger(const retval: IDispatch);
  6068. begin
  6069.   DefaultInterface.Set_LargeInteger(retval);
  6070. end;
  6071.  
  6072. function  TPropertyValueProperties.Get_UTCTime: TDateTime;
  6073. begin
  6074.   Result := DefaultInterface.Get_UTCTime;
  6075. end;
  6076.  
  6077. procedure TPropertyValueProperties.Set_UTCTime(retval: TDateTime);
  6078. begin
  6079.   DefaultInterface.Set_UTCTime(retval);
  6080. end;
  6081.  
  6082. {$ENDIF}
  6083.  
  6084. class function CoAccessControlEntry.Create: IADsAccessControlEntry;
  6085. begin
  6086.   Result := CreateComObject(CLASS_AccessControlEntry) as IADsAccessControlEntry;
  6087. end;
  6088.  
  6089. class function CoAccessControlEntry.CreateRemote(const MachineName: string): IADsAccessControlEntry;
  6090. begin
  6091.   Result := CreateRemoteComObject(MachineName, CLASS_AccessControlEntry) as IADsAccessControlEntry;
  6092. end;
  6093.  
  6094. procedure TAccessControlEntry.InitServerData;
  6095. const
  6096.   CServerData: TServerData = (
  6097.     ClassID:   '{B75AC000-9BDD-11D0-852C-00C04FD8D503}';
  6098.     IntfIID:   '{B4F3A14C-9BDD-11D0-852C-00C04FD8D503}';
  6099.     EventIID:  '';
  6100.     LicenseKey: nil;
  6101.     Version: 500);
  6102. begin
  6103.   ServerData := @CServerData;
  6104. end;
  6105.  
  6106. procedure TAccessControlEntry.Connect;
  6107. var
  6108.   punk: IUnknown;
  6109. begin
  6110.   if FIntf = nil then
  6111.   begin
  6112.     punk := GetServer;
  6113.     Fintf:= punk as IADsAccessControlEntry;
  6114.   end;
  6115. end;
  6116.  
  6117. procedure TAccessControlEntry.ConnectTo(svrIntf: IADsAccessControlEntry);
  6118. begin
  6119.   Disconnect;
  6120.   FIntf := svrIntf;
  6121. end;
  6122.  
  6123. procedure TAccessControlEntry.DisConnect;
  6124. begin
  6125.   if Fintf <> nil then
  6126.   begin
  6127.     FIntf := nil;
  6128.   end;
  6129. end;
  6130.  
  6131. function TAccessControlEntry.GetDefaultInterface: IADsAccessControlEntry;
  6132. begin
  6133.   if FIntf = nil then
  6134.     Connect;
  6135.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  6136.   Result := FIntf;
  6137. end;
  6138.  
  6139. constructor TAccessControlEntry.Create(AOwner: TComponent);
  6140. begin
  6141.   inherited Create(AOwner);
  6142. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6143.   FProps := TAccessControlEntryProperties.Create(Self);
  6144. {$ENDIF}
  6145. end;
  6146.  
  6147. destructor TAccessControlEntry.Destroy;
  6148. begin
  6149. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6150.   FProps.Free;
  6151. {$ENDIF}
  6152.   inherited Destroy;
  6153. end;
  6154.  
  6155. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6156. function TAccessControlEntry.GetServerProperties: TAccessControlEntryProperties;
  6157. begin
  6158.   Result := FProps;
  6159. end;
  6160. {$ENDIF}
  6161.  
  6162. function  TAccessControlEntry.Get_AccessMask: Integer;
  6163. begin
  6164.   Result := DefaultInterface.Get_AccessMask;
  6165. end;
  6166.  
  6167. procedure TAccessControlEntry.Set_AccessMask(retval: Integer);
  6168. begin
  6169.   DefaultInterface.Set_AccessMask(retval);
  6170. end;
  6171.  
  6172. function  TAccessControlEntry.Get_AceType: Integer;
  6173. begin
  6174.   Result := DefaultInterface.Get_AceType;
  6175. end;
  6176.  
  6177. procedure TAccessControlEntry.Set_AceType(retval: Integer);
  6178. begin
  6179.   DefaultInterface.Set_AceType(retval);
  6180. end;
  6181.  
  6182. function  TAccessControlEntry.Get_AceFlags: Integer;
  6183. begin
  6184.   Result := DefaultInterface.Get_AceFlags;
  6185. end;
  6186.  
  6187. procedure TAccessControlEntry.Set_AceFlags(retval: Integer);
  6188. begin
  6189.   DefaultInterface.Set_AceFlags(retval);
  6190. end;
  6191.  
  6192. function  TAccessControlEntry.Get_Flags: Integer;
  6193. begin
  6194.   Result := DefaultInterface.Get_Flags;
  6195. end;
  6196.  
  6197. procedure TAccessControlEntry.Set_Flags(retval: Integer);
  6198. begin
  6199.   DefaultInterface.Set_Flags(retval);
  6200. end;
  6201.  
  6202. function  TAccessControlEntry.Get_ObjectType: WideString;
  6203. begin
  6204.   Result := DefaultInterface.Get_ObjectType;
  6205. end;
  6206.  
  6207. procedure TAccessControlEntry.Set_ObjectType(const retval: WideString);
  6208. begin
  6209.   DefaultInterface.Set_ObjectType(retval);
  6210. end;
  6211.  
  6212. function  TAccessControlEntry.Get_InheritedObjectType: WideString;
  6213. begin
  6214.   Result := DefaultInterface.Get_InheritedObjectType;
  6215. end;
  6216.  
  6217. procedure TAccessControlEntry.Set_InheritedObjectType(const retval: WideString);
  6218. begin
  6219.   DefaultInterface.Set_InheritedObjectType(retval);
  6220. end;
  6221.  
  6222. function  TAccessControlEntry.Get_Trustee: WideString;
  6223. begin
  6224.   Result := DefaultInterface.Get_Trustee;
  6225. end;
  6226.  
  6227. procedure TAccessControlEntry.Set_Trustee(const retval: WideString);
  6228. begin
  6229.   DefaultInterface.Set_Trustee(retval);
  6230. end;
  6231.  
  6232. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6233. constructor TAccessControlEntryProperties.Create(AServer: TAccessControlEntry);
  6234. begin
  6235.   inherited Create;
  6236.   FServer := AServer;
  6237. end;
  6238.  
  6239. function TAccessControlEntryProperties.GetDefaultInterface: IADsAccessControlEntry;
  6240. begin
  6241.   Result := FServer.DefaultInterface;
  6242. end;
  6243.  
  6244. function  TAccessControlEntryProperties.Get_AccessMask: Integer;
  6245. begin
  6246.   Result := DefaultInterface.Get_AccessMask;
  6247. end;
  6248.  
  6249. procedure TAccessControlEntryProperties.Set_AccessMask(retval: Integer);
  6250. begin
  6251.   DefaultInterface.Set_AccessMask(retval);
  6252. end;
  6253.  
  6254. function  TAccessControlEntryProperties.Get_AceType: Integer;
  6255. begin
  6256.   Result := DefaultInterface.Get_AceType;
  6257. end;
  6258.  
  6259. procedure TAccessControlEntryProperties.Set_AceType(retval: Integer);
  6260. begin
  6261.   DefaultInterface.Set_AceType(retval);
  6262. end;
  6263.  
  6264. function  TAccessControlEntryProperties.Get_AceFlags: Integer;
  6265. begin
  6266.   Result := DefaultInterface.Get_AceFlags;
  6267. end;
  6268.  
  6269. procedure TAccessControlEntryProperties.Set_AceFlags(retval: Integer);
  6270. begin
  6271.   DefaultInterface.Set_AceFlags(retval);
  6272. end;
  6273.  
  6274. function  TAccessControlEntryProperties.Get_Flags: Integer;
  6275. begin
  6276.   Result := DefaultInterface.Get_Flags;
  6277. end;
  6278.  
  6279. procedure TAccessControlEntryProperties.Set_Flags(retval: Integer);
  6280. begin
  6281.   DefaultInterface.Set_Flags(retval);
  6282. end;
  6283.  
  6284. function  TAccessControlEntryProperties.Get_ObjectType: WideString;
  6285. begin
  6286.   Result := DefaultInterface.Get_ObjectType;
  6287. end;
  6288.  
  6289. procedure TAccessControlEntryProperties.Set_ObjectType(const retval: WideString);
  6290. begin
  6291.   DefaultInterface.Set_ObjectType(retval);
  6292. end;
  6293.  
  6294. function  TAccessControlEntryProperties.Get_InheritedObjectType: WideString;
  6295. begin
  6296.   Result := DefaultInterface.Get_InheritedObjectType;
  6297. end;
  6298.  
  6299. procedure TAccessControlEntryProperties.Set_InheritedObjectType(const retval: WideString);
  6300. begin
  6301.   DefaultInterface.Set_InheritedObjectType(retval);
  6302. end;
  6303.  
  6304. function  TAccessControlEntryProperties.Get_Trustee: WideString;
  6305. begin
  6306.   Result := DefaultInterface.Get_Trustee;
  6307. end;
  6308.  
  6309. procedure TAccessControlEntryProperties.Set_Trustee(const retval: WideString);
  6310. begin
  6311.   DefaultInterface.Set_Trustee(retval);
  6312. end;
  6313.  
  6314. {$ENDIF}
  6315.  
  6316. class function CoAccessControlList.Create: IADsAccessControlList;
  6317. begin
  6318.   Result := CreateComObject(CLASS_AccessControlList) as IADsAccessControlList;
  6319. end;
  6320.  
  6321. class function CoAccessControlList.CreateRemote(const MachineName: string): IADsAccessControlList;
  6322. begin
  6323.   Result := CreateRemoteComObject(MachineName, CLASS_AccessControlList) as IADsAccessControlList;
  6324. end;
  6325.  
  6326. procedure TAccessControlList.InitServerData;
  6327. const
  6328.   CServerData: TServerData = (
  6329.     ClassID:   '{B85EA052-9BDD-11D0-852C-00C04FD8D503}';
  6330.     IntfIID:   '{B7EE91CC-9BDD-11D0-852C-00C04FD8D503}';
  6331.     EventIID:  '';
  6332.     LicenseKey: nil;
  6333.     Version: 500);
  6334. begin
  6335.   ServerData := @CServerData;
  6336. end;
  6337.  
  6338. procedure TAccessControlList.Connect;
  6339. var
  6340.   punk: IUnknown;
  6341. begin
  6342.   if FIntf = nil then
  6343.   begin
  6344.     punk := GetServer;
  6345.     Fintf:= punk as IADsAccessControlList;
  6346.   end;
  6347. end;
  6348.  
  6349. procedure TAccessControlList.ConnectTo(svrIntf: IADsAccessControlList);
  6350. begin
  6351.   Disconnect;
  6352.   FIntf := svrIntf;
  6353. end;
  6354.  
  6355. procedure TAccessControlList.DisConnect;
  6356. begin
  6357.   if Fintf <> nil then
  6358.   begin
  6359.     FIntf := nil;
  6360.   end;
  6361. end;
  6362.  
  6363. function TAccessControlList.GetDefaultInterface: IADsAccessControlList;
  6364. begin
  6365.   if FIntf = nil then
  6366.     Connect;
  6367.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  6368.   Result := FIntf;
  6369. end;
  6370.  
  6371. constructor TAccessControlList.Create(AOwner: TComponent);
  6372. begin
  6373.   inherited Create(AOwner);
  6374. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6375.   FProps := TAccessControlListProperties.Create(Self);
  6376. {$ENDIF}
  6377. end;
  6378.  
  6379. destructor TAccessControlList.Destroy;
  6380. begin
  6381. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6382.   FProps.Free;
  6383. {$ENDIF}
  6384.   inherited Destroy;
  6385. end;
  6386.  
  6387. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6388. function TAccessControlList.GetServerProperties: TAccessControlListProperties;
  6389. begin
  6390.   Result := FProps;
  6391. end;
  6392. {$ENDIF}
  6393.  
  6394. function  TAccessControlList.Get_AclRevision: Integer;
  6395. begin
  6396.   Result := DefaultInterface.Get_AclRevision;
  6397. end;
  6398.  
  6399. procedure TAccessControlList.Set_AclRevision(retval: Integer);
  6400. begin
  6401.   DefaultInterface.Set_AclRevision(retval);
  6402. end;
  6403.  
  6404. function  TAccessControlList.Get_AceCount: Integer;
  6405. begin
  6406.   Result := DefaultInterface.Get_AceCount;
  6407. end;
  6408.  
  6409. procedure TAccessControlList.Set_AceCount(retval: Integer);
  6410. begin
  6411.   DefaultInterface.Set_AceCount(retval);
  6412. end;
  6413.  
  6414. procedure TAccessControlList.AddAce(const pAccessControlEntry: IDispatch);
  6415. begin
  6416.   DefaultInterface.AddAce(pAccessControlEntry);
  6417. end;
  6418.  
  6419. procedure TAccessControlList.RemoveAce(const pAccessControlEntry: IDispatch);
  6420. begin
  6421.   DefaultInterface.RemoveAce(pAccessControlEntry);
  6422. end;
  6423.  
  6424. function  TAccessControlList.CopyAccessList: IDispatch;
  6425. begin
  6426.   Result := DefaultInterface.CopyAccessList;
  6427. end;
  6428.  
  6429. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6430. constructor TAccessControlListProperties.Create(AServer: TAccessControlList);
  6431. begin
  6432.   inherited Create;
  6433.   FServer := AServer;
  6434. end;
  6435.  
  6436. function TAccessControlListProperties.GetDefaultInterface: IADsAccessControlList;
  6437. begin
  6438.   Result := FServer.DefaultInterface;
  6439. end;
  6440.  
  6441. function  TAccessControlListProperties.Get_AclRevision: Integer;
  6442. begin
  6443.   Result := DefaultInterface.Get_AclRevision;
  6444. end;
  6445.  
  6446. procedure TAccessControlListProperties.Set_AclRevision(retval: Integer);
  6447. begin
  6448.   DefaultInterface.Set_AclRevision(retval);
  6449. end;
  6450.  
  6451. function  TAccessControlListProperties.Get_AceCount: Integer;
  6452. begin
  6453.   Result := DefaultInterface.Get_AceCount;
  6454. end;
  6455.  
  6456. procedure TAccessControlListProperties.Set_AceCount(retval: Integer);
  6457. begin
  6458.   DefaultInterface.Set_AceCount(retval);
  6459. end;
  6460.  
  6461. {$ENDIF}
  6462.  
  6463. class function CoSecurityDescriptor.Create: IADsSecurityDescriptor;
  6464. begin
  6465.   Result := CreateComObject(CLASS_SecurityDescriptor) as IADsSecurityDescriptor;
  6466. end;
  6467.  
  6468. class function CoSecurityDescriptor.CreateRemote(const MachineName: string): IADsSecurityDescriptor;
  6469. begin
  6470.   Result := CreateRemoteComObject(MachineName, CLASS_SecurityDescriptor) as IADsSecurityDescriptor;
  6471. end;
  6472.  
  6473. procedure TSecurityDescriptor.InitServerData;
  6474. const
  6475.   CServerData: TServerData = (
  6476.     ClassID:   '{B958F73C-9BDD-11D0-852C-00C04FD8D503}';
  6477.     IntfIID:   '{B8C787CA-9BDD-11D0-852C-00C04FD8D503}';
  6478.     EventIID:  '';
  6479.     LicenseKey: nil;
  6480.     Version: 500);
  6481. begin
  6482.   ServerData := @CServerData;
  6483. end;
  6484.  
  6485. procedure TSecurityDescriptor.Connect;
  6486. var
  6487.   punk: IUnknown;
  6488. begin
  6489.   if FIntf = nil then
  6490.   begin
  6491.     punk := GetServer;
  6492.     Fintf:= punk as IADsSecurityDescriptor;
  6493.   end;
  6494. end;
  6495.  
  6496. procedure TSecurityDescriptor.ConnectTo(svrIntf: IADsSecurityDescriptor);
  6497. begin
  6498.   Disconnect;
  6499.   FIntf := svrIntf;
  6500. end;
  6501.  
  6502. procedure TSecurityDescriptor.DisConnect;
  6503. begin
  6504.   if Fintf <> nil then
  6505.   begin
  6506.     FIntf := nil;
  6507.   end;
  6508. end;
  6509.  
  6510. function TSecurityDescriptor.GetDefaultInterface: IADsSecurityDescriptor;
  6511. begin
  6512.   if FIntf = nil then
  6513.     Connect;
  6514.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  6515.   Result := FIntf;
  6516. end;
  6517.  
  6518. constructor TSecurityDescriptor.Create(AOwner: TComponent);
  6519. begin
  6520.   inherited Create(AOwner);
  6521. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6522.   FProps := TSecurityDescriptorProperties.Create(Self);
  6523. {$ENDIF}
  6524. end;
  6525.  
  6526. destructor TSecurityDescriptor.Destroy;
  6527. begin
  6528. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6529.   FProps.Free;
  6530. {$ENDIF}
  6531.   inherited Destroy;
  6532. end;
  6533.  
  6534. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6535. function TSecurityDescriptor.GetServerProperties: TSecurityDescriptorProperties;
  6536. begin
  6537.   Result := FProps;
  6538. end;
  6539. {$ENDIF}
  6540.  
  6541. function  TSecurityDescriptor.Get_Revision: Integer;
  6542. begin
  6543.   Result := DefaultInterface.Get_Revision;
  6544. end;
  6545.  
  6546. procedure TSecurityDescriptor.Set_Revision(retval: Integer);
  6547. begin
  6548.   DefaultInterface.Set_Revision(retval);
  6549. end;
  6550.  
  6551. function  TSecurityDescriptor.Get_Control: Integer;
  6552. begin
  6553.   Result := DefaultInterface.Get_Control;
  6554. end;
  6555.  
  6556. procedure TSecurityDescriptor.Set_Control(retval: Integer);
  6557. begin
  6558.   DefaultInterface.Set_Control(retval);
  6559. end;
  6560.  
  6561. function  TSecurityDescriptor.Get_Owner: WideString;
  6562. begin
  6563.   Result := DefaultInterface.Get_Owner;
  6564. end;
  6565.  
  6566. procedure TSecurityDescriptor.Set_Owner(const retval: WideString);
  6567. begin
  6568.   DefaultInterface.Set_Owner(retval);
  6569. end;
  6570.  
  6571. function  TSecurityDescriptor.Get_OwnerDefaulted: WordBool;
  6572. begin
  6573.   Result := DefaultInterface.Get_OwnerDefaulted;
  6574. end;
  6575.  
  6576. procedure TSecurityDescriptor.Set_OwnerDefaulted(retval: WordBool);
  6577. begin
  6578.   DefaultInterface.Set_OwnerDefaulted(retval);
  6579. end;
  6580.  
  6581. function  TSecurityDescriptor.Get_Group: WideString;
  6582. begin
  6583.   Result := DefaultInterface.Get_Group;
  6584. end;
  6585.  
  6586. procedure TSecurityDescriptor.Set_Group(const retval: WideString);
  6587. begin
  6588.   DefaultInterface.Set_Group(retval);
  6589. end;
  6590.  
  6591. function  TSecurityDescriptor.Get_GroupDefaulted: WordBool;
  6592. begin
  6593.   Result := DefaultInterface.Get_GroupDefaulted;
  6594. end;
  6595.  
  6596. procedure TSecurityDescriptor.Set_GroupDefaulted(retval: WordBool);
  6597. begin
  6598.   DefaultInterface.Set_GroupDefaulted(retval);
  6599. end;
  6600.  
  6601. function  TSecurityDescriptor.Get_DiscretionaryAcl: IDispatch;
  6602. begin
  6603.   Result := DefaultInterface.Get_DiscretionaryAcl;
  6604. end;
  6605.  
  6606. procedure TSecurityDescriptor.Set_DiscretionaryAcl(const retval: IDispatch);
  6607. begin
  6608.   DefaultInterface.Set_DiscretionaryAcl(retval);
  6609. end;
  6610.  
  6611. function  TSecurityDescriptor.Get_DaclDefaulted: WordBool;
  6612. begin
  6613.   Result := DefaultInterface.Get_DaclDefaulted;
  6614. end;
  6615.  
  6616. procedure TSecurityDescriptor.Set_DaclDefaulted(retval: WordBool);
  6617. begin
  6618.   DefaultInterface.Set_DaclDefaulted(retval);
  6619. end;
  6620.  
  6621. function  TSecurityDescriptor.Get_SystemAcl: IDispatch;
  6622. begin
  6623.   Result := DefaultInterface.Get_SystemAcl;
  6624. end;
  6625.  
  6626. procedure TSecurityDescriptor.Set_SystemAcl(const retval: IDispatch);
  6627. begin
  6628.   DefaultInterface.Set_SystemAcl(retval);
  6629. end;
  6630.  
  6631. function  TSecurityDescriptor.Get_SaclDefaulted: WordBool;
  6632. begin
  6633.   Result := DefaultInterface.Get_SaclDefaulted;
  6634. end;
  6635.  
  6636. procedure TSecurityDescriptor.Set_SaclDefaulted(retval: WordBool);
  6637. begin
  6638.   DefaultInterface.Set_SaclDefaulted(retval);
  6639. end;
  6640.  
  6641. function  TSecurityDescriptor.CopySecurityDescriptor: IDispatch;
  6642. begin
  6643.   Result := DefaultInterface.CopySecurityDescriptor;
  6644. end;
  6645.  
  6646. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6647. constructor TSecurityDescriptorProperties.Create(AServer: TSecurityDescriptor);
  6648. begin
  6649.   inherited Create;
  6650.   FServer := AServer;
  6651. end;
  6652.  
  6653. function TSecurityDescriptorProperties.GetDefaultInterface: IADsSecurityDescriptor;
  6654. begin
  6655.   Result := FServer.DefaultInterface;
  6656. end;
  6657.  
  6658. function  TSecurityDescriptorProperties.Get_Revision: Integer;
  6659. begin
  6660.   Result := DefaultInterface.Get_Revision;
  6661. end;
  6662.  
  6663. procedure TSecurityDescriptorProperties.Set_Revision(retval: Integer);
  6664. begin
  6665.   DefaultInterface.Set_Revision(retval);
  6666. end;
  6667.  
  6668. function  TSecurityDescriptorProperties.Get_Control: Integer;
  6669. begin
  6670.   Result := DefaultInterface.Get_Control;
  6671. end;
  6672.  
  6673. procedure TSecurityDescriptorProperties.Set_Control(retval: Integer);
  6674. begin
  6675.   DefaultInterface.Set_Control(retval);
  6676. end;
  6677.  
  6678. function  TSecurityDescriptorProperties.Get_Owner: WideString;
  6679. begin
  6680.   Result := DefaultInterface.Get_Owner;
  6681. end;
  6682.  
  6683. procedure TSecurityDescriptorProperties.Set_Owner(const retval: WideString);
  6684. begin
  6685.   DefaultInterface.Set_Owner(retval);
  6686. end;
  6687.  
  6688. function  TSecurityDescriptorProperties.Get_OwnerDefaulted: WordBool;
  6689. begin
  6690.   Result := DefaultInterface.Get_OwnerDefaulted;
  6691. end;
  6692.  
  6693. procedure TSecurityDescriptorProperties.Set_OwnerDefaulted(retval: WordBool);
  6694. begin
  6695.   DefaultInterface.Set_OwnerDefaulted(retval);
  6696. end;
  6697.  
  6698. function  TSecurityDescriptorProperties.Get_Group: WideString;
  6699. begin
  6700.   Result := DefaultInterface.Get_Group;
  6701. end;
  6702.  
  6703. procedure TSecurityDescriptorProperties.Set_Group(const retval: WideString);
  6704. begin
  6705.   DefaultInterface.Set_Group(retval);
  6706. end;
  6707.  
  6708. function  TSecurityDescriptorProperties.Get_GroupDefaulted: WordBool;
  6709. begin
  6710.   Result := DefaultInterface.Get_GroupDefaulted;
  6711. end;
  6712.  
  6713. procedure TSecurityDescriptorProperties.Set_GroupDefaulted(retval: WordBool);
  6714. begin
  6715.   DefaultInterface.Set_GroupDefaulted(retval);
  6716. end;
  6717.  
  6718. function  TSecurityDescriptorProperties.Get_DiscretionaryAcl: IDispatch;
  6719. begin
  6720.   Result := DefaultInterface.Get_DiscretionaryAcl;
  6721. end;
  6722.  
  6723. procedure TSecurityDescriptorProperties.Set_DiscretionaryAcl(const retval: IDispatch);
  6724. begin
  6725.   DefaultInterface.Set_DiscretionaryAcl(retval);
  6726. end;
  6727.  
  6728. function  TSecurityDescriptorProperties.Get_DaclDefaulted: WordBool;
  6729. begin
  6730.   Result := DefaultInterface.Get_DaclDefaulted;
  6731. end;
  6732.  
  6733. procedure TSecurityDescriptorProperties.Set_DaclDefaulted(retval: WordBool);
  6734. begin
  6735.   DefaultInterface.Set_DaclDefaulted(retval);
  6736. end;
  6737.  
  6738. function  TSecurityDescriptorProperties.Get_SystemAcl: IDispatch;
  6739. begin
  6740.   Result := DefaultInterface.Get_SystemAcl;
  6741. end;
  6742.  
  6743. procedure TSecurityDescriptorProperties.Set_SystemAcl(const retval: IDispatch);
  6744. begin
  6745.   DefaultInterface.Set_SystemAcl(retval);
  6746. end;
  6747.  
  6748. function  TSecurityDescriptorProperties.Get_SaclDefaulted: WordBool;
  6749. begin
  6750.   Result := DefaultInterface.Get_SaclDefaulted;
  6751. end;
  6752.  
  6753. procedure TSecurityDescriptorProperties.Set_SaclDefaulted(retval: WordBool);
  6754. begin
  6755.   DefaultInterface.Set_SaclDefaulted(retval);
  6756. end;
  6757.  
  6758. {$ENDIF}
  6759.  
  6760. class function CoLargeInteger.Create: IADsLargeInteger;
  6761. begin
  6762.   Result := CreateComObject(CLASS_LargeInteger) as IADsLargeInteger;
  6763. end;
  6764.  
  6765. class function CoLargeInteger.CreateRemote(const MachineName: string): IADsLargeInteger;
  6766. begin
  6767.   Result := CreateRemoteComObject(MachineName, CLASS_LargeInteger) as IADsLargeInteger;
  6768. end;
  6769.  
  6770. procedure TLargeInteger.InitServerData;
  6771. const
  6772.   CServerData: TServerData = (
  6773.     ClassID:   '{927971F5-0939-11D1-8BE1-00C04FD8D503}';
  6774.     IntfIID:   '{9068270B-0939-11D1-8BE1-00C04FD8D503}';
  6775.     EventIID:  '';
  6776.     LicenseKey: nil;
  6777.     Version: 500);
  6778. begin
  6779.   ServerData := @CServerData;
  6780. end;
  6781.  
  6782. procedure TLargeInteger.Connect;
  6783. var
  6784.   punk: IUnknown;
  6785. begin
  6786.   if FIntf = nil then
  6787.   begin
  6788.     punk := GetServer;
  6789.     Fintf:= punk as IADsLargeInteger;
  6790.   end;
  6791. end;
  6792.  
  6793. procedure TLargeInteger.ConnectTo(svrIntf: IADsLargeInteger);
  6794. begin
  6795.   Disconnect;
  6796.   FIntf := svrIntf;
  6797. end;
  6798.  
  6799. procedure TLargeInteger.DisConnect;
  6800. begin
  6801.   if Fintf <> nil then
  6802.   begin
  6803.     FIntf := nil;
  6804.   end;
  6805. end;
  6806.  
  6807. function TLargeInteger.GetDefaultInterface: IADsLargeInteger;
  6808. begin
  6809.   if FIntf = nil then
  6810.     Connect;
  6811.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  6812.   Result := FIntf;
  6813. end;
  6814.  
  6815. constructor TLargeInteger.Create(AOwner: TComponent);
  6816. begin
  6817.   inherited Create(AOwner);
  6818. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6819.   FProps := TLargeIntegerProperties.Create(Self);
  6820. {$ENDIF}
  6821. end;
  6822.  
  6823. destructor TLargeInteger.Destroy;
  6824. begin
  6825. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6826.   FProps.Free;
  6827. {$ENDIF}
  6828.   inherited Destroy;
  6829. end;
  6830.  
  6831. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6832. function TLargeInteger.GetServerProperties: TLargeIntegerProperties;
  6833. begin
  6834.   Result := FProps;
  6835. end;
  6836. {$ENDIF}
  6837.  
  6838. function  TLargeInteger.Get_HighPart: Integer;
  6839. begin
  6840.   Result := DefaultInterface.Get_HighPart;
  6841. end;
  6842.  
  6843. procedure TLargeInteger.Set_HighPart(retval: Integer);
  6844. begin
  6845.   DefaultInterface.Set_HighPart(retval);
  6846. end;
  6847.  
  6848. function  TLargeInteger.Get_LowPart: Integer;
  6849. begin
  6850.   Result := DefaultInterface.Get_LowPart;
  6851. end;
  6852.  
  6853. procedure TLargeInteger.Set_LowPart(retval: Integer);
  6854. begin
  6855.   DefaultInterface.Set_LowPart(retval);
  6856. end;
  6857.  
  6858. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6859. constructor TLargeIntegerProperties.Create(AServer: TLargeInteger);
  6860. begin
  6861.   inherited Create;
  6862.   FServer := AServer;
  6863. end;
  6864.  
  6865. function TLargeIntegerProperties.GetDefaultInterface: IADsLargeInteger;
  6866. begin
  6867.   Result := FServer.DefaultInterface;
  6868. end;
  6869.  
  6870. function  TLargeIntegerProperties.Get_HighPart: Integer;
  6871. begin
  6872.   Result := DefaultInterface.Get_HighPart;
  6873. end;
  6874.  
  6875. procedure TLargeIntegerProperties.Set_HighPart(retval: Integer);
  6876. begin
  6877.   DefaultInterface.Set_HighPart(retval);
  6878. end;
  6879.  
  6880. function  TLargeIntegerProperties.Get_LowPart: Integer;
  6881. begin
  6882.   Result := DefaultInterface.Get_LowPart;
  6883. end;
  6884.  
  6885. procedure TLargeIntegerProperties.Set_LowPart(retval: Integer);
  6886. begin
  6887.   DefaultInterface.Set_LowPart(retval);
  6888. end;
  6889.  
  6890. {$ENDIF}
  6891.  
  6892. class function CoNameTranslate.Create: IADsNameTranslate;
  6893. begin
  6894.   Result := CreateComObject(CLASS_NameTranslate) as IADsNameTranslate;
  6895. end;
  6896.  
  6897. class function CoNameTranslate.CreateRemote(const MachineName: string): IADsNameTranslate;
  6898. begin
  6899.   Result := CreateRemoteComObject(MachineName, CLASS_NameTranslate) as IADsNameTranslate;
  6900. end;
  6901.  
  6902. procedure TNameTranslate.InitServerData;
  6903. const
  6904.   CServerData: TServerData = (
  6905.     ClassID:   '{274FAE1F-3626-11D1-A3A4-00C04FB950DC}';
  6906.     IntfIID:   '{B1B272A3-3625-11D1-A3A4-00C04FB950DC}';
  6907.     EventIID:  '';
  6908.     LicenseKey: nil;
  6909.     Version: 500);
  6910. begin
  6911.   ServerData := @CServerData;
  6912. end;
  6913.  
  6914. procedure TNameTranslate.Connect;
  6915. var
  6916.   punk: IUnknown;
  6917. begin
  6918.   if FIntf = nil then
  6919.   begin
  6920.     punk := GetServer;
  6921.     Fintf:= punk as IADsNameTranslate;
  6922.   end;
  6923. end;
  6924.  
  6925. procedure TNameTranslate.ConnectTo(svrIntf: IADsNameTranslate);
  6926. begin
  6927.   Disconnect;
  6928.   FIntf := svrIntf;
  6929. end;
  6930.  
  6931. procedure TNameTranslate.DisConnect;
  6932. begin
  6933.   if Fintf <> nil then
  6934.   begin
  6935.     FIntf := nil;
  6936.   end;
  6937. end;
  6938.  
  6939. function TNameTranslate.GetDefaultInterface: IADsNameTranslate;
  6940. begin
  6941.   if FIntf = nil then
  6942.     Connect;
  6943.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  6944.   Result := FIntf;
  6945. end;
  6946.  
  6947. constructor TNameTranslate.Create(AOwner: TComponent);
  6948. begin
  6949.   inherited Create(AOwner);
  6950. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6951.   FProps := TNameTranslateProperties.Create(Self);
  6952. {$ENDIF}
  6953. end;
  6954.  
  6955. destructor TNameTranslate.Destroy;
  6956. begin
  6957. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6958.   FProps.Free;
  6959. {$ENDIF}
  6960.   inherited Destroy;
  6961. end;
  6962.  
  6963. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  6964. function TNameTranslate.GetServerProperties: TNameTranslateProperties;
  6965. begin
  6966.   Result := FProps;
  6967. end;
  6968. {$ENDIF}
  6969.  
  6970. procedure TNameTranslate.Set_ChaseReferral(Param1: Integer);
  6971. begin
  6972.   DefaultInterface.Set_ChaseReferral(Param1);
  6973. end;
  6974.  
  6975. procedure TNameTranslate.Init(lnSetType: Integer; const bstrADsPath: WideString);
  6976. begin
  6977.   DefaultInterface.Init(lnSetType, bstrADsPath);
  6978. end;
  6979.  
  6980. procedure TNameTranslate.InitEx(lnSetType: Integer; const bstrADsPath: WideString; 
  6981.                                 const bstrUserID: WideString; const bstrDomain: WideString; 
  6982.                                 const bstrPassword: WideString);
  6983. begin
  6984.   DefaultInterface.InitEx(lnSetType, bstrADsPath, bstrUserID, bstrDomain, bstrPassword);
  6985. end;
  6986.  
  6987. procedure TNameTranslate.Set_(lnSetType: Integer; const bstrADsPath: WideString);
  6988. begin
  6989.   DefaultInterface.Set_(lnSetType, bstrADsPath);
  6990. end;
  6991.  
  6992. function  TNameTranslate.Get(lnFormatType: Integer): WideString;
  6993. begin
  6994.   Result := DefaultInterface.Get(lnFormatType);
  6995. end;
  6996.  
  6997. procedure TNameTranslate.SetEx(lnFormatType: Integer; pVar: OleVariant);
  6998. begin
  6999.   DefaultInterface.SetEx(lnFormatType, pVar);
  7000. end;
  7001.  
  7002. function  TNameTranslate.GetEx(lnFormatType: Integer): OleVariant;
  7003. begin
  7004.   Result := DefaultInterface.GetEx(lnFormatType);
  7005. end;
  7006.  
  7007. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7008. constructor TNameTranslateProperties.Create(AServer: TNameTranslate);
  7009. begin
  7010.   inherited Create;
  7011.   FServer := AServer;
  7012. end;
  7013.  
  7014. function TNameTranslateProperties.GetDefaultInterface: IADsNameTranslate;
  7015. begin
  7016.   Result := FServer.DefaultInterface;
  7017. end;
  7018.  
  7019. procedure TNameTranslateProperties.Set_ChaseReferral(Param1: Integer);
  7020. begin
  7021.   DefaultInterface.Set_ChaseReferral(Param1);
  7022. end;
  7023.  
  7024. {$ENDIF}
  7025.  
  7026. class function CoCaseIgnoreList.Create: IADsCaseIgnoreList;
  7027. begin
  7028.   Result := CreateComObject(CLASS_CaseIgnoreList) as IADsCaseIgnoreList;
  7029. end;
  7030.  
  7031. class function CoCaseIgnoreList.CreateRemote(const MachineName: string): IADsCaseIgnoreList;
  7032. begin
  7033.   Result := CreateRemoteComObject(MachineName, CLASS_CaseIgnoreList) as IADsCaseIgnoreList;
  7034. end;
  7035.  
  7036. procedure TCaseIgnoreList.InitServerData;
  7037. const
  7038.   CServerData: TServerData = (
  7039.     ClassID:   '{15F88A55-4680-11D1-A3B4-00C04FB950DC}';
  7040.     IntfIID:   '{7B66B533-4680-11D1-A3B4-00C04FB950DC}';
  7041.     EventIID:  '';
  7042.     LicenseKey: nil;
  7043.     Version: 500);
  7044. begin
  7045.   ServerData := @CServerData;
  7046. end;
  7047.  
  7048. procedure TCaseIgnoreList.Connect;
  7049. var
  7050.   punk: IUnknown;
  7051. begin
  7052.   if FIntf = nil then
  7053.   begin
  7054.     punk := GetServer;
  7055.     Fintf:= punk as IADsCaseIgnoreList;
  7056.   end;
  7057. end;
  7058.  
  7059. procedure TCaseIgnoreList.ConnectTo(svrIntf: IADsCaseIgnoreList);
  7060. begin
  7061.   Disconnect;
  7062.   FIntf := svrIntf;
  7063. end;
  7064.  
  7065. procedure TCaseIgnoreList.DisConnect;
  7066. begin
  7067.   if Fintf <> nil then
  7068.   begin
  7069.     FIntf := nil;
  7070.   end;
  7071. end;
  7072.  
  7073. function TCaseIgnoreList.GetDefaultInterface: IADsCaseIgnoreList;
  7074. begin
  7075.   if FIntf = nil then
  7076.     Connect;
  7077.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  7078.   Result := FIntf;
  7079. end;
  7080.  
  7081. constructor TCaseIgnoreList.Create(AOwner: TComponent);
  7082. begin
  7083.   inherited Create(AOwner);
  7084. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7085.   FProps := TCaseIgnoreListProperties.Create(Self);
  7086. {$ENDIF}
  7087. end;
  7088.  
  7089. destructor TCaseIgnoreList.Destroy;
  7090. begin
  7091. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7092.   FProps.Free;
  7093. {$ENDIF}
  7094.   inherited Destroy;
  7095. end;
  7096.  
  7097. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7098. function TCaseIgnoreList.GetServerProperties: TCaseIgnoreListProperties;
  7099. begin
  7100.   Result := FProps;
  7101. end;
  7102. {$ENDIF}
  7103.  
  7104. function  TCaseIgnoreList.Get_CaseIgnoreList: OleVariant;
  7105. begin
  7106.   Result := DefaultInterface.Get_CaseIgnoreList;
  7107. end;
  7108.  
  7109. procedure TCaseIgnoreList.Set_CaseIgnoreList(retval: OleVariant);
  7110. begin
  7111.   DefaultInterface.Set_CaseIgnoreList(retval);
  7112. end;
  7113.  
  7114. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7115. constructor TCaseIgnoreListProperties.Create(AServer: TCaseIgnoreList);
  7116. begin
  7117.   inherited Create;
  7118.   FServer := AServer;
  7119. end;
  7120.  
  7121. function TCaseIgnoreListProperties.GetDefaultInterface: IADsCaseIgnoreList;
  7122. begin
  7123.   Result := FServer.DefaultInterface;
  7124. end;
  7125.  
  7126. function  TCaseIgnoreListProperties.Get_CaseIgnoreList: OleVariant;
  7127. begin
  7128.   Result := DefaultInterface.Get_CaseIgnoreList;
  7129. end;
  7130.  
  7131. procedure TCaseIgnoreListProperties.Set_CaseIgnoreList(retval: OleVariant);
  7132. begin
  7133.   DefaultInterface.Set_CaseIgnoreList(retval);
  7134. end;
  7135.  
  7136. {$ENDIF}
  7137.  
  7138. class function CoFaxNumber.Create: IADsFaxNumber;
  7139. begin
  7140.   Result := CreateComObject(CLASS_FaxNumber) as IADsFaxNumber;
  7141. end;
  7142.  
  7143. class function CoFaxNumber.CreateRemote(const MachineName: string): IADsFaxNumber;
  7144. begin
  7145.   Result := CreateRemoteComObject(MachineName, CLASS_FaxNumber) as IADsFaxNumber;
  7146. end;
  7147.  
  7148. procedure TFaxNumber.InitServerData;
  7149. const
  7150.   CServerData: TServerData = (
  7151.     ClassID:   '{A5062215-4681-11D1-A3B4-00C04FB950DC}';
  7152.     IntfIID:   '{A910DEA9-4680-11D1-A3B4-00C04FB950DC}';
  7153.     EventIID:  '';
  7154.     LicenseKey: nil;
  7155.     Version: 500);
  7156. begin
  7157.   ServerData := @CServerData;
  7158. end;
  7159.  
  7160. procedure TFaxNumber.Connect;
  7161. var
  7162.   punk: IUnknown;
  7163. begin
  7164.   if FIntf = nil then
  7165.   begin
  7166.     punk := GetServer;
  7167.     Fintf:= punk as IADsFaxNumber;
  7168.   end;
  7169. end;
  7170.  
  7171. procedure TFaxNumber.ConnectTo(svrIntf: IADsFaxNumber);
  7172. begin
  7173.   Disconnect;
  7174.   FIntf := svrIntf;
  7175. end;
  7176.  
  7177. procedure TFaxNumber.DisConnect;
  7178. begin
  7179.   if Fintf <> nil then
  7180.   begin
  7181.     FIntf := nil;
  7182.   end;
  7183. end;
  7184.  
  7185. function TFaxNumber.GetDefaultInterface: IADsFaxNumber;
  7186. begin
  7187.   if FIntf = nil then
  7188.     Connect;
  7189.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  7190.   Result := FIntf;
  7191. end;
  7192.  
  7193. constructor TFaxNumber.Create(AOwner: TComponent);
  7194. begin
  7195.   inherited Create(AOwner);
  7196. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7197.   FProps := TFaxNumberProperties.Create(Self);
  7198. {$ENDIF}
  7199. end;
  7200.  
  7201. destructor TFaxNumber.Destroy;
  7202. begin
  7203. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7204.   FProps.Free;
  7205. {$ENDIF}
  7206.   inherited Destroy;
  7207. end;
  7208.  
  7209. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7210. function TFaxNumber.GetServerProperties: TFaxNumberProperties;
  7211. begin
  7212.   Result := FProps;
  7213. end;
  7214. {$ENDIF}
  7215.  
  7216. function  TFaxNumber.Get_TelephoneNumber: WideString;
  7217. begin
  7218.   Result := DefaultInterface.Get_TelephoneNumber;
  7219. end;
  7220.  
  7221. procedure TFaxNumber.Set_TelephoneNumber(const retval: WideString);
  7222. begin
  7223.   DefaultInterface.Set_TelephoneNumber(retval);
  7224. end;
  7225.  
  7226. function  TFaxNumber.Get_Parameters: OleVariant;
  7227. begin
  7228.   Result := DefaultInterface.Get_Parameters;
  7229. end;
  7230.  
  7231. procedure TFaxNumber.Set_Parameters(retval: OleVariant);
  7232. begin
  7233.   DefaultInterface.Set_Parameters(retval);
  7234. end;
  7235.  
  7236. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7237. constructor TFaxNumberProperties.Create(AServer: TFaxNumber);
  7238. begin
  7239.   inherited Create;
  7240.   FServer := AServer;
  7241. end;
  7242.  
  7243. function TFaxNumberProperties.GetDefaultInterface: IADsFaxNumber;
  7244. begin
  7245.   Result := FServer.DefaultInterface;
  7246. end;
  7247.  
  7248. function  TFaxNumberProperties.Get_TelephoneNumber: WideString;
  7249. begin
  7250.   Result := DefaultInterface.Get_TelephoneNumber;
  7251. end;
  7252.  
  7253. procedure TFaxNumberProperties.Set_TelephoneNumber(const retval: WideString);
  7254. begin
  7255.   DefaultInterface.Set_TelephoneNumber(retval);
  7256. end;
  7257.  
  7258. function  TFaxNumberProperties.Get_Parameters: OleVariant;
  7259. begin
  7260.   Result := DefaultInterface.Get_Parameters;
  7261. end;
  7262.  
  7263. procedure TFaxNumberProperties.Set_Parameters(retval: OleVariant);
  7264. begin
  7265.   DefaultInterface.Set_Parameters(retval);
  7266. end;
  7267.  
  7268. {$ENDIF}
  7269.  
  7270. class function CoNetAddress.Create: IADsNetAddress;
  7271. begin
  7272.   Result := CreateComObject(CLASS_NetAddress) as IADsNetAddress;
  7273. end;
  7274.  
  7275. class function CoNetAddress.CreateRemote(const MachineName: string): IADsNetAddress;
  7276. begin
  7277.   Result := CreateRemoteComObject(MachineName, CLASS_NetAddress) as IADsNetAddress;
  7278. end;
  7279.  
  7280. procedure TNetAddress.InitServerData;
  7281. const
  7282.   CServerData: TServerData = (
  7283.     ClassID:   '{B0B71247-4080-11D1-A3AC-00C04FB950DC}';
  7284.     IntfIID:   '{B21A50A9-4080-11D1-A3AC-00C04FB950DC}';
  7285.     EventIID:  '';
  7286.     LicenseKey: nil;
  7287.     Version: 500);
  7288. begin
  7289.   ServerData := @CServerData;
  7290. end;
  7291.  
  7292. procedure TNetAddress.Connect;
  7293. var
  7294.   punk: IUnknown;
  7295. begin
  7296.   if FIntf = nil then
  7297.   begin
  7298.     punk := GetServer;
  7299.     Fintf:= punk as IADsNetAddress;
  7300.   end;
  7301. end;
  7302.  
  7303. procedure TNetAddress.ConnectTo(svrIntf: IADsNetAddress);
  7304. begin
  7305.   Disconnect;
  7306.   FIntf := svrIntf;
  7307. end;
  7308.  
  7309. procedure TNetAddress.DisConnect;
  7310. begin
  7311.   if Fintf <> nil then
  7312.   begin
  7313.     FIntf := nil;
  7314.   end;
  7315. end;
  7316.  
  7317. function TNetAddress.GetDefaultInterface: IADsNetAddress;
  7318. begin
  7319.   if FIntf = nil then
  7320.     Connect;
  7321.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  7322.   Result := FIntf;
  7323. end;
  7324.  
  7325. constructor TNetAddress.Create(AOwner: TComponent);
  7326. begin
  7327.   inherited Create(AOwner);
  7328. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7329.   FProps := TNetAddressProperties.Create(Self);
  7330. {$ENDIF}
  7331. end;
  7332.  
  7333. destructor TNetAddress.Destroy;
  7334. begin
  7335. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7336.   FProps.Free;
  7337. {$ENDIF}
  7338.   inherited Destroy;
  7339. end;
  7340.  
  7341. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7342. function TNetAddress.GetServerProperties: TNetAddressProperties;
  7343. begin
  7344.   Result := FProps;
  7345. end;
  7346. {$ENDIF}
  7347.  
  7348. function  TNetAddress.Get_AddressType: Integer;
  7349. begin
  7350.   Result := DefaultInterface.Get_AddressType;
  7351. end;
  7352.  
  7353. procedure TNetAddress.Set_AddressType(retval: Integer);
  7354. begin
  7355.   DefaultInterface.Set_AddressType(retval);
  7356. end;
  7357.  
  7358. function  TNetAddress.Get_Address: OleVariant;
  7359. begin
  7360.   Result := DefaultInterface.Get_Address;
  7361. end;
  7362.  
  7363. procedure TNetAddress.Set_Address(retval: OleVariant);
  7364. begin
  7365.   DefaultInterface.Set_Address(retval);
  7366. end;
  7367.  
  7368. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7369. constructor TNetAddressProperties.Create(AServer: TNetAddress);
  7370. begin
  7371.   inherited Create;
  7372.   FServer := AServer;
  7373. end;
  7374.  
  7375. function TNetAddressProperties.GetDefaultInterface: IADsNetAddress;
  7376. begin
  7377.   Result := FServer.DefaultInterface;
  7378. end;
  7379.  
  7380. function  TNetAddressProperties.Get_AddressType: Integer;
  7381. begin
  7382.   Result := DefaultInterface.Get_AddressType;
  7383. end;
  7384.  
  7385. procedure TNetAddressProperties.Set_AddressType(retval: Integer);
  7386. begin
  7387.   DefaultInterface.Set_AddressType(retval);
  7388. end;
  7389.  
  7390. function  TNetAddressProperties.Get_Address: OleVariant;
  7391. begin
  7392.   Result := DefaultInterface.Get_Address;
  7393. end;
  7394.  
  7395. procedure TNetAddressProperties.Set_Address(retval: OleVariant);
  7396. begin
  7397.   DefaultInterface.Set_Address(retval);
  7398. end;
  7399.  
  7400. {$ENDIF}
  7401.  
  7402. class function CoOctetList.Create: IADsOctetList;
  7403. begin
  7404.   Result := CreateComObject(CLASS_OctetList) as IADsOctetList;
  7405. end;
  7406.  
  7407. class function CoOctetList.CreateRemote(const MachineName: string): IADsOctetList;
  7408. begin
  7409.   Result := CreateRemoteComObject(MachineName, CLASS_OctetList) as IADsOctetList;
  7410. end;
  7411.  
  7412. procedure TOctetList.InitServerData;
  7413. const
  7414.   CServerData: TServerData = (
  7415.     ClassID:   '{1241400F-4680-11D1-A3B4-00C04FB950DC}';
  7416.     IntfIID:   '{7B28B80F-4680-11D1-A3B4-00C04FB950DC}';
  7417.     EventIID:  '';
  7418.     LicenseKey: nil;
  7419.     Version: 500);
  7420. begin
  7421.   ServerData := @CServerData;
  7422. end;
  7423.  
  7424. procedure TOctetList.Connect;
  7425. var
  7426.   punk: IUnknown;
  7427. begin
  7428.   if FIntf = nil then
  7429.   begin
  7430.     punk := GetServer;
  7431.     Fintf:= punk as IADsOctetList;
  7432.   end;
  7433. end;
  7434.  
  7435. procedure TOctetList.ConnectTo(svrIntf: IADsOctetList);
  7436. begin
  7437.   Disconnect;
  7438.   FIntf := svrIntf;
  7439. end;
  7440.  
  7441. procedure TOctetList.DisConnect;
  7442. begin
  7443.   if Fintf <> nil then
  7444.   begin
  7445.     FIntf := nil;
  7446.   end;
  7447. end;
  7448.  
  7449. function TOctetList.GetDefaultInterface: IADsOctetList;
  7450. begin
  7451.   if FIntf = nil then
  7452.     Connect;
  7453.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  7454.   Result := FIntf;
  7455. end;
  7456.  
  7457. constructor TOctetList.Create(AOwner: TComponent);
  7458. begin
  7459.   inherited Create(AOwner);
  7460. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7461.   FProps := TOctetListProperties.Create(Self);
  7462. {$ENDIF}
  7463. end;
  7464.  
  7465. destructor TOctetList.Destroy;
  7466. begin
  7467. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7468.   FProps.Free;
  7469. {$ENDIF}
  7470.   inherited Destroy;
  7471. end;
  7472.  
  7473. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7474. function TOctetList.GetServerProperties: TOctetListProperties;
  7475. begin
  7476.   Result := FProps;
  7477. end;
  7478. {$ENDIF}
  7479.  
  7480. function  TOctetList.Get_OctetList: OleVariant;
  7481. begin
  7482.   Result := DefaultInterface.Get_OctetList;
  7483. end;
  7484.  
  7485. procedure TOctetList.Set_OctetList(retval: OleVariant);
  7486. begin
  7487.   DefaultInterface.Set_OctetList(retval);
  7488. end;
  7489.  
  7490. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7491. constructor TOctetListProperties.Create(AServer: TOctetList);
  7492. begin
  7493.   inherited Create;
  7494.   FServer := AServer;
  7495. end;
  7496.  
  7497. function TOctetListProperties.GetDefaultInterface: IADsOctetList;
  7498. begin
  7499.   Result := FServer.DefaultInterface;
  7500. end;
  7501.  
  7502. function  TOctetListProperties.Get_OctetList: OleVariant;
  7503. begin
  7504.   Result := DefaultInterface.Get_OctetList;
  7505. end;
  7506.  
  7507. procedure TOctetListProperties.Set_OctetList(retval: OleVariant);
  7508. begin
  7509.   DefaultInterface.Set_OctetList(retval);
  7510. end;
  7511.  
  7512. {$ENDIF}
  7513.  
  7514. class function CoEmail.Create: IADsEmail;
  7515. begin
  7516.   Result := CreateComObject(CLASS_Email) as IADsEmail;
  7517. end;
  7518.  
  7519. class function CoEmail.CreateRemote(const MachineName: string): IADsEmail;
  7520. begin
  7521.   Result := CreateRemoteComObject(MachineName, CLASS_Email) as IADsEmail;
  7522. end;
  7523.  
  7524. procedure TEmail.InitServerData;
  7525. const
  7526.   CServerData: TServerData = (
  7527.     ClassID:   '{8F92A857-478E-11D1-A3B4-00C04FB950DC}';
  7528.     IntfIID:   '{97AF011A-478E-11D1-A3B4-00C04FB950DC}';
  7529.     EventIID:  '';
  7530.     LicenseKey: nil;
  7531.     Version: 500);
  7532. begin
  7533.   ServerData := @CServerData;
  7534. end;
  7535.  
  7536. procedure TEmail.Connect;
  7537. var
  7538.   punk: IUnknown;
  7539. begin
  7540.   if FIntf = nil then
  7541.   begin
  7542.     punk := GetServer;
  7543.     Fintf:= punk as IADsEmail;
  7544.   end;
  7545. end;
  7546.  
  7547. procedure TEmail.ConnectTo(svrIntf: IADsEmail);
  7548. begin
  7549.   Disconnect;
  7550.   FIntf := svrIntf;
  7551. end;
  7552.  
  7553. procedure TEmail.DisConnect;
  7554. begin
  7555.   if Fintf <> nil then
  7556.   begin
  7557.     FIntf := nil;
  7558.   end;
  7559. end;
  7560.  
  7561. function TEmail.GetDefaultInterface: IADsEmail;
  7562. begin
  7563.   if FIntf = nil then
  7564.     Connect;
  7565.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  7566.   Result := FIntf;
  7567. end;
  7568.  
  7569. constructor TEmail.Create(AOwner: TComponent);
  7570. begin
  7571.   inherited Create(AOwner);
  7572. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7573.   FProps := TEmailProperties.Create(Self);
  7574. {$ENDIF}
  7575. end;
  7576.  
  7577. destructor TEmail.Destroy;
  7578. begin
  7579. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7580.   FProps.Free;
  7581. {$ENDIF}
  7582.   inherited Destroy;
  7583. end;
  7584.  
  7585. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7586. function TEmail.GetServerProperties: TEmailProperties;
  7587. begin
  7588.   Result := FProps;
  7589. end;
  7590. {$ENDIF}
  7591.  
  7592. function  TEmail.Get_Type_: Integer;
  7593. begin
  7594.   Result := DefaultInterface.Get_Type_;
  7595. end;
  7596.  
  7597. procedure TEmail.Set_Type_(retval: Integer);
  7598. begin
  7599.   DefaultInterface.Set_Type_(retval);
  7600. end;
  7601.  
  7602. function  TEmail.Get_Address: WideString;
  7603. begin
  7604.   Result := DefaultInterface.Get_Address;
  7605. end;
  7606.  
  7607. procedure TEmail.Set_Address(const retval: WideString);
  7608. begin
  7609.   DefaultInterface.Set_Address(retval);
  7610. end;
  7611.  
  7612. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7613. constructor TEmailProperties.Create(AServer: TEmail);
  7614. begin
  7615.   inherited Create;
  7616.   FServer := AServer;
  7617. end;
  7618.  
  7619. function TEmailProperties.GetDefaultInterface: IADsEmail;
  7620. begin
  7621.   Result := FServer.DefaultInterface;
  7622. end;
  7623.  
  7624. function  TEmailProperties.Get_Type_: Integer;
  7625. begin
  7626.   Result := DefaultInterface.Get_Type_;
  7627. end;
  7628.  
  7629. procedure TEmailProperties.Set_Type_(retval: Integer);
  7630. begin
  7631.   DefaultInterface.Set_Type_(retval);
  7632. end;
  7633.  
  7634. function  TEmailProperties.Get_Address: WideString;
  7635. begin
  7636.   Result := DefaultInterface.Get_Address;
  7637. end;
  7638.  
  7639. procedure TEmailProperties.Set_Address(const retval: WideString);
  7640. begin
  7641.   DefaultInterface.Set_Address(retval);
  7642. end;
  7643.  
  7644. {$ENDIF}
  7645.  
  7646. class function CoPath.Create: IADsPath;
  7647. begin
  7648.   Result := CreateComObject(CLASS_Path) as IADsPath;
  7649. end;
  7650.  
  7651. class function CoPath.CreateRemote(const MachineName: string): IADsPath;
  7652. begin
  7653.   Result := CreateRemoteComObject(MachineName, CLASS_Path) as IADsPath;
  7654. end;
  7655.  
  7656. procedure TPath.InitServerData;
  7657. const
  7658.   CServerData: TServerData = (
  7659.     ClassID:   '{B2538919-4080-11D1-A3AC-00C04FB950DC}';
  7660.     IntfIID:   '{B287FCD5-4080-11D1-A3AC-00C04FB950DC}';
  7661.     EventIID:  '';
  7662.     LicenseKey: nil;
  7663.     Version: 500);
  7664. begin
  7665.   ServerData := @CServerData;
  7666. end;
  7667.  
  7668. procedure TPath.Connect;
  7669. var
  7670.   punk: IUnknown;
  7671. begin
  7672.   if FIntf = nil then
  7673.   begin
  7674.     punk := GetServer;
  7675.     Fintf:= punk as IADsPath;
  7676.   end;
  7677. end;
  7678.  
  7679. procedure TPath.ConnectTo(svrIntf: IADsPath);
  7680. begin
  7681.   Disconnect;
  7682.   FIntf := svrIntf;
  7683. end;
  7684.  
  7685. procedure TPath.DisConnect;
  7686. begin
  7687.   if Fintf <> nil then
  7688.   begin
  7689.     FIntf := nil;
  7690.   end;
  7691. end;
  7692.  
  7693. function TPath.GetDefaultInterface: IADsPath;
  7694. begin
  7695.   if FIntf = nil then
  7696.     Connect;
  7697.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  7698.   Result := FIntf;
  7699. end;
  7700.  
  7701. constructor TPath.Create(AOwner: TComponent);
  7702. begin
  7703.   inherited Create(AOwner);
  7704. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7705.   FProps := TPathProperties.Create(Self);
  7706. {$ENDIF}
  7707. end;
  7708.  
  7709. destructor TPath.Destroy;
  7710. begin
  7711. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7712.   FProps.Free;
  7713. {$ENDIF}
  7714.   inherited Destroy;
  7715. end;
  7716.  
  7717. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7718. function TPath.GetServerProperties: TPathProperties;
  7719. begin
  7720.   Result := FProps;
  7721. end;
  7722. {$ENDIF}
  7723.  
  7724. function  TPath.Get_Type_: Integer;
  7725. begin
  7726.   Result := DefaultInterface.Get_Type_;
  7727. end;
  7728.  
  7729. procedure TPath.Set_Type_(retval: Integer);
  7730. begin
  7731.   DefaultInterface.Set_Type_(retval);
  7732. end;
  7733.  
  7734. function  TPath.Get_VolumeName: WideString;
  7735. begin
  7736.   Result := DefaultInterface.Get_VolumeName;
  7737. end;
  7738.  
  7739. procedure TPath.Set_VolumeName(const retval: WideString);
  7740. begin
  7741.   DefaultInterface.Set_VolumeName(retval);
  7742. end;
  7743.  
  7744. function  TPath.Get_Path: WideString;
  7745. begin
  7746.   Result := DefaultInterface.Get_Path;
  7747. end;
  7748.  
  7749. procedure TPath.Set_Path(const retval: WideString);
  7750. begin
  7751.   DefaultInterface.Set_Path(retval);
  7752. end;
  7753.  
  7754. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7755. constructor TPathProperties.Create(AServer: TPath);
  7756. begin
  7757.   inherited Create;
  7758.   FServer := AServer;
  7759. end;
  7760.  
  7761. function TPathProperties.GetDefaultInterface: IADsPath;
  7762. begin
  7763.   Result := FServer.DefaultInterface;
  7764. end;
  7765.  
  7766. function  TPathProperties.Get_Type_: Integer;
  7767. begin
  7768.   Result := DefaultInterface.Get_Type_;
  7769. end;
  7770.  
  7771. procedure TPathProperties.Set_Type_(retval: Integer);
  7772. begin
  7773.   DefaultInterface.Set_Type_(retval);
  7774. end;
  7775.  
  7776. function  TPathProperties.Get_VolumeName: WideString;
  7777. begin
  7778.   Result := DefaultInterface.Get_VolumeName;
  7779. end;
  7780.  
  7781. procedure TPathProperties.Set_VolumeName(const retval: WideString);
  7782. begin
  7783.   DefaultInterface.Set_VolumeName(retval);
  7784. end;
  7785.  
  7786. function  TPathProperties.Get_Path: WideString;
  7787. begin
  7788.   Result := DefaultInterface.Get_Path;
  7789. end;
  7790.  
  7791. procedure TPathProperties.Set_Path(const retval: WideString);
  7792. begin
  7793.   DefaultInterface.Set_Path(retval);
  7794. end;
  7795.  
  7796. {$ENDIF}
  7797.  
  7798. class function CoReplicaPointer.Create: IADsReplicaPointer;
  7799. begin
  7800.   Result := CreateComObject(CLASS_ReplicaPointer) as IADsReplicaPointer;
  7801. end;
  7802.  
  7803. class function CoReplicaPointer.CreateRemote(const MachineName: string): IADsReplicaPointer;
  7804. begin
  7805.   Result := CreateRemoteComObject(MachineName, CLASS_ReplicaPointer) as IADsReplicaPointer;
  7806. end;
  7807.  
  7808. procedure TReplicaPointer.InitServerData;
  7809. const
  7810.   CServerData: TServerData = (
  7811.     ClassID:   '{F5D1BADF-4080-11D1-A3AC-00C04FB950DC}';
  7812.     IntfIID:   '{F60FB803-4080-11D1-A3AC-00C04FB950DC}';
  7813.     EventIID:  '';
  7814.     LicenseKey: nil;
  7815.     Version: 500);
  7816. begin
  7817.   ServerData := @CServerData;
  7818. end;
  7819.  
  7820. procedure TReplicaPointer.Connect;
  7821. var
  7822.   punk: IUnknown;
  7823. begin
  7824.   if FIntf = nil then
  7825.   begin
  7826.     punk := GetServer;
  7827.     Fintf:= punk as IADsReplicaPointer;
  7828.   end;
  7829. end;
  7830.  
  7831. procedure TReplicaPointer.ConnectTo(svrIntf: IADsReplicaPointer);
  7832. begin
  7833.   Disconnect;
  7834.   FIntf := svrIntf;
  7835. end;
  7836.  
  7837. procedure TReplicaPointer.DisConnect;
  7838. begin
  7839.   if Fintf <> nil then
  7840.   begin
  7841.     FIntf := nil;
  7842.   end;
  7843. end;
  7844.  
  7845. function TReplicaPointer.GetDefaultInterface: IADsReplicaPointer;
  7846. begin
  7847.   if FIntf = nil then
  7848.     Connect;
  7849.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  7850.   Result := FIntf;
  7851. end;
  7852.  
  7853. constructor TReplicaPointer.Create(AOwner: TComponent);
  7854. begin
  7855.   inherited Create(AOwner);
  7856. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7857.   FProps := TReplicaPointerProperties.Create(Self);
  7858. {$ENDIF}
  7859. end;
  7860.  
  7861. destructor TReplicaPointer.Destroy;
  7862. begin
  7863. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7864.   FProps.Free;
  7865. {$ENDIF}
  7866.   inherited Destroy;
  7867. end;
  7868.  
  7869. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7870. function TReplicaPointer.GetServerProperties: TReplicaPointerProperties;
  7871. begin
  7872.   Result := FProps;
  7873. end;
  7874. {$ENDIF}
  7875.  
  7876. function  TReplicaPointer.Get_ServerName: WideString;
  7877. begin
  7878.   Result := DefaultInterface.Get_ServerName;
  7879. end;
  7880.  
  7881. procedure TReplicaPointer.Set_ServerName(const retval: WideString);
  7882. begin
  7883.   DefaultInterface.Set_ServerName(retval);
  7884. end;
  7885.  
  7886. function  TReplicaPointer.Get_ReplicaType: Integer;
  7887. begin
  7888.   Result := DefaultInterface.Get_ReplicaType;
  7889. end;
  7890.  
  7891. procedure TReplicaPointer.Set_ReplicaType(retval: Integer);
  7892. begin
  7893.   DefaultInterface.Set_ReplicaType(retval);
  7894. end;
  7895.  
  7896. function  TReplicaPointer.Get_ReplicaNumber: Integer;
  7897. begin
  7898.   Result := DefaultInterface.Get_ReplicaNumber;
  7899. end;
  7900.  
  7901. procedure TReplicaPointer.Set_ReplicaNumber(retval: Integer);
  7902. begin
  7903.   DefaultInterface.Set_ReplicaNumber(retval);
  7904. end;
  7905.  
  7906. function  TReplicaPointer.Get_Count: Integer;
  7907. begin
  7908.   Result := DefaultInterface.Get_Count;
  7909. end;
  7910.  
  7911. procedure TReplicaPointer.Set_Count(retval: Integer);
  7912. begin
  7913.   DefaultInterface.Set_Count(retval);
  7914. end;
  7915.  
  7916. function  TReplicaPointer.Get_ReplicaAddressHints: OleVariant;
  7917. begin
  7918.   Result := DefaultInterface.Get_ReplicaAddressHints;
  7919. end;
  7920.  
  7921. procedure TReplicaPointer.Set_ReplicaAddressHints(retval: OleVariant);
  7922. begin
  7923.   DefaultInterface.Set_ReplicaAddressHints(retval);
  7924. end;
  7925.  
  7926. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  7927. constructor TReplicaPointerProperties.Create(AServer: TReplicaPointer);
  7928. begin
  7929.   inherited Create;
  7930.   FServer := AServer;
  7931. end;
  7932.  
  7933. function TReplicaPointerProperties.GetDefaultInterface: IADsReplicaPointer;
  7934. begin
  7935.   Result := FServer.DefaultInterface;
  7936. end;
  7937.  
  7938. function  TReplicaPointerProperties.Get_ServerName: WideString;
  7939. begin
  7940.   Result := DefaultInterface.Get_ServerName;
  7941. end;
  7942.  
  7943. procedure TReplicaPointerProperties.Set_ServerName(const retval: WideString);
  7944. begin
  7945.   DefaultInterface.Set_ServerName(retval);
  7946. end;
  7947.  
  7948. function  TReplicaPointerProperties.Get_ReplicaType: Integer;
  7949. begin
  7950.   Result := DefaultInterface.Get_ReplicaType;
  7951. end;
  7952.  
  7953. procedure TReplicaPointerProperties.Set_ReplicaType(retval: Integer);
  7954. begin
  7955.   DefaultInterface.Set_ReplicaType(retval);
  7956. end;
  7957.  
  7958. function  TReplicaPointerProperties.Get_ReplicaNumber: Integer;
  7959. begin
  7960.   Result := DefaultInterface.Get_ReplicaNumber;
  7961. end;
  7962.  
  7963. procedure TReplicaPointerProperties.Set_ReplicaNumber(retval: Integer);
  7964. begin
  7965.   DefaultInterface.Set_ReplicaNumber(retval);
  7966. end;
  7967.  
  7968. function  TReplicaPointerProperties.Get_Count: Integer;
  7969. begin
  7970.   Result := DefaultInterface.Get_Count;
  7971. end;
  7972.  
  7973. procedure TReplicaPointerProperties.Set_Count(retval: Integer);
  7974. begin
  7975.   DefaultInterface.Set_Count(retval);
  7976. end;
  7977.  
  7978. function  TReplicaPointerProperties.Get_ReplicaAddressHints: OleVariant;
  7979. begin
  7980.   Result := DefaultInterface.Get_ReplicaAddressHints;
  7981. end;
  7982.  
  7983. procedure TReplicaPointerProperties.Set_ReplicaAddressHints(retval: OleVariant);
  7984. begin
  7985.   DefaultInterface.Set_ReplicaAddressHints(retval);
  7986. end;
  7987.  
  7988. {$ENDIF}
  7989.  
  7990. class function CoAcl.Create: IADsAcl;
  7991. begin
  7992.   Result := CreateComObject(CLASS_Acl) as IADsAcl;
  7993. end;
  7994.  
  7995. class function CoAcl.CreateRemote(const MachineName: string): IADsAcl;
  7996. begin
  7997.   Result := CreateRemoteComObject(MachineName, CLASS_Acl) as IADsAcl;
  7998. end;
  7999.  
  8000. procedure TAcl.InitServerData;
  8001. const
  8002.   CServerData: TServerData = (
  8003.     ClassID:   '{7AF1EFB6-0869-11D1-A377-00C04FB950DC}';
  8004.     IntfIID:   '{8452D3AB-0869-11D1-A377-00C04FB950DC}';
  8005.     EventIID:  '';
  8006.     LicenseKey: nil;
  8007.     Version: 500);
  8008. begin
  8009.   ServerData := @CServerData;
  8010. end;
  8011.  
  8012. procedure TAcl.Connect;
  8013. var
  8014.   punk: IUnknown;
  8015. begin
  8016.   if FIntf = nil then
  8017.   begin
  8018.     punk := GetServer;
  8019.     Fintf:= punk as IADsAcl;
  8020.   end;
  8021. end;
  8022.  
  8023. procedure TAcl.ConnectTo(svrIntf: IADsAcl);
  8024. begin
  8025.   Disconnect;
  8026.   FIntf := svrIntf;
  8027. end;
  8028.  
  8029. procedure TAcl.DisConnect;
  8030. begin
  8031.   if Fintf <> nil then
  8032.   begin
  8033.     FIntf := nil;
  8034.   end;
  8035. end;
  8036.  
  8037. function TAcl.GetDefaultInterface: IADsAcl;
  8038. begin
  8039.   if FIntf = nil then
  8040.     Connect;
  8041.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  8042.   Result := FIntf;
  8043. end;
  8044.  
  8045. constructor TAcl.Create(AOwner: TComponent);
  8046. begin
  8047.   inherited Create(AOwner);
  8048. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8049.   FProps := TAclProperties.Create(Self);
  8050. {$ENDIF}
  8051. end;
  8052.  
  8053. destructor TAcl.Destroy;
  8054. begin
  8055. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8056.   FProps.Free;
  8057. {$ENDIF}
  8058.   inherited Destroy;
  8059. end;
  8060.  
  8061. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8062. function TAcl.GetServerProperties: TAclProperties;
  8063. begin
  8064.   Result := FProps;
  8065. end;
  8066. {$ENDIF}
  8067.  
  8068. function  TAcl.Get_ProtectedAttrName: WideString;
  8069. begin
  8070.   Result := DefaultInterface.Get_ProtectedAttrName;
  8071. end;
  8072.  
  8073. procedure TAcl.Set_ProtectedAttrName(const retval: WideString);
  8074. begin
  8075.   DefaultInterface.Set_ProtectedAttrName(retval);
  8076. end;
  8077.  
  8078. function  TAcl.Get_SubjectName: WideString;
  8079. begin
  8080.   Result := DefaultInterface.Get_SubjectName;
  8081. end;
  8082.  
  8083. procedure TAcl.Set_SubjectName(const retval: WideString);
  8084. begin
  8085.   DefaultInterface.Set_SubjectName(retval);
  8086. end;
  8087.  
  8088. function  TAcl.Get_Privileges: Integer;
  8089. begin
  8090.   Result := DefaultInterface.Get_Privileges;
  8091. end;
  8092.  
  8093. procedure TAcl.Set_Privileges(retval: Integer);
  8094. begin
  8095.   DefaultInterface.Set_Privileges(retval);
  8096. end;
  8097.  
  8098. function  TAcl.CopyAcl: IDispatch;
  8099. begin
  8100.   Result := DefaultInterface.CopyAcl;
  8101. end;
  8102.  
  8103. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8104. constructor TAclProperties.Create(AServer: TAcl);
  8105. begin
  8106.   inherited Create;
  8107.   FServer := AServer;
  8108. end;
  8109.  
  8110. function TAclProperties.GetDefaultInterface: IADsAcl;
  8111. begin
  8112.   Result := FServer.DefaultInterface;
  8113. end;
  8114.  
  8115. function  TAclProperties.Get_ProtectedAttrName: WideString;
  8116. begin
  8117.   Result := DefaultInterface.Get_ProtectedAttrName;
  8118. end;
  8119.  
  8120. procedure TAclProperties.Set_ProtectedAttrName(const retval: WideString);
  8121. begin
  8122.   DefaultInterface.Set_ProtectedAttrName(retval);
  8123. end;
  8124.  
  8125. function  TAclProperties.Get_SubjectName: WideString;
  8126. begin
  8127.   Result := DefaultInterface.Get_SubjectName;
  8128. end;
  8129.  
  8130. procedure TAclProperties.Set_SubjectName(const retval: WideString);
  8131. begin
  8132.   DefaultInterface.Set_SubjectName(retval);
  8133. end;
  8134.  
  8135. function  TAclProperties.Get_Privileges: Integer;
  8136. begin
  8137.   Result := DefaultInterface.Get_Privileges;
  8138. end;
  8139.  
  8140. procedure TAclProperties.Set_Privileges(retval: Integer);
  8141. begin
  8142.   DefaultInterface.Set_Privileges(retval);
  8143. end;
  8144.  
  8145. {$ENDIF}
  8146.  
  8147. class function CoTimestamp.Create: IADsTimestamp;
  8148. begin
  8149.   Result := CreateComObject(CLASS_Timestamp) as IADsTimestamp;
  8150. end;
  8151.  
  8152. class function CoTimestamp.CreateRemote(const MachineName: string): IADsTimestamp;
  8153. begin
  8154.   Result := CreateRemoteComObject(MachineName, CLASS_Timestamp) as IADsTimestamp;
  8155. end;
  8156.  
  8157. procedure TTimestamp.InitServerData;
  8158. const
  8159.   CServerData: TServerData = (
  8160.     ClassID:   '{B2BED2EB-4080-11D1-A3AC-00C04FB950DC}';
  8161.     IntfIID:   '{B2F5A901-4080-11D1-A3AC-00C04FB950DC}';
  8162.     EventIID:  '';
  8163.     LicenseKey: nil;
  8164.     Version: 500);
  8165. begin
  8166.   ServerData := @CServerData;
  8167. end;
  8168.  
  8169. procedure TTimestamp.Connect;
  8170. var
  8171.   punk: IUnknown;
  8172. begin
  8173.   if FIntf = nil then
  8174.   begin
  8175.     punk := GetServer;
  8176.     Fintf:= punk as IADsTimestamp;
  8177.   end;
  8178. end;
  8179.  
  8180. procedure TTimestamp.ConnectTo(svrIntf: IADsTimestamp);
  8181. begin
  8182.   Disconnect;
  8183.   FIntf := svrIntf;
  8184. end;
  8185.  
  8186. procedure TTimestamp.DisConnect;
  8187. begin
  8188.   if Fintf <> nil then
  8189.   begin
  8190.     FIntf := nil;
  8191.   end;
  8192. end;
  8193.  
  8194. function TTimestamp.GetDefaultInterface: IADsTimestamp;
  8195. begin
  8196.   if FIntf = nil then
  8197.     Connect;
  8198.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  8199.   Result := FIntf;
  8200. end;
  8201.  
  8202. constructor TTimestamp.Create(AOwner: TComponent);
  8203. begin
  8204.   inherited Create(AOwner);
  8205. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8206.   FProps := TTimestampProperties.Create(Self);
  8207. {$ENDIF}
  8208. end;
  8209.  
  8210. destructor TTimestamp.Destroy;
  8211. begin
  8212. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8213.   FProps.Free;
  8214. {$ENDIF}
  8215.   inherited Destroy;
  8216. end;
  8217.  
  8218. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8219. function TTimestamp.GetServerProperties: TTimestampProperties;
  8220. begin
  8221.   Result := FProps;
  8222. end;
  8223. {$ENDIF}
  8224.  
  8225. function  TTimestamp.Get_WholeSeconds: Integer;
  8226. begin
  8227.   Result := DefaultInterface.Get_WholeSeconds;
  8228. end;
  8229.  
  8230. procedure TTimestamp.Set_WholeSeconds(retval: Integer);
  8231. begin
  8232.   DefaultInterface.Set_WholeSeconds(retval);
  8233. end;
  8234.  
  8235. function  TTimestamp.Get_EventID: Integer;
  8236. begin
  8237.   Result := DefaultInterface.Get_EventID;
  8238. end;
  8239.  
  8240. procedure TTimestamp.Set_EventID(retval: Integer);
  8241. begin
  8242.   DefaultInterface.Set_EventID(retval);
  8243. end;
  8244.  
  8245. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8246. constructor TTimestampProperties.Create(AServer: TTimestamp);
  8247. begin
  8248.   inherited Create;
  8249.   FServer := AServer;
  8250. end;
  8251.  
  8252. function TTimestampProperties.GetDefaultInterface: IADsTimestamp;
  8253. begin
  8254.   Result := FServer.DefaultInterface;
  8255. end;
  8256.  
  8257. function  TTimestampProperties.Get_WholeSeconds: Integer;
  8258. begin
  8259.   Result := DefaultInterface.Get_WholeSeconds;
  8260. end;
  8261.  
  8262. procedure TTimestampProperties.Set_WholeSeconds(retval: Integer);
  8263. begin
  8264.   DefaultInterface.Set_WholeSeconds(retval);
  8265. end;
  8266.  
  8267. function  TTimestampProperties.Get_EventID: Integer;
  8268. begin
  8269.   Result := DefaultInterface.Get_EventID;
  8270. end;
  8271.  
  8272. procedure TTimestampProperties.Set_EventID(retval: Integer);
  8273. begin
  8274.   DefaultInterface.Set_EventID(retval);
  8275. end;
  8276.  
  8277. {$ENDIF}
  8278.  
  8279. class function CoPostalAddress.Create: IADsPostalAddress;
  8280. begin
  8281.   Result := CreateComObject(CLASS_PostalAddress) as IADsPostalAddress;
  8282. end;
  8283.  
  8284. class function CoPostalAddress.CreateRemote(const MachineName: string): IADsPostalAddress;
  8285. begin
  8286.   Result := CreateRemoteComObject(MachineName, CLASS_PostalAddress) as IADsPostalAddress;
  8287. end;
  8288.  
  8289. procedure TPostalAddress.InitServerData;
  8290. const
  8291.   CServerData: TServerData = (
  8292.     ClassID:   '{0A75AFCD-4680-11D1-A3B4-00C04FB950DC}';
  8293.     IntfIID:   '{7ADECF29-4680-11D1-A3B4-00C04FB950DC}';
  8294.     EventIID:  '';
  8295.     LicenseKey: nil;
  8296.     Version: 500);
  8297. begin
  8298.   ServerData := @CServerData;
  8299. end;
  8300.  
  8301. procedure TPostalAddress.Connect;
  8302. var
  8303.   punk: IUnknown;
  8304. begin
  8305.   if FIntf = nil then
  8306.   begin
  8307.     punk := GetServer;
  8308.     Fintf:= punk as IADsPostalAddress;
  8309.   end;
  8310. end;
  8311.  
  8312. procedure TPostalAddress.ConnectTo(svrIntf: IADsPostalAddress);
  8313. begin
  8314.   Disconnect;
  8315.   FIntf := svrIntf;
  8316. end;
  8317.  
  8318. procedure TPostalAddress.DisConnect;
  8319. begin
  8320.   if Fintf <> nil then
  8321.   begin
  8322.     FIntf := nil;
  8323.   end;
  8324. end;
  8325.  
  8326. function TPostalAddress.GetDefaultInterface: IADsPostalAddress;
  8327. begin
  8328.   if FIntf = nil then
  8329.     Connect;
  8330.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  8331.   Result := FIntf;
  8332. end;
  8333.  
  8334. constructor TPostalAddress.Create(AOwner: TComponent);
  8335. begin
  8336.   inherited Create(AOwner);
  8337. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8338.   FProps := TPostalAddressProperties.Create(Self);
  8339. {$ENDIF}
  8340. end;
  8341.  
  8342. destructor TPostalAddress.Destroy;
  8343. begin
  8344. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8345.   FProps.Free;
  8346. {$ENDIF}
  8347.   inherited Destroy;
  8348. end;
  8349.  
  8350. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8351. function TPostalAddress.GetServerProperties: TPostalAddressProperties;
  8352. begin
  8353.   Result := FProps;
  8354. end;
  8355. {$ENDIF}
  8356.  
  8357. function  TPostalAddress.Get_PostalAddress: OleVariant;
  8358. begin
  8359.   Result := DefaultInterface.Get_PostalAddress;
  8360. end;
  8361.  
  8362. procedure TPostalAddress.Set_PostalAddress(retval: OleVariant);
  8363. begin
  8364.   DefaultInterface.Set_PostalAddress(retval);
  8365. end;
  8366.  
  8367. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8368. constructor TPostalAddressProperties.Create(AServer: TPostalAddress);
  8369. begin
  8370.   inherited Create;
  8371.   FServer := AServer;
  8372. end;
  8373.  
  8374. function TPostalAddressProperties.GetDefaultInterface: IADsPostalAddress;
  8375. begin
  8376.   Result := FServer.DefaultInterface;
  8377. end;
  8378.  
  8379. function  TPostalAddressProperties.Get_PostalAddress: OleVariant;
  8380. begin
  8381.   Result := DefaultInterface.Get_PostalAddress;
  8382. end;
  8383.  
  8384. procedure TPostalAddressProperties.Set_PostalAddress(retval: OleVariant);
  8385. begin
  8386.   DefaultInterface.Set_PostalAddress(retval);
  8387. end;
  8388.  
  8389. {$ENDIF}
  8390.  
  8391. class function CoBackLink.Create: IADsBackLink;
  8392. begin
  8393.   Result := CreateComObject(CLASS_BackLink) as IADsBackLink;
  8394. end;
  8395.  
  8396. class function CoBackLink.CreateRemote(const MachineName: string): IADsBackLink;
  8397. begin
  8398.   Result := CreateRemoteComObject(MachineName, CLASS_BackLink) as IADsBackLink;
  8399. end;
  8400.  
  8401. procedure TBackLink.InitServerData;
  8402. const
  8403.   CServerData: TServerData = (
  8404.     ClassID:   '{FCBF906F-4080-11D1-A3AC-00C04FB950DC}';
  8405.     IntfIID:   '{FD1302BD-4080-11D1-A3AC-00C04FB950DC}';
  8406.     EventIID:  '';
  8407.     LicenseKey: nil;
  8408.     Version: 500);
  8409. begin
  8410.   ServerData := @CServerData;
  8411. end;
  8412.  
  8413. procedure TBackLink.Connect;
  8414. var
  8415.   punk: IUnknown;
  8416. begin
  8417.   if FIntf = nil then
  8418.   begin
  8419.     punk := GetServer;
  8420.     Fintf:= punk as IADsBackLink;
  8421.   end;
  8422. end;
  8423.  
  8424. procedure TBackLink.ConnectTo(svrIntf: IADsBackLink);
  8425. begin
  8426.   Disconnect;
  8427.   FIntf := svrIntf;
  8428. end;
  8429.  
  8430. procedure TBackLink.DisConnect;
  8431. begin
  8432.   if Fintf <> nil then
  8433.   begin
  8434.     FIntf := nil;
  8435.   end;
  8436. end;
  8437.  
  8438. function TBackLink.GetDefaultInterface: IADsBackLink;
  8439. begin
  8440.   if FIntf = nil then
  8441.     Connect;
  8442.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  8443.   Result := FIntf;
  8444. end;
  8445.  
  8446. constructor TBackLink.Create(AOwner: TComponent);
  8447. begin
  8448.   inherited Create(AOwner);
  8449. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8450.   FProps := TBackLinkProperties.Create(Self);
  8451. {$ENDIF}
  8452. end;
  8453.  
  8454. destructor TBackLink.Destroy;
  8455. begin
  8456. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8457.   FProps.Free;
  8458. {$ENDIF}
  8459.   inherited Destroy;
  8460. end;
  8461.  
  8462. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8463. function TBackLink.GetServerProperties: TBackLinkProperties;
  8464. begin
  8465.   Result := FProps;
  8466. end;
  8467. {$ENDIF}
  8468.  
  8469. function  TBackLink.Get_RemoteID: Integer;
  8470. begin
  8471.   Result := DefaultInterface.Get_RemoteID;
  8472. end;
  8473.  
  8474. procedure TBackLink.Set_RemoteID(retval: Integer);
  8475. begin
  8476.   DefaultInterface.Set_RemoteID(retval);
  8477. end;
  8478.  
  8479. function  TBackLink.Get_ObjectName: WideString;
  8480. begin
  8481.   Result := DefaultInterface.Get_ObjectName;
  8482. end;
  8483.  
  8484. procedure TBackLink.Set_ObjectName(const retval: WideString);
  8485. begin
  8486.   DefaultInterface.Set_ObjectName(retval);
  8487. end;
  8488.  
  8489. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8490. constructor TBackLinkProperties.Create(AServer: TBackLink);
  8491. begin
  8492.   inherited Create;
  8493.   FServer := AServer;
  8494. end;
  8495.  
  8496. function TBackLinkProperties.GetDefaultInterface: IADsBackLink;
  8497. begin
  8498.   Result := FServer.DefaultInterface;
  8499. end;
  8500.  
  8501. function  TBackLinkProperties.Get_RemoteID: Integer;
  8502. begin
  8503.   Result := DefaultInterface.Get_RemoteID;
  8504. end;
  8505.  
  8506. procedure TBackLinkProperties.Set_RemoteID(retval: Integer);
  8507. begin
  8508.   DefaultInterface.Set_RemoteID(retval);
  8509. end;
  8510.  
  8511. function  TBackLinkProperties.Get_ObjectName: WideString;
  8512. begin
  8513.   Result := DefaultInterface.Get_ObjectName;
  8514. end;
  8515.  
  8516. procedure TBackLinkProperties.Set_ObjectName(const retval: WideString);
  8517. begin
  8518.   DefaultInterface.Set_ObjectName(retval);
  8519. end;
  8520.  
  8521. {$ENDIF}
  8522.  
  8523. class function CoTypedName.Create: IADsTypedName;
  8524. begin
  8525.   Result := CreateComObject(CLASS_TypedName) as IADsTypedName;
  8526. end;
  8527.  
  8528. class function CoTypedName.CreateRemote(const MachineName: string): IADsTypedName;
  8529. begin
  8530.   Result := CreateRemoteComObject(MachineName, CLASS_TypedName) as IADsTypedName;
  8531. end;
  8532.  
  8533. procedure TTypedName.InitServerData;
  8534. const
  8535.   CServerData: TServerData = (
  8536.     ClassID:   '{B33143CB-4080-11D1-A3AC-00C04FB950DC}';
  8537.     IntfIID:   '{B371A349-4080-11D1-A3AC-00C04FB950DC}';
  8538.     EventIID:  '';
  8539.     LicenseKey: nil;
  8540.     Version: 500);
  8541. begin
  8542.   ServerData := @CServerData;
  8543. end;
  8544.  
  8545. procedure TTypedName.Connect;
  8546. var
  8547.   punk: IUnknown;
  8548. begin
  8549.   if FIntf = nil then
  8550.   begin
  8551.     punk := GetServer;
  8552.     Fintf:= punk as IADsTypedName;
  8553.   end;
  8554. end;
  8555.  
  8556. procedure TTypedName.ConnectTo(svrIntf: IADsTypedName);
  8557. begin
  8558.   Disconnect;
  8559.   FIntf := svrIntf;
  8560. end;
  8561.  
  8562. procedure TTypedName.DisConnect;
  8563. begin
  8564.   if Fintf <> nil then
  8565.   begin
  8566.     FIntf := nil;
  8567.   end;
  8568. end;
  8569.  
  8570. function TTypedName.GetDefaultInterface: IADsTypedName;
  8571. begin
  8572.   if FIntf = nil then
  8573.     Connect;
  8574.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  8575.   Result := FIntf;
  8576. end;
  8577.  
  8578. constructor TTypedName.Create(AOwner: TComponent);
  8579. begin
  8580.   inherited Create(AOwner);
  8581. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8582.   FProps := TTypedNameProperties.Create(Self);
  8583. {$ENDIF}
  8584. end;
  8585.  
  8586. destructor TTypedName.Destroy;
  8587. begin
  8588. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8589.   FProps.Free;
  8590. {$ENDIF}
  8591.   inherited Destroy;
  8592. end;
  8593.  
  8594. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8595. function TTypedName.GetServerProperties: TTypedNameProperties;
  8596. begin
  8597.   Result := FProps;
  8598. end;
  8599. {$ENDIF}
  8600.  
  8601. function  TTypedName.Get_ObjectName: WideString;
  8602. begin
  8603.   Result := DefaultInterface.Get_ObjectName;
  8604. end;
  8605.  
  8606. procedure TTypedName.Set_ObjectName(const retval: WideString);
  8607. begin
  8608.   DefaultInterface.Set_ObjectName(retval);
  8609. end;
  8610.  
  8611. function  TTypedName.Get_Level: Integer;
  8612. begin
  8613.   Result := DefaultInterface.Get_Level;
  8614. end;
  8615.  
  8616. procedure TTypedName.Set_Level(retval: Integer);
  8617. begin
  8618.   DefaultInterface.Set_Level(retval);
  8619. end;
  8620.  
  8621. function  TTypedName.Get_Interval: Integer;
  8622. begin
  8623.   Result := DefaultInterface.Get_Interval;
  8624. end;
  8625.  
  8626. procedure TTypedName.Set_Interval(retval: Integer);
  8627. begin
  8628.   DefaultInterface.Set_Interval(retval);
  8629. end;
  8630.  
  8631. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8632. constructor TTypedNameProperties.Create(AServer: TTypedName);
  8633. begin
  8634.   inherited Create;
  8635.   FServer := AServer;
  8636. end;
  8637.  
  8638. function TTypedNameProperties.GetDefaultInterface: IADsTypedName;
  8639. begin
  8640.   Result := FServer.DefaultInterface;
  8641. end;
  8642.  
  8643. function  TTypedNameProperties.Get_ObjectName: WideString;
  8644. begin
  8645.   Result := DefaultInterface.Get_ObjectName;
  8646. end;
  8647.  
  8648. procedure TTypedNameProperties.Set_ObjectName(const retval: WideString);
  8649. begin
  8650.   DefaultInterface.Set_ObjectName(retval);
  8651. end;
  8652.  
  8653. function  TTypedNameProperties.Get_Level: Integer;
  8654. begin
  8655.   Result := DefaultInterface.Get_Level;
  8656. end;
  8657.  
  8658. procedure TTypedNameProperties.Set_Level(retval: Integer);
  8659. begin
  8660.   DefaultInterface.Set_Level(retval);
  8661. end;
  8662.  
  8663. function  TTypedNameProperties.Get_Interval: Integer;
  8664. begin
  8665.   Result := DefaultInterface.Get_Interval;
  8666. end;
  8667.  
  8668. procedure TTypedNameProperties.Set_Interval(retval: Integer);
  8669. begin
  8670.   DefaultInterface.Set_Interval(retval);
  8671. end;
  8672.  
  8673. {$ENDIF}
  8674.  
  8675. class function CoHold.Create: IADsHold;
  8676. begin
  8677.   Result := CreateComObject(CLASS_Hold) as IADsHold;
  8678. end;
  8679.  
  8680. class function CoHold.CreateRemote(const MachineName: string): IADsHold;
  8681. begin
  8682.   Result := CreateRemoteComObject(MachineName, CLASS_Hold) as IADsHold;
  8683. end;
  8684.  
  8685. procedure THold.InitServerData;
  8686. const
  8687.   CServerData: TServerData = (
  8688.     ClassID:   '{B3AD3E13-4080-11D1-A3AC-00C04FB950DC}';
  8689.     IntfIID:   '{B3EB3B37-4080-11D1-A3AC-00C04FB950DC}';
  8690.     EventIID:  '';
  8691.     LicenseKey: nil;
  8692.     Version: 500);
  8693. begin
  8694.   ServerData := @CServerData;
  8695. end;
  8696.  
  8697. procedure THold.Connect;
  8698. var
  8699.   punk: IUnknown;
  8700. begin
  8701.   if FIntf = nil then
  8702.   begin
  8703.     punk := GetServer;
  8704.     Fintf:= punk as IADsHold;
  8705.   end;
  8706. end;
  8707.  
  8708. procedure THold.ConnectTo(svrIntf: IADsHold);
  8709. begin
  8710.   Disconnect;
  8711.   FIntf := svrIntf;
  8712. end;
  8713.  
  8714. procedure THold.DisConnect;
  8715. begin
  8716.   if Fintf <> nil then
  8717.   begin
  8718.     FIntf := nil;
  8719.   end;
  8720. end;
  8721.  
  8722. function THold.GetDefaultInterface: IADsHold;
  8723. begin
  8724.   if FIntf = nil then
  8725.     Connect;
  8726.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  8727.   Result := FIntf;
  8728. end;
  8729.  
  8730. constructor THold.Create(AOwner: TComponent);
  8731. begin
  8732.   inherited Create(AOwner);
  8733. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8734.   FProps := THoldProperties.Create(Self);
  8735. {$ENDIF}
  8736. end;
  8737.  
  8738. destructor THold.Destroy;
  8739. begin
  8740. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8741.   FProps.Free;
  8742. {$ENDIF}
  8743.   inherited Destroy;
  8744. end;
  8745.  
  8746. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8747. function THold.GetServerProperties: THoldProperties;
  8748. begin
  8749.   Result := FProps;
  8750. end;
  8751. {$ENDIF}
  8752.  
  8753. function  THold.Get_ObjectName: WideString;
  8754. begin
  8755.   Result := DefaultInterface.Get_ObjectName;
  8756. end;
  8757.  
  8758. procedure THold.Set_ObjectName(const retval: WideString);
  8759. begin
  8760.   DefaultInterface.Set_ObjectName(retval);
  8761. end;
  8762.  
  8763. function  THold.Get_Amount: Integer;
  8764. begin
  8765.   Result := DefaultInterface.Get_Amount;
  8766. end;
  8767.  
  8768. procedure THold.Set_Amount(retval: Integer);
  8769. begin
  8770.   DefaultInterface.Set_Amount(retval);
  8771. end;
  8772.  
  8773. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8774. constructor THoldProperties.Create(AServer: THold);
  8775. begin
  8776.   inherited Create;
  8777.   FServer := AServer;
  8778. end;
  8779.  
  8780. function THoldProperties.GetDefaultInterface: IADsHold;
  8781. begin
  8782.   Result := FServer.DefaultInterface;
  8783. end;
  8784.  
  8785. function  THoldProperties.Get_ObjectName: WideString;
  8786. begin
  8787.   Result := DefaultInterface.Get_ObjectName;
  8788. end;
  8789.  
  8790. procedure THoldProperties.Set_ObjectName(const retval: WideString);
  8791. begin
  8792.   DefaultInterface.Set_ObjectName(retval);
  8793. end;
  8794.  
  8795. function  THoldProperties.Get_Amount: Integer;
  8796. begin
  8797.   Result := DefaultInterface.Get_Amount;
  8798. end;
  8799.  
  8800. procedure THoldProperties.Set_Amount(retval: Integer);
  8801. begin
  8802.   DefaultInterface.Set_Amount(retval);
  8803. end;
  8804.  
  8805. {$ENDIF}
  8806.  
  8807. class function CoPathname.Create: IADsPathname;
  8808. begin
  8809.   Result := CreateComObject(CLASS_Pathname) as IADsPathname;
  8810. end;
  8811.  
  8812. class function CoPathname.CreateRemote(const MachineName: string): IADsPathname;
  8813. begin
  8814.   Result := CreateRemoteComObject(MachineName, CLASS_Pathname) as IADsPathname;
  8815. end;
  8816.  
  8817. procedure TPathname.InitServerData;
  8818. const
  8819.   CServerData: TServerData = (
  8820.     ClassID:   '{080D0D78-F421-11D0-A36E-00C04FB950DC}';
  8821.     IntfIID:   '{D592AED4-F420-11D0-A36E-00C04FB950DC}';
  8822.     EventIID:  '';
  8823.     LicenseKey: nil;
  8824.     Version: 500);
  8825. begin
  8826.   ServerData := @CServerData;
  8827. end;
  8828.  
  8829. procedure TPathname.Connect;
  8830. var
  8831.   punk: IUnknown;
  8832. begin
  8833.   if FIntf = nil then
  8834.   begin
  8835.     punk := GetServer;
  8836.     Fintf:= punk as IADsPathname;
  8837.   end;
  8838. end;
  8839.  
  8840. procedure TPathname.ConnectTo(svrIntf: IADsPathname);
  8841. begin
  8842.   Disconnect;
  8843.   FIntf := svrIntf;
  8844. end;
  8845.  
  8846. procedure TPathname.DisConnect;
  8847. begin
  8848.   if Fintf <> nil then
  8849.   begin
  8850.     FIntf := nil;
  8851.   end;
  8852. end;
  8853.  
  8854. function TPathname.GetDefaultInterface: IADsPathname;
  8855. begin
  8856.   if FIntf = nil then
  8857.     Connect;
  8858.   Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
  8859.   Result := FIntf;
  8860. end;
  8861.  
  8862. constructor TPathname.Create(AOwner: TComponent);
  8863. begin
  8864.   inherited Create(AOwner);
  8865. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8866.   FProps := TPathnameProperties.Create(Self);
  8867. {$ENDIF}
  8868. end;
  8869.  
  8870. destructor TPathname.Destroy;
  8871. begin
  8872. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8873.   FProps.Free;
  8874. {$ENDIF}
  8875.   inherited Destroy;
  8876. end;
  8877.  
  8878. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8879. function TPathname.GetServerProperties: TPathnameProperties;
  8880. begin
  8881.   Result := FProps;
  8882. end;
  8883. {$ENDIF}
  8884.  
  8885. function  TPathname.Get_EscapedMode: Integer;
  8886. begin
  8887.   Result := DefaultInterface.Get_EscapedMode;
  8888. end;
  8889.  
  8890. procedure TPathname.Set_EscapedMode(retval: Integer);
  8891. begin
  8892.   DefaultInterface.Set_EscapedMode(retval);
  8893. end;
  8894.  
  8895. procedure TPathname.Set_(const bstrADsPath: WideString; lnSetType: Integer);
  8896. begin
  8897.   DefaultInterface.Set_(bstrADsPath, lnSetType);
  8898. end;
  8899.  
  8900. procedure TPathname.SetDisplayType(lnDisplayType: Integer);
  8901. begin
  8902.   DefaultInterface.SetDisplayType(lnDisplayType);
  8903. end;
  8904.  
  8905. function  TPathname.Retrieve(lnFormatType: Integer): WideString;
  8906. begin
  8907.   Result := DefaultInterface.Retrieve(lnFormatType);
  8908. end;
  8909.  
  8910. function  TPathname.GetNumElements: Integer;
  8911. begin
  8912.   Result := DefaultInterface.GetNumElements;
  8913. end;
  8914.  
  8915. function  TPathname.GetElement(lnElementIndex: Integer): WideString;
  8916. begin
  8917.   Result := DefaultInterface.GetElement(lnElementIndex);
  8918. end;
  8919.  
  8920. procedure TPathname.AddLeafElement(const bstrLeafElement: WideString);
  8921. begin
  8922.   DefaultInterface.AddLeafElement(bstrLeafElement);
  8923. end;
  8924.  
  8925. procedure TPathname.RemoveLeafElement;
  8926. begin
  8927.   DefaultInterface.RemoveLeafElement;
  8928. end;
  8929.  
  8930. function  TPathname.CopyPath: IDispatch;
  8931. begin
  8932.   Result := DefaultInterface.CopyPath;
  8933. end;
  8934.  
  8935. function  TPathname.GetEscapedElement(lnReserved: Integer; const bstrInStr: WideString): WideString;
  8936. begin
  8937.   Result := DefaultInterface.GetEscapedElement(lnReserved, bstrInStr);
  8938. end;
  8939.  
  8940. {$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
  8941. constructor TPathnameProperties.Create(AServer: TPathname);
  8942. begin
  8943.   inherited Create;
  8944.   FServer := AServer;
  8945. end;
  8946.  
  8947. function TPathnameProperties.GetDefaultInterface: IADsPathname;
  8948. begin
  8949.   Result := FServer.DefaultInterface;
  8950. end;
  8951.  
  8952. function  TPathnameProperties.Get_EscapedMode: Integer;
  8953. begin
  8954.   Result := DefaultInterface.Get_EscapedMode;
  8955. end;
  8956.  
  8957. procedure TPathnameProperties.Set_EscapedMode(retval: Integer);
  8958. begin
  8959.   DefaultInterface.Set_EscapedMode(retval);
  8960. end;
  8961.  
  8962. {$ENDIF}
  8963.  
  8964. procedure Register;
  8965. begin
  8966.   RegisterComponents('Servers',[TPropertyEntry, TPropertyValue, TAccessControlEntry, TAccessControlList, 
  8967.     TSecurityDescriptor, TLargeInteger, TNameTranslate, TCaseIgnoreList, TFaxNumber, 
  8968.     TNetAddress, TOctetList, TEmail, TPath, TReplicaPointer, 
  8969.     TAcl, TTimestamp, TPostalAddress, TBackLink, TTypedName, 
  8970.     THold, TPathname]);
  8971. end;
  8972.  
  8973. end.
  8974.