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.
50 lines
818 B
50 lines
818 B
/*++
|
|
|
|
Copyright (C) 1999- Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
trace.h
|
|
|
|
Abstract:
|
|
|
|
This module declares software tracing stuff
|
|
|
|
Author:
|
|
|
|
Dave Parsons (davepar)
|
|
|
|
Revision History:
|
|
|
|
|
|
--*/
|
|
|
|
#ifndef TRACE__H_
|
|
#define TRACE__H_
|
|
|
|
//
|
|
// Software tracing setup
|
|
//
|
|
|
|
#define WPP_CONTROL_GUIDS \
|
|
WPP_DEFINE_CONTROL_GUID(Regular,(09D38237,078D,4767,BF90,9227E75562DB), \
|
|
WPP_DEFINE_BIT(Error) \
|
|
WPP_DEFINE_BIT(Warning) \
|
|
WPP_DEFINE_BIT(Trace) \
|
|
WPP_DEFINE_BIT(Entry) \
|
|
WPP_DEFINE_BIT(Exit) \
|
|
WPP_DEFINE_BIT(Dump) \
|
|
)
|
|
|
|
class CTraceProc {
|
|
private:
|
|
CHAR m_szMessage[MAX_PATH];
|
|
|
|
public:
|
|
CTraceProc(CHAR *pszMsg);
|
|
~CTraceProc();
|
|
};
|
|
|
|
VOID DoTraceHresult(HRESULT hr);
|
|
|
|
#endif // TRACE__H_
|