home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / group.odl < prev    next >
Text File  |  1998-04-25  |  965b  |  43 lines

  1. //---------------------------------------------------------------------------
  2. //
  3. //  Microsoft Windows
  4. //  Copyright (C) Microsoft Corporation, 1996
  5. //
  6. //  File:      Group.odl
  7. //
  8. //  Contents:  Group Interfaces
  9. //
  10. //----------------------------------------------------------------------------
  11.  
  12. [ uuid(OLEDS_IID_IADsGroup), oleautomation, dual]
  13. interface IADsGroup : IADs
  14. {
  15.     PROPERTY_BSTR_RW(Description, DISPID_IADs_UPPER_BOUND + 1)
  16.  
  17.     [id(DISPID_IADs_UPPER_BOUND + 2)]
  18.     HRESULT
  19.     Members(
  20.         [out, retval]IADsMembers **ppMembers
  21.         );
  22.  
  23.     [id(DISPID_IADs_UPPER_BOUND + 3)]
  24.     HRESULT
  25.     IsMember(
  26.         [in] BSTR bstrMember,
  27.         [out, retval] VARIANT_BOOL *bMember
  28.         );
  29.  
  30.     [id(DISPID_IADs_UPPER_BOUND + 4)]
  31.     HRESULT
  32.     Add(
  33.         [in] BSTR bstrNewItem
  34.         );
  35.  
  36.     [id(DISPID_IADs_UPPER_BOUND + 5)]
  37.     HRESULT
  38.     Remove(
  39.         [in] BSTR bstrItemToBeRemoved
  40.         );
  41.  
  42. }
  43.