mirror of https://github.com/tongzx/nt5src
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.
49 lines
1.3 KiB
49 lines
1.3 KiB
/*++
|
|
|
|
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_
|