⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rtcsample.h

📁 基于RTC库的网络通信系统
💻 H
字号:
/* 
 * Copyright (c) Microsoft Corporation.  All rights reserved.
 *
 * Demonstration of the use of the Run-Time Error Checking (RTC) API without 
 * using the C Run-Time Library (CRT).
 *
 */


#ifndef _rtcsample_h
#define _rtcsample_h

#include <rtcapi.h>
#include <windows.h>

#ifdef NOCRT
#include <strsafe.h>
#endif

extern int GetVal(void);
extern void doSomething(short val);
extern void LoseInfoInIntToShortCast(void);
extern void thrashVar(int *i);
extern void TrashStackVariable(void);
extern void UseUninitializedVariable(void);
extern void DoInitialization(void);
extern void DoTermination(void);

#ifdef __MSVC_RUNTIME_CHECKS
#ifdef NOCRT
extern wchar_t *IntToString(int i);
#endif
extern int Catch_RTC_Failure(int errType, const wchar_t *file, int line, const wchar_t *module, const wchar_t *format, ...);
#endif

#endif // _rtcsample_h

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -