windows-nt/Source/XPSP1/NT/admin/wmi/wbem/winmgmt/adap/adaputil.h
2020-09-26 16:20:57 +08:00

49 lines
1.3 KiB
C++

/*++
Copyright (C) 1999-2001 Microsoft Corporation
Module Name:
ADAPUTIL.H
Abstract:
History:
--*/
#ifndef _ADAPUTIL_H_
#define _ADAPUTIL_H_
#include "CWbemTime.h"
#include <wstring.h>
#include <flexarry.h>
#include <arrtempl.h>
#include <evtlog.h>
#include <wbemidl.h>
#include <wbemutil.h>
#include "Adapperf.h"
class CAdapUtility
{
public:
static HRESULT NTLogEvent(DWORD dwEventType,
DWORD dwEventID,
CInsertionString c1 = CInsertionString(),
CInsertionString c2 = CInsertionString(),
CInsertionString c3 = CInsertionString(),
CInsertionString c4 = CInsertionString(),
CInsertionString c5 = CInsertionString(),
CInsertionString c6 = CInsertionString(),
CInsertionString c7 = CInsertionString(),
CInsertionString c8 = CInsertionString(),
CInsertionString c9 = CInsertionString(),
CInsertionString c10 = CInsertionString() );
static HRESULT AdapTrace( const char* format, ... );
static HRESULT Abort( WString wstrClassName, CAdapPerfLib* pPerfLib, HRESULT hRes );
};
#endif //_ADAPUTIL_H_