Leaked source code of windows server 2003
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.

45 lines
918 B

  1. // DrvSearchSet.h : Declaration of the CDrvSearchSet
  2. #ifndef __DRVSEARCHSET_H_
  3. #define __DRVSEARCHSET_H_
  4. #include "resource.h" // main symbols
  5. class CDevice;
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CDrvSearchSet
  8. class ATL_NO_VTABLE CDrvSearchSet :
  9. public IDrvSearchSet,
  10. public CComObjectRootEx<CComSingleThreadModel>
  11. {
  12. public:
  13. CDevice *pActualDevice;
  14. CDevice *pTempDevice;
  15. DWORD SearchType;
  16. public:
  17. CDrvSearchSet()
  18. {
  19. pActualDevice = NULL;
  20. pTempDevice = NULL;
  21. }
  22. ~CDrvSearchSet();
  23. DECLARE_NOT_AGGREGATABLE(CDrvSearchSet)
  24. DECLARE_PROTECT_FINAL_CONSTRUCT()
  25. BEGIN_COM_MAP(CDrvSearchSet)
  26. COM_INTERFACE_ENTRY(IDrvSearchSet)
  27. END_COM_MAP()
  28. // IDrvSearchSet
  29. public:
  30. PSP_DEVINFO_DATA GetDevInfoData();
  31. HDEVINFO GetDevInfoSet();
  32. HRESULT Init(CDevice *device,DWORD searchType);
  33. };
  34. #endif //__DRVSEARCHSET_H_