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.
58 lines
1.1 KiB
58 lines
1.1 KiB
//****************************************************************************
|
|
//
|
|
// Logging Functions
|
|
//
|
|
//****************************************************************************
|
|
HRESULT
|
|
HrLogOpen( void );
|
|
|
|
HRESULT
|
|
HrLogClose( void );
|
|
|
|
HRESULT
|
|
HrLogRelease( void );
|
|
|
|
void
|
|
__cdecl
|
|
LogMsg(
|
|
LPCSTR pszFormatIn,
|
|
...
|
|
);
|
|
|
|
void
|
|
__cdecl
|
|
LogMsg(
|
|
LPCWSTR pszFormatIn,
|
|
...
|
|
);
|
|
|
|
void
|
|
__cdecl
|
|
LogMsgNoNewline(
|
|
LPCSTR pszFormatIn,
|
|
...
|
|
);
|
|
|
|
void
|
|
__cdecl
|
|
LogMsgNoNewline(
|
|
LPCWSTR pszFormatIn,
|
|
...
|
|
);
|
|
|
|
void
|
|
LogStatusReport( SYSTEMTIME * pstTimeIn,
|
|
const WCHAR * pcszNodeNameIn,
|
|
CLSID clsidTaskMajorIn,
|
|
CLSID clsidTaskMinorIn,
|
|
ULONG ulMinIn,
|
|
ULONG ulMaxIn,
|
|
ULONG ulCurrentIn,
|
|
HRESULT hrStatusIn,
|
|
const WCHAR * pcszDescriptionIn,
|
|
const WCHAR * pcszUrlIn
|
|
);
|
|
|
|
void
|
|
LogTerminateProcess( void );
|
|
|