Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.2 KiB

  1. // SetDetector.h: Definition of the CSetDetector class
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_SETDETECTOR_H__48E3EC72_2B25_11D3_8AE5_00A0C9AFE114__INCLUDED_)
  5. #define AFX_SETDETECTOR_H__48E3EC72_2B25_11D3_8AE5_00A0C9AFE114__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "resource.h" // main symbols
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CSetDetector
  12. class CSetDetector :
  13. public ISetDetector,
  14. public CComObjectRoot,
  15. public CComCoClass<CSetDetector,&CLSID_SetDetector>
  16. {
  17. public:
  18. CSetDetector() {}
  19. BEGIN_COM_MAP(CSetDetector)
  20. COM_INTERFACE_ENTRY(ISetDetector)
  21. END_COM_MAP()
  22. //DECLARE_NOT_AGGREGATABLE(CSetDetector)
  23. // Remove the comment from the line above if you don't want your object to
  24. // support aggregation.
  25. DECLARE_REGISTRY_RESOURCEID(IDR_SetDetector)
  26. // ISetDetector
  27. public:
  28. STDMETHOD(IsClosedSet)(/*[in]*/BSTR domain,/*[in]*/LONG nItems,/*[in,size_is(nItems)]*/ BSTR pNames[],/*[out]*/ BOOL * bIsClosed, /*[out]*/ BSTR * pReason);
  29. };
  30. #endif // !defined(AFX_SETDETECTOR_H__48E3EC72_2B25_11D3_8AE5_00A0C9AFE114__INCLUDED_)