?? rtcsample.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 + -