windows-nt/Source/XPSP1/NT/admin/wmi/wbem/winmgmt/adap/adaputil.h

49 lines
1.3 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
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_