Dmitry Timoshkov dmitry@baikal.ru writes:
+interface IADsADSystemInfo : IDispatch +{
- [id(0x00000002), propget]
- HRESULT UserName([out, retval] BSTR *retval);
- [id(0x00000003), propget]
- HRESULT ComputerName([out, retval] BSTR *retval);
- [id(0x00000004), propget]
- HRESULT SiteName([out, retval] BSTR *retval);
- [id(0x00000005), propget]
- HRESULT DomainShortName([out, retval] BSTR *retval);
- [id(0x00000006), propget]
- HRESULT DomainDNSName([out, retval] BSTR *retval);
- [id(0x00000007), propget]
- HRESULT ForestDNSName([out, retval] BSTR *retval);
- [id(0x00000008), propget]
- HRESULT PDCRoleOwner([out, retval] BSTR *retval);
- [id(0x00000009), propget]
- HRESULT SchemaRoleOwner([out, retval] BSTR *retval);
- [id(0x0000000a), propget]
- HRESULT IsNativeMode([out, retval] VARIANT_BOOL *retval);
- [id(0x0000000b)]
- HRESULT GetAnyDCName([out, retval] BSTR *retval);
- [id(0x0000000c)]
- HRESULT GetDCSiteName([in] BSTR server, [out, retval] BSTR *retval);
- [id(0x0000000d)]
- HRESULT RefreshSchemaCache();
- [id(0x0000000e)]
- HRESULT GetTrees([out, retval] VARIANT *retval);
+}
+[
- helpstring("AD SystemInfo Object"),
- uuid(50b6327f-afd1-11d2-9cb9-0000f87a369e),
- threading(both)
+] +coclass ADSystemInfo +{
- [default] interface IADsADSystemInfo;
- interface IDispatch;
+}
Aren't these supposed to be defined inside the activeds typelib instead?