iads.idl: Add missing interfaces.
This commit is contained in:
parent
fc2bb3bdc1
commit
63e0bb52f3
406
include/iads.idl
406
include/iads.idl
|
@ -43,6 +43,23 @@ typedef enum
|
|||
ADS_RIGHT_GENERIC_READ = 0x80000000
|
||||
} ADS_RIGHTS_ENUM;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
ADS_SECURE_AUTHENTICATION = 0x1,
|
||||
ADS_USE_ENCRYPTION = 0x2,
|
||||
ADS_USE_SSL = 0x2,
|
||||
ADS_READONLY_SERVER = 0x4,
|
||||
ADS_PROMPT_CREDENTIALS = 0x8,
|
||||
ADS_NO_AUTHENTICATION = 0x10,
|
||||
ADS_FAST_BIND = 0x20,
|
||||
ADS_USE_SIGNING = 0x40,
|
||||
ADS_USE_SEALING = 0x80,
|
||||
ADS_USE_DELEGATION = 0x100,
|
||||
ADS_SERVER_BIND = 0x200,
|
||||
ADS_NO_REFERRAL_CHASING = 0x400,
|
||||
ADS_AUTH_RESERVED = 0x80000000
|
||||
} ADS_AUTHENTICATION_ENUM;
|
||||
|
||||
/*****************************************************************************
|
||||
* IADsContainer interface
|
||||
*/
|
||||
|
@ -84,3 +101,392 @@ interface IADsContainer: IDispatch
|
|||
[in] BSTR bstrNewName,
|
||||
[out, retval] IDispatch **ppObject);
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* IADs interface
|
||||
*/
|
||||
[
|
||||
odl,
|
||||
uuid(FD8256D0-FD15-11CE-ABC4-02608C9E7553),
|
||||
dual,
|
||||
oleautomation
|
||||
]
|
||||
interface IADs : IDispatch
|
||||
{
|
||||
[id(0x00000002), propget]
|
||||
HRESULT Name([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000003), propget]
|
||||
HRESULT Class([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000004), propget]
|
||||
HRESULT GUID([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000005), propget]
|
||||
HRESULT ADsPath([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000006), propget]
|
||||
HRESULT Parent([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000007), propget]
|
||||
HRESULT Schema([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000008)]
|
||||
HRESULT GetInfo();
|
||||
|
||||
[id(0x00000009)]
|
||||
HRESULT SetInfo();
|
||||
|
||||
[id(0x0000000a)]
|
||||
HRESULT Get([in] BSTR bstrName, [out, retval] VARIANT* pvProp);
|
||||
|
||||
[id(0x0000000b)]
|
||||
HRESULT Put([in] BSTR bstrName, [in] VARIANT vProp);
|
||||
|
||||
[id(0x0000000c)]
|
||||
HRESULT GetEx([in] BSTR bstrName, [out, retval] VARIANT* pvProp);
|
||||
|
||||
[id(0x0000000d)]
|
||||
HRESULT PutEx([in] long lnControlCode, [in] BSTR bstrName, [in] VARIANT vProp);
|
||||
|
||||
[id(0x0000000e)]
|
||||
HRESULT GetInfoEx( [in] VARIANT vProperties, [in] long lnReserved);
|
||||
};
|
||||
|
||||
/*****************************************************************************
|
||||
* IADsMembers interface
|
||||
*/
|
||||
[
|
||||
odl,
|
||||
uuid(451A0030-72EC-11CF-B03B-00AA006E0975),
|
||||
dual,
|
||||
oleautomation
|
||||
]
|
||||
interface IADsMembers : IDispatch
|
||||
{
|
||||
[id(0x00000002), propget]
|
||||
HRESULT Count([out, retval] long* plCount);
|
||||
|
||||
[id(0xfffffffc), propget]
|
||||
HRESULT _NewEnum([out, retval] IUnknown** ppEnumerator);
|
||||
|
||||
[id(0x00000003), propget]
|
||||
HRESULT Filter([out, retval] VARIANT* pvFilter);
|
||||
|
||||
[id(0x00000003), propput]
|
||||
HRESULT Filter([in] VARIANT pvFilter);
|
||||
};
|
||||
|
||||
/*****************************************************************************
|
||||
* IADsGroup interface
|
||||
*/
|
||||
[
|
||||
odl,
|
||||
uuid(27636B00-410F-11CF-B1FF-02608C9E7553),
|
||||
dual,
|
||||
oleautomation
|
||||
]
|
||||
interface IADsGroup : IADs {
|
||||
[id(0x0000000f), propget]
|
||||
HRESULT Description([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x0000000f), propput]
|
||||
HRESULT Description([in] BSTR retval);
|
||||
|
||||
[id(0x00000010)]
|
||||
HRESULT Members([out, retval] IADsMembers** ppMembers);
|
||||
|
||||
[id(0x00000011)]
|
||||
HRESULT IsMember([in] BSTR bstrMember, [out, retval] VARIANT_BOOL* bMember);
|
||||
|
||||
[id(0x00000012)]
|
||||
HRESULT Add([in] BSTR bstrNewItem);
|
||||
|
||||
[id(0x00000013)]
|
||||
HRESULT Remove([in] BSTR bstrItemToBeRemoved);
|
||||
};
|
||||
|
||||
/*****************************************************************************
|
||||
* IADsUser interface
|
||||
*/
|
||||
[
|
||||
odl,
|
||||
uuid(3E37E320-17E2-11CF-ABC4-02608C9E7553),
|
||||
dual,
|
||||
oleautomation
|
||||
]
|
||||
interface IADsUser : IADs
|
||||
{
|
||||
[id(0x00000035), propget]
|
||||
HRESULT BadLoginAddress([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000036), propget]
|
||||
HRESULT BadLoginCount([out, retval] long* retval);
|
||||
|
||||
[id(0x00000038), propget]
|
||||
HRESULT LastLogin([out, retval] DATE* retval);
|
||||
|
||||
[id(0x00000039), propget]
|
||||
HRESULT LastLogoff([out, retval] DATE* retval);
|
||||
|
||||
[id(0x0000003a), propget]
|
||||
HRESULT LastFailedLogin([out, retval] DATE* retval);
|
||||
|
||||
[id(0x0000003b), propget]
|
||||
HRESULT PasswordLastChanged([out, retval] DATE* retval);
|
||||
|
||||
[id(0x0000000f), propget]
|
||||
HRESULT Description([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x0000000f), propput]
|
||||
HRESULT Description([in] BSTR retval);
|
||||
|
||||
[id(0x00000013), propget]
|
||||
HRESULT Division([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000013), propput]
|
||||
HRESULT Division([in] BSTR retval);
|
||||
|
||||
[id(0x0000007a), propget]
|
||||
HRESULT Department([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x0000007a), propput]
|
||||
HRESULT Department([in] BSTR retval);
|
||||
|
||||
[id(0x00000014), propget]
|
||||
HRESULT EmployeeID([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000014), propput]
|
||||
HRESULT EmployeeID([in] BSTR retval);
|
||||
|
||||
[id(0x00000017), propget]
|
||||
HRESULT FullName([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000017), propput]
|
||||
HRESULT FullName([in] BSTR retval);
|
||||
|
||||
[id(0x00000016), propget]
|
||||
HRESULT FirstName([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000016), propput]
|
||||
HRESULT FirstName([in] BSTR retval);
|
||||
|
||||
[id(0x00000019), propget]
|
||||
HRESULT LastName([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000019), propput]
|
||||
HRESULT LastName([in] BSTR retval);
|
||||
|
||||
[id(0x0000001b), propget]
|
||||
HRESULT OtherName([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x0000001b), propput]
|
||||
HRESULT OtherName([in] BSTR retval);
|
||||
|
||||
[id(0x00000072), propget]
|
||||
HRESULT NamePrefix([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000072), propput]
|
||||
HRESULT NamePrefix([in] BSTR retval);
|
||||
|
||||
[id(0x00000073), propget]
|
||||
HRESULT NameSuffix([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000073), propput]
|
||||
HRESULT NameSuffix([in] BSTR retval);
|
||||
|
||||
[id(0x00000024), propget]
|
||||
HRESULT Title([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000024), propput]
|
||||
HRESULT Title([in] BSTR retval);
|
||||
|
||||
[id(0x0000001a), propget]
|
||||
HRESULT Manager([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x0000001a), propput]
|
||||
HRESULT Manager([in] BSTR retval);
|
||||
|
||||
[id(0x00000020), propget]
|
||||
HRESULT TelephoneHome([out, retval] VARIANT* retval);
|
||||
|
||||
[id(0x00000020), propput]
|
||||
HRESULT TelephoneHome([in] VARIANT retval);
|
||||
|
||||
[id(0x00000021), propget]
|
||||
HRESULT TelephoneMobile([out, retval] VARIANT* retval);
|
||||
|
||||
[id(0x00000021), propput]
|
||||
HRESULT TelephoneMobile([in] VARIANT retval);
|
||||
|
||||
[id(0x00000022), propget]
|
||||
HRESULT TelephoneNumber([out, retval] VARIANT* retval);
|
||||
|
||||
[id(0x00000022), propput]
|
||||
HRESULT TelephoneNumber([in] VARIANT retval);
|
||||
|
||||
[id(0x00000011), propget]
|
||||
HRESULT TelephonePager([out, retval] VARIANT* retval);
|
||||
|
||||
[id(0x00000011), propput]
|
||||
HRESULT TelephonePager([in] VARIANT retval);
|
||||
|
||||
[id(0x00000010), propget]
|
||||
HRESULT FaxNumber([out, retval] VARIANT* retval);
|
||||
|
||||
[id(0x00000010), propput]
|
||||
HRESULT FaxNumber([in] VARIANT retval);
|
||||
|
||||
[id(0x0000001c), propget]
|
||||
HRESULT OfficeLocations([out, retval] VARIANT* retval);
|
||||
|
||||
[id(0x0000001c), propput]
|
||||
HRESULT OfficeLocations([in] VARIANT retval);
|
||||
|
||||
[id(0x0000001e), propget]
|
||||
HRESULT PostalAddresses([out, retval] VARIANT* retval);
|
||||
|
||||
[id(0x0000001e), propput]
|
||||
HRESULT PostalAddresses([in] VARIANT retval);
|
||||
|
||||
[id(0x0000001f), propget]
|
||||
HRESULT PostalCodes([out, retval] VARIANT* retval);
|
||||
|
||||
[id(0x0000001f), propput]
|
||||
HRESULT PostalCodes([in] VARIANT retval);
|
||||
|
||||
[id(0x00000075), propget]
|
||||
HRESULT SeeAlso([out, retval] VARIANT* retval);
|
||||
|
||||
[id(0x00000075), propput]
|
||||
HRESULT SeeAlso([in] VARIANT retval);
|
||||
|
||||
[id(0x00000025), propget]
|
||||
HRESULT AccountDisabled([out, retval] VARIANT_BOOL* retval);
|
||||
|
||||
[id(0x00000025), propput]
|
||||
HRESULT AccountDisabled([in] VARIANT_BOOL retval);
|
||||
|
||||
[id(0x00000026), propget]
|
||||
HRESULT AccountExpirationDate([out, retval] DATE* retval);
|
||||
|
||||
[id(0x00000026), propput]
|
||||
HRESULT AccountExpirationDate([in] DATE retval);
|
||||
|
||||
[id(0x00000029), propget]
|
||||
HRESULT GraceLoginsAllowed([out, retval] long* retval);
|
||||
|
||||
[id(0x00000029), propput]
|
||||
HRESULT GraceLoginsAllowed([in] long retval);
|
||||
|
||||
[id(0x0000002a), propget]
|
||||
HRESULT GraceLoginsRemaining([out, retval] long* retval);
|
||||
|
||||
[id(0x0000002a), propput]
|
||||
HRESULT GraceLoginsRemaining([in] long retval);
|
||||
|
||||
[id(0x0000002b), propget]
|
||||
HRESULT IsAccountLocked([out, retval] VARIANT_BOOL* retval);
|
||||
|
||||
[id(0x0000002b), propput]
|
||||
HRESULT IsAccountLocked([in] VARIANT_BOOL retval);
|
||||
|
||||
[id(0x0000002d), propget]
|
||||
HRESULT LoginHours([out, retval] VARIANT* retval);
|
||||
|
||||
[id(0x0000002d), propput]
|
||||
HRESULT LoginHours([in] VARIANT retval);
|
||||
|
||||
[id(0x0000002e), propget]
|
||||
HRESULT LoginWorkstations([out, retval] VARIANT* retval);
|
||||
|
||||
[id(0x0000002e), propput]
|
||||
HRESULT LoginWorkstations([in] VARIANT retval);
|
||||
|
||||
[id(0x0000002f), propget]
|
||||
HRESULT MaxLogins([out, retval] long* retval);
|
||||
|
||||
[id(0x0000002f), propput]
|
||||
HRESULT MaxLogins([in] long retval);
|
||||
|
||||
[id(0x00000030), propget]
|
||||
HRESULT MaxStorage([out, retval] long* retval);
|
||||
|
||||
[id(0x00000030), propput]
|
||||
HRESULT MaxStorage([in] long retval);
|
||||
|
||||
[id(0x00000031), propget]
|
||||
HRESULT PasswordExpirationDate([out, retval] DATE* retval);
|
||||
|
||||
[id(0x00000031), propput]
|
||||
HRESULT PasswordExpirationDate([in] DATE retval);
|
||||
|
||||
[id(0x00000032), propget]
|
||||
HRESULT PasswordMinimumLength([out, retval] long* retval);
|
||||
|
||||
[id(0x00000032), propput]
|
||||
HRESULT PasswordMinimumLength([in] long retval);
|
||||
|
||||
[id(0x00000033), propget]
|
||||
HRESULT PasswordRequired([out, retval] VARIANT_BOOL* retval);
|
||||
|
||||
[id(0x00000033), propput]
|
||||
HRESULT PasswordRequired([in] VARIANT_BOOL retval);
|
||||
|
||||
[id(0x00000034), propget]
|
||||
HRESULT RequireUniquePassword([out, retval] VARIANT_BOOL* retval);
|
||||
|
||||
[id(0x00000034), propput]
|
||||
HRESULT RequireUniquePassword([in] VARIANT_BOOL retval);
|
||||
|
||||
[id(0x0000003c), propget]
|
||||
HRESULT EmailAddress([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x0000003c), propput]
|
||||
HRESULT EmailAddress([in] BSTR retval);
|
||||
|
||||
[id(0x0000003d), propget]
|
||||
HRESULT HomeDirectory([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x0000003d), propput]
|
||||
HRESULT HomeDirectory([in] BSTR retval);
|
||||
|
||||
[id(0x0000003e), propget]
|
||||
HRESULT Languages([out, retval] VARIANT* retval);
|
||||
|
||||
[id(0x0000003e), propput]
|
||||
HRESULT Languages([in] VARIANT retval);
|
||||
|
||||
[id(0x0000003f), propget]
|
||||
HRESULT Profile([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x0000003f), propput]
|
||||
HRESULT Profile([in] BSTR retval);
|
||||
|
||||
[id(0x00000040), propget]
|
||||
HRESULT LoginScript([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000040), propput]
|
||||
HRESULT LoginScript([in] BSTR retval);
|
||||
|
||||
[id(0x00000041), propget]
|
||||
HRESULT Picture([out, retval] VARIANT* retval);
|
||||
|
||||
[id(0x00000041), propput]
|
||||
HRESULT Picture([in] VARIANT retval);
|
||||
|
||||
[id(0x00000078), propget]
|
||||
HRESULT HomePage([out, retval] BSTR* retval);
|
||||
|
||||
[id(0x00000078), propput]
|
||||
HRESULT HomePage([in] BSTR retval);
|
||||
|
||||
[id(0x00000042)]
|
||||
HRESULT Groups([out, retval] IADsMembers** ppGroups);
|
||||
|
||||
[id(0x00000043)]
|
||||
HRESULT SetPassword([in] BSTR NewPassword);
|
||||
|
||||
[id(0x00000044)]
|
||||
HRESULT ChangePassword([in] BSTR bstrOldPassword, [in] BSTR bstrNewPassword);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue