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.

44 lines
1.4 KiB

  1. //******************************************************************************
  2. //
  3. // TEMPFILT.H
  4. //
  5. // Copyright (C) 1996-1999 Microsoft Corporation
  6. //
  7. //******************************************************************************
  8. #ifndef __WMI_ESS_TEMP_FILTER__H_
  9. #define __WMI_ESS_TEMP_FILTER__H_
  10. #include "binding.h"
  11. #include "filter.h"
  12. class CTempFilter : public CGenericFilter
  13. {
  14. LPWSTR m_wszQuery;
  15. LPWSTR m_wszQueryLanguage;
  16. IWbemCallSecurity* m_pSecurity;
  17. bool m_bInternal;
  18. public:
  19. CTempFilter(CEssNamespace* pNamespace);
  20. HRESULT Initialize( LPCWSTR wszQueryLanguage,
  21. LPCWSTR wszQuery,
  22. long lFlags,
  23. PSID pOwnerSid,
  24. bool bInternal,
  25. IWbemContext* pContext,
  26. IWbemObjectSink* pSink );
  27. ~CTempFilter();
  28. virtual bool IsInternal() { return m_bInternal; }
  29. virtual HRESULT GetCoveringQuery(DELETE_ME LPWSTR& wszQueryLanguage,
  30. DELETE_ME LPWSTR& wszQuery, BOOL& bExact,
  31. DELETE_ME QL_LEVEL_1_RPN_EXPRESSION** ppExp);
  32. BOOL IsPermanent() { return m_pOwnerSid != NULL; }
  33. virtual DWORD GetForceFlags() {return WBEM_FLAG_STRONG_VALIDATION;}
  34. virtual HRESULT SetThreadSecurity();
  35. HRESULT ObtainToken(IWbemToken** ppToken);
  36. DELETE_ME LPWSTR ComputeThisKey();
  37. };
  38. #endif