📄 utils.h
字号:
/******************************************************>
* Copyright (c) 2001 Microsoft Corporation.
* All rights reserved.
*
* Copyright (c) 2005 enum.at
* All rights reserved.
*
* @Abstract: Utils.h
* ---------- [ Header Definition File]
*
*
* @Description:
* -------------
* Utilities for logging Error Messages in the debugger
* or in a Popup message box
*
*
******************************************************/
#ifndef __RTCOUTGOINGUTILS__H__
#define __RTCOUTGOINGUTILS__H__
#define FREE_BSTR_IF(bstrVal) \
{ if (NULL != bstrVal) { SysFreeString(bstrVal); bstrVal = NULL ;} else bstrVal = NULL; }
HRESULT RegistryGet(WCHAR * szValueName, WCHAR * szData);
HRESULT RegistrySet(WCHAR * szValueName, WCHAR * szData);
#ifdef __cplusplus
//
// for C Var length parameters
//
extern "C" {
#endif
int DBLOGGER(TCHAR *str, ...) ;
void LOGMSGERROR(TCHAR *str, ...);
void LOGMSG(TCHAR *str, ...);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -