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

//******************************************************************************
//
// TEMPFILT.H
//
// Copyright (C) 1996-1999 Microsoft Corporation
//
//******************************************************************************
#ifndef __WMI_ESS_TEMP_FILTER__H_
#define __WMI_ESS_TEMP_FILTER__H_
#include "binding.h"
#include "filter.h"
class CTempFilter : public CGenericFilter
{
LPWSTR m_wszQuery;
LPWSTR m_wszQueryLanguage;
IWbemCallSecurity* m_pSecurity;
bool m_bInternal;
public:
CTempFilter(CEssNamespace* pNamespace);
HRESULT Initialize( LPCWSTR wszQueryLanguage,
LPCWSTR wszQuery,
long lFlags,
PSID pOwnerSid,
bool bInternal,
IWbemContext* pContext,
IWbemObjectSink* pSink );
~CTempFilter();
virtual bool IsInternal() { return m_bInternal; }
virtual HRESULT GetCoveringQuery(DELETE_ME LPWSTR& wszQueryLanguage,
DELETE_ME LPWSTR& wszQuery, BOOL& bExact,
DELETE_ME QL_LEVEL_1_RPN_EXPRESSION** ppExp);
BOOL IsPermanent() { return m_pOwnerSid != NULL; }
virtual DWORD GetForceFlags() {return WBEM_FLAG_STRONG_VALIDATION;}
virtual HRESULT SetThreadSecurity();
HRESULT ObtainToken(IWbemToken** ppToken);
DELETE_ME LPWSTR ComputeThisKey();
};
#endif