20 #pragma pack(push,_CRT_PACKING)
21 #pragma push_macro("new")
30 #define NULL ((void *)0)
51 #define _CRTDBG_MODE_FILE 0x1
52 #define _CRTDBG_MODE_DEBUG 0x2
53 #define _CRTDBG_MODE_WNDW 0x4
54 #define _CRTDBG_REPORT_MODE -1
57 #define _CRTDBG_INVALID_HFILE ((_HFILE)-1)
58 #define _CRTDBG_HFILE_ERROR ((_HFILE)-2)
59 #define _CRTDBG_FILE_STDOUT ((_HFILE)-4)
60 #define _CRTDBG_FILE_STDERR ((_HFILE)-5)
61 #define _CRTDBG_REPORT_FILE ((_HFILE)-6)
63 #define _CRTDBG_INVALID_HFILE ((_HFILE)(__int64)-1)
64 #define _CRTDBG_HFILE_ERROR ((_HFILE)(__int64)-2)
65 #define _CRTDBG_FILE_STDOUT ((_HFILE)(__int64)-4)
66 #define _CRTDBG_FILE_STDERR ((_HFILE)(__int64)-5)
67 #define _CRTDBG_REPORT_FILE ((_HFILE)(__int64)-6)
70 #if !defined (_M_CEE_PURE)
79 typedef int (__clrcall *_CRT_REPORT_HOOK_M)(
int,
char *,
int *);
80 typedef int (__clrcall *_CRT_REPORT_HOOKW_M)(
int,
wchar_t *,
int *);
83 #define _CRT_RPTHOOK_INSTALL 0
84 #define _CRT_RPTHOOK_REMOVE 1
99 #define _HOOK_REALLOC 2
102 #if !defined (_M_CEE_PURE)
108 typedef int (__clrcall * _CRT_ALLOC_HOOK_M)(
int,
void *,
size_t,
int, long,
const unsigned char *,
int);
123 #define _CRTDBG_ALLOC_MEM_DF 0x01
124 #define _CRTDBG_DELAY_FREE_MEM_DF 0x02
125 #define _CRTDBG_CHECK_ALWAYS_DF 0x04
126 #define _CRTDBG_RESERVED_DF 0x08
127 #define _CRTDBG_CHECK_CRT_DF 0x10
128 #define _CRTDBG_LEAK_CHECK_DF 0x20
134 #define _CRTDBG_CHECK_EVERY_16_DF 0x00100000
135 #define _CRTDBG_CHECK_EVERY_128_DF 0x00800000
136 #define _CRTDBG_CHECK_EVERY_1024_DF 0x04000000
141 #define _CRTDBG_CHECK_DEFAULT_DF 0
143 #define _CRTDBG_REPORT_FLAG -1
145 #define _BLOCK_TYPE(block) (block & 0xFFFF)
146 #define _BLOCK_SUBTYPE(block) (block >> 16 & 0xFFFF)
156 #define _FREE_BLOCK 0
157 #define _NORMAL_BLOCK 1
159 #define _IGNORE_BLOCK 3
160 #define _CLIENT_BLOCK 4
161 #define _MAX_BLOCKS 5
163 #if !defined (_M_CEE_PURE)
169 typedef void (__clrcall * _CRT_DUMP_CLIENT_M)(
void *,
size_t);
172 struct _CrtMemBlockHeader;
193 #ifndef _STATIC_ASSERT
194 #define _STATIC_ASSERT(expr) typedef char __static_assert_t[ (expr) ]
212 #define _ASSERT(expr) ((void)0)
216 #define _ASSERTE(expr) ((void)0)
220 #define _ASSERT_EXPR(expr, expr_str) ((void)0)
224 #define _ASSERT_BASE _ASSERT_EXPR
227 #define _RPT0(rptno, msg)
228 #define _RPTW0(rptno, msg)
230 #define _RPT1(rptno, msg, arg1)
231 #define _RPTW1(rptno, msg, arg1)
233 #define _RPT2(rptno, msg, arg1, arg2)
234 #define _RPTW2(rptno, msg, arg1, arg2)
236 #define _RPT3(rptno, msg, arg1, arg2, arg3)
237 #define _RPTW3(rptno, msg, arg1, arg2, arg3)
239 #define _RPT4(rptno, msg, arg1, arg2, arg3, arg4)
240 #define _RPTW4(rptno, msg, arg1, arg2, arg3, arg4)
242 #define _RPT5(rptno, msg, arg1, arg2, arg3, arg4, arg5)
243 #define _RPTW5(rptno, msg, arg1, arg2, arg3, arg4, arg5)
246 #define _RPTF0(rptno, msg)
247 #define _RPTFW0(rptno, msg)
249 #define _RPTF1(rptno, msg, arg1)
250 #define _RPTFW1(rptno, msg, arg1)
252 #define _RPTF2(rptno, msg, arg1, arg2)
253 #define _RPTFW2(rptno, msg, arg1, arg2)
255 #define _RPTF3(rptno, msg, arg1, arg2, arg3)
256 #define _RPTFW3(rptno, msg, arg1, arg2, arg3)
258 #define _RPTF4(rptno, msg, arg1, arg2, arg3, arg4)
259 #define _RPTFW4(rptno, msg, arg1, arg2, arg3, arg4)
261 #define _RPTF5(rptno, msg, arg1, arg2, arg3, arg4, arg5)
262 #define _RPTFW5(rptno, msg, arg1, arg2, arg3, arg4, arg5)
264 #define _malloc_dbg(s, t, f, l) malloc(s)
265 #define _calloc_dbg(c, s, t, f, l) calloc(c, s)
266 #define _realloc_dbg(p, s, t, f, l) realloc(p, s)
267 #define _recalloc_dbg(p, c, s, t, f, l) _recalloc(p, c, s)
268 #define _expand_dbg(p, s, t, f, l) _expand(p, s)
269 #define _free_dbg(p, t) free(p)
270 #define _msize_dbg(p, t) _msize(p)
272 #define _aligned_msize_dbg(p, a, o) _aligned_msize(p, a, o)
273 #define _aligned_malloc_dbg(s, a, f, l) _aligned_malloc(s, a)
274 #define _aligned_realloc_dbg(p, s, a, f, l) _aligned_realloc(p, s, a)
275 #define _aligned_recalloc_dbg(p, c, s, a, f, l) _aligned_recalloc(p, c, s, a)
276 #define _aligned_free_dbg(p) _aligned_free(p)
277 #define _aligned_offset_malloc_dbg(s, a, o, f, l) _aligned_offset_malloc(s, a, o)
278 #define _aligned_offset_realloc_dbg(p, s, a, o, f, l) _aligned_offset_realloc(p, s, a, o)
279 #define _aligned_offset_recalloc_dbg(p, c, s, a, o, f, l) _aligned_offset_recalloc(p, c, s, a, o)
281 #define _malloca_dbg(s, t, f, l) _malloca(s)
282 #define _freea_dbg(p, t) _freea(p)
284 #define _strdup_dbg(s, t, f, l) _strdup(s)
285 #define _wcsdup_dbg(s, t, f, l) _wcsdup(s)
286 #define _mbsdup_dbg(s, t, f, l) _mbsdup(s)
287 #define _tempnam_dbg(s1, s2, t, f, l) _tempnam(s1, s2)
288 #define _wtempnam_dbg(s1, s2, t, f, l) _wtempnam(s1, s2)
289 #define _fullpath_dbg(s1, s2, le, t, f, l) _fullpath(s1, s2, le)
290 #define _wfullpath_dbg(s1, s2, le, t, f, l) _wfullpath(s1, s2, le)
291 #define _getcwd_dbg(s, le, t, f, l) _getcwd(s, le)
292 #define _wgetcwd_dbg(s, le, t, f, l) _wgetcwd(s, le)
293 #define _getdcwd_dbg(d, s, le, t, f, l) _getdcwd(d, s, le)
294 #define _wgetdcwd_dbg(d, s, le, t, f, l) _wgetdcwd(d, s, le)
295 #define _getdcwd_lk_dbg(d, s, le, t, f, l) _getdcwd(d, s, le)
296 #define _wgetdcwd_lk_dbg(d, s, le, t, f, l) _wgetdcwd(d, s, le)
297 #define _dupenv_s_dbg(ps1, size, s2, t, f, l) _dupenv_s(ps1, size, s2)
298 #define _wdupenv_s_dbg(ps1, size, s2, t, f, l) _wdupenv_s(ps1, size, s2)
300 #define _CrtSetReportHook(f) ((_CRT_REPORT_HOOK)0)
301 #define _CrtGetReportHook() ((_CRT_REPORT_HOOK)0)
302 #define _CrtSetReportHook2(t, f) ((int)0)
303 #define _CrtSetReportHookW2(t, f) ((int)0)
304 #define _CrtSetReportMode(t, f) ((int)0)
305 #define _CrtSetReportFile(t, f) ((_HFILE)0)
307 #define _CrtDbgBreak() ((void)0)
309 #define _CrtSetBreakAlloc(a) ((long)0)
311 #define _CrtSetAllocHook(f) ((_CRT_ALLOC_HOOK)0)
312 #define _CrtGetAllocHook() ((_CRT_ALLOC_HOOK)0)
314 #define _CrtCheckMemory() ((int)1)
315 #define _CrtSetDbgFlag(f) ((int)0)
316 #define _CrtDoForAllClientObjects(f, c) ((void)0)
317 #define _CrtIsValidPointer(p, n, r) ((int)1)
318 #define _CrtIsValidHeapPointer(p) ((int)1)
319 #define _CrtIsMemoryBlock(p, t, r, f, l) ((int)1)
320 #define _CrtReportBlockType(p) ((int)-1)
322 #define _CrtSetDumpClient(f) ((_CRT_DUMP_CLIENT)0)
323 #define _CrtGetDumpClient() ((_CRT_DUMP_CLIENT)0)
325 #define _CrtMemCheckpoint(s) ((void)0)
326 #define _CrtMemDifference(s1, s2, s3) ((int)0)
327 #define _CrtMemDumpAllObjectsSince(s) ((void)0)
328 #define _CrtMemDumpStatistics(s) ((void)0)
329 #define _CrtDumpMemoryLeaks() ((int)0)
330 #define _CrtSetDebugFillThreshold(t) ((size_t)0)
332 #define _CrtSetCheckCount(f) ((int)0)
333 #define _CrtGetCheckCount() ((int)0)
350 #if defined(MRTDLL) && defined(_CRTBLD)
351 #define _MRTIMP __declspec(dllexport)
353 #define _MRTIMP __declspec(dllimport)
360 #if defined(CRTDLL) && defined(_CRTBLD)
361 #define _CRTIMP __declspec(dllexport)
364 #define _CRTIMP __declspec(dllimport)
378 #if defined (_DLL) && defined (_M_IX86)
380 _CRTIMP long * __cdecl __p__crtAssertBusy(
void);
384 #if !defined (_M_CEE_PURE)
385 _CRTIMP extern long _crtAssertBusy;
388 #if !defined (_M_CEE_PURE)
398 #if !defined (_M_CEE_PURE)
415 _In_ int _ReportType,
420 _In_ int _ReportType,
424 _CRTIMP int __cdecl _CrtDbgReport(
425 _In_ int _ReportType,
427 _In_ int _Linenumber,
433 _In_ size_t _NewDebugFillThreshold
436 #if !defined (_NATIVE_WCHAR_T_DEFINED) && defined (_M_CEE_PURE)
439 _CRTIMP int __cdecl _CrtDbgReportW(
440 _In_ int _ReportType,
442 _In_ int _LineNumber,
449 #define _ASSERT_EXPR(expr, msg) \
450 (void) ((!!(expr)) || \
451 (1 != _CrtDbgReportW(_CRT_ASSERT, _CRT_WIDE(__FILE__), __LINE__, NULL, L"%s", msg)) || \
455 #define _ASSERT(expr) _ASSERT_EXPR((expr), NULL)
459 #define _ASSERTE(expr) _ASSERT_EXPR((expr), _CRT_WIDE(#expr))
467 #define _ASSERT_BASE _ASSERT_EXPR
472 #define _RPT_BASE(args) \
473 (void) ((1 != _CrtDbgReport args) || \
476 #define _RPT_BASE_W(args) \
477 (void) ((1 != _CrtDbgReportW args) || \
480 #define _RPT0(rptno, msg) \
481 _RPT_BASE((rptno, NULL, 0, NULL, "%s", msg))
483 #define _RPTW0(rptno, msg) \
484 _RPT_BASE_W((rptno, NULL, 0, NULL, L"%s", msg))
486 #define _RPT1(rptno, msg, arg1) \
487 _RPT_BASE((rptno, NULL, 0, NULL, msg, arg1))
489 #define _RPTW1(rptno, msg, arg1) \
490 _RPT_BASE_W((rptno, NULL, 0, NULL, msg, arg1))
492 #define _RPT2(rptno, msg, arg1, arg2) \
493 _RPT_BASE((rptno, NULL, 0, NULL, msg, arg1, arg2))
495 #define _RPTW2(rptno, msg, arg1, arg2) \
496 _RPT_BASE_W((rptno, NULL, 0, NULL, msg, arg1, arg2))
498 #define _RPT3(rptno, msg, arg1, arg2, arg3) \
499 _RPT_BASE((rptno, NULL, 0, NULL, msg, arg1, arg2, arg3))
501 #define _RPTW3(rptno, msg, arg1, arg2, arg3) \
502 _RPT_BASE_W((rptno, NULL, 0, NULL, msg, arg1, arg2, arg3))
504 #define _RPT4(rptno, msg, arg1, arg2, arg3, arg4) \
505 _RPT_BASE((rptno, NULL, 0, NULL, msg, arg1, arg2, arg3, arg4))
507 #define _RPTW4(rptno, msg, arg1, arg2, arg3, arg4) \
508 _RPT_BASE_W((rptno, NULL, 0, NULL, msg, arg1, arg2, arg3, arg4))
510 #define _RPT5(rptno, msg, arg1, arg2, arg3, arg4, arg5) \
511 _RPT_BASE((rptno, NULL, 0, NULL, msg, arg1, arg2, arg3, arg4, arg5))
513 #define _RPTW5(rptno, msg, arg1, arg2, arg3, arg4, arg5) \
514 _RPT_BASE_W((rptno, NULL, 0, NULL, msg, arg1, arg2, arg3, arg4, arg5))
518 #define _RPTF0(rptno, msg) \
519 _RPT_BASE((rptno, __FILE__, __LINE__, NULL, "%s", msg))
521 #define _RPTFW0(rptno, msg) \
522 _RPT_BASE_W((rptno, _CRT_WIDE(__FILE__), __LINE__, NULL, L"%s", msg))
524 #define _RPTF1(rptno, msg, arg1) \
525 _RPT_BASE((rptno, __FILE__, __LINE__, NULL, msg, arg1))
527 #define _RPTFW1(rptno, msg, arg1) \
528 _RPT_BASE_W((rptno, _CRT_WIDE(__FILE__), __LINE__, NULL, msg, arg1))
530 #define _RPTF2(rptno, msg, arg1, arg2) \
531 _RPT_BASE((rptno, __FILE__, __LINE__, NULL, msg, arg1, arg2))
533 #define _RPTFW2(rptno, msg, arg1, arg2) \
534 _RPT_BASE_W((rptno, _CRT_WIDE(__FILE__), __LINE__, NULL, msg, arg1, arg2))
536 #define _RPTF3(rptno, msg, arg1, arg2, arg3) \
537 _RPT_BASE((rptno, __FILE__, __LINE__, NULL, msg, arg1, arg2, arg3))
539 #define _RPTFW3(rptno, msg, arg1, arg2, arg3) \
540 _RPT_BASE_W((rptno, _CRT_WIDE(__FILE__), __LINE__, NULL, msg, arg1, arg2, arg3))
542 #define _RPTF4(rptno, msg, arg1, arg2, arg3, arg4) \
543 _RPT_BASE((rptno, __FILE__, __LINE__, NULL, msg, arg1, arg2, arg3, arg4))
545 #define _RPTFW4(rptno, msg, arg1, arg2, arg3, arg4) \
546 _RPT_BASE_W((rptno, _CRT_WIDE(__FILE__), __LINE__, NULL, msg, arg1, arg2, arg3, arg4))
548 #define _RPTF5(rptno, msg, arg1, arg2, arg3, arg4, arg5) \
549 _RPT_BASE((rptno, __FILE__, __LINE__, NULL, msg, arg1, arg2, arg3, arg4, arg5))
551 #define _RPTFW5(rptno, msg, arg1, arg2, arg3, arg4, arg5) \
552 _RPT_BASE_W((rptno, _CRT_WIDE(__FILE__), __LINE__, NULL, msg, arg1, arg2, arg3, arg4, arg5))
554 #if !defined (_CRT_PORTABLE)
555 #define _CrtDbgBreak() __debugbreak()
568 #ifdef _CRTDBG_MAP_ALLOC
570 #define malloc(s) _malloc_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
571 #define calloc(c, s) _calloc_dbg(c, s, _NORMAL_BLOCK, __FILE__, __LINE__)
572 #define realloc(p, s) _realloc_dbg(p, s, _NORMAL_BLOCK, __FILE__, __LINE__)
573 #define _recalloc(p, c, s) _recalloc_dbg(p, c, s, _NORMAL_BLOCK, __FILE__, __LINE__)
574 #define _expand(p, s) _expand_dbg(p, s, _NORMAL_BLOCK, __FILE__, __LINE__)
575 #define free(p) _free_dbg(p, _NORMAL_BLOCK)
576 #define _msize(p) _msize_dbg(p, _NORMAL_BLOCK)
577 #define _aligned_msize(p, a, o) _aligned_msize_dbg(p, a, o)
578 #define _aligned_malloc(s, a) _aligned_malloc_dbg(s, a, __FILE__, __LINE__)
579 #define _aligned_realloc(p, s, a) _aligned_realloc_dbg(p, s, a, __FILE__, __LINE__)
580 #define _aligned_recalloc(p, c, s, a) _aligned_recalloc_dbg(p, c, s, a, __FILE__, __LINE__)
581 #define _aligned_offset_malloc(s, a, o) _aligned_offset_malloc_dbg(s, a, o, __FILE__, __LINE__)
582 #define _aligned_offset_realloc(p, s, a, o) _aligned_offset_realloc_dbg(p, s, a, o, __FILE__, __LINE__)
583 #define _aligned_offset_recalloc(p, c, s, a, o) _aligned_offset_recalloc_dbg(p, c, s, a, o, __FILE__, __LINE__)
584 #define _aligned_free(p) _aligned_free_dbg(p)
586 #define _malloca(s) _malloca_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
587 #define _freea(p) _freea_dbg(p, _NORMAL_BLOCK)
589 #define _strdup(s) _strdup_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
590 #define _wcsdup(s) _wcsdup_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
591 #define _mbsdup(s) _strdup_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
592 #define _tempnam(s1, s2) _tempnam_dbg(s1, s2, _NORMAL_BLOCK, __FILE__, __LINE__)
593 #define _wtempnam(s1, s2) _wtempnam_dbg(s1, s2, _NORMAL_BLOCK, __FILE__, __LINE__)
594 #define _fullpath(s1, s2, le) _fullpath_dbg(s1, s2, le, _NORMAL_BLOCK, __FILE__, __LINE__)
595 #define _wfullpath(s1, s2, le) _wfullpath_dbg(s1, s2, le, _NORMAL_BLOCK, __FILE__, __LINE__)
596 #define _getcwd(s, le) _getcwd_dbg(s, le, _NORMAL_BLOCK, __FILE__, __LINE__)
597 #define _wgetcwd(s, le) _wgetcwd_dbg(s, le, _NORMAL_BLOCK, __FILE__, __LINE__)
598 #define _getdcwd(d, s, le) _getdcwd_dbg(d, s, le, _NORMAL_BLOCK, __FILE__, __LINE__)
599 #define _wgetdcwd(d, s, le) _wgetdcwd_dbg(d, s, le, _NORMAL_BLOCK, __FILE__, __LINE__)
600 #define _dupenv_s(ps1, size, s2) _dupenv_s_dbg(ps1, size, s2, _NORMAL_BLOCK, __FILE__, __LINE__)
601 #define _wdupenv_s(ps1, size, s2) _wdupenv_s_dbg(ps1, size, s2, _NORMAL_BLOCK, __FILE__, __LINE__)
604 #define strdup(s) _strdup_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
605 #define wcsdup(s) _wcsdup_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
606 #define tempnam(s1, s2) _tempnam_dbg(s1, s2, _NORMAL_BLOCK, __FILE__, __LINE__)
607 #define getcwd(s, le) _getcwd_dbg(s, le, _NORMAL_BLOCK, __FILE__, __LINE__)
614 #if defined (_DLL) && defined (_M_IX86)
616 _CRTIMP long * __cdecl __p__crtBreakAlloc(
void);
620 #if !defined (_M_CEE_PURE)
621 _CRTIMP extern long _crtBreakAlloc;
625 _In_ long _BreakAlloc
669 _In_ size_t _NewSize,
693 _In_ size_t _Alignment,
701 _In_ size_t _NewSize,
702 _In_ size_t _Alignment,
711 _In_ size_t _NumOfElements,
712 _In_ size_t _SizeOfElements,
713 _In_ size_t _Alignment,
720 _In_ size_t _Alignment,
729 _In_ size_t _NewSize,
730 _In_ size_t _Alignment,
740 _In_ size_t _NumOfElements,
741 _In_ size_t _SizeOfElements,
742 _In_ size_t _Alignment,
784 _In_z_ const
char * _Path,
793 _In_z_ const
wchar_t * _Path,
794 _In_ size_t _SizeInWords,
802 _In_ int _SizeInBytes,
810 _In_ int _SizeInWords,
819 _In_ int _SizeInBytes,
828 _In_ int _SizeInWords,
837 _In_ int _SizeInBytes,
846 _In_ int _SizeInWords,
855 _In_z_ const
char * _VarName,
864 _In_z_ const
wchar_t * _VarName,
870 #define _malloca_dbg(s, t, f, l) _malloc_dbg(s, t, f, l)
871 #define _freea_dbg(p, t) _free_dbg(p, t)
873 #if defined (__cplusplus) && defined (_CRTDBG_MAP_ALLOC)
885 #if !defined (_M_CEE_PURE)
896 #if !defined (_M_CEE_PURE)
915 #if defined (_DLL) && defined (_M_IX86)
917 _CRTIMP int * __cdecl __p__crtDbgFlag(
void);
921 #if !defined (_M_CEE_PURE)
922 _CRTIMP extern int _crtDbgFlag;
934 _In_ void (__cdecl *_PFn)(
void *,
void *),
940 _In_ unsigned int _Bytes,
950 _In_ unsigned int _Bytes,
967 #if !defined (_M_CEE_PURE)
978 #if !defined (_M_CEE_PURE)
1008 _In_ int _CheckCount
1020 #ifndef _MFC_OVERRIDES_NEW
1035 #pragma warning(suppress: 4985)
1038 #if !defined (_M_CEE_PURE)
1046 #pragma warning(suppress: 4985)
1054 void __CRTDECL operator delete[](
void *);
1055 void __CRTDECL operator delete(
void * _P,
int, const
char *,
int);
1056 void __CRTDECL operator delete[](
void * _P,
int, const
char *,
int);
1069 #pragma warning(suppress: 4985)
1079 #pragma warning(suppress: 4985)
1087 void __CRTDECL operator delete[](
void *);
1088 void __CRTDECL operator delete(
void * _P,
int, const
char *,
int);
1089 void __CRTDECL operator delete[](
void * _P,
int, const
char *,
int);
1091 #if defined (_CRTDBG_MAP_ALLOC) && defined (_CRTDBG_MAP_ALLOC_NEW)
1119 #pragma pop_macro("new")
#define _Out_
Definition: sal.h:351
_Check_return_opt_ _In_ long _Offset
Definition: io.h:334
#define _tempnam_dbg(s1, s2, t, f, l)
Definition: crtdbg.h:287
#define _MAX_BLOCKS
Definition: crtdbg.h:161
struct _CrtMemState _CrtMemState
#define _Out_opt_
Definition: sal.h:352
int(__cdecl * _CRT_ALLOC_HOOK)(int, void *, size_t, int, long, const unsigned char *, int)
Definition: crtdbg.h:103
#define _CrtCheckMemory()
Definition: crtdbg.h:314
#define _CrtDumpMemoryLeaks()
Definition: crtdbg.h:329
_Check_return_ _In_ int _Mode
Definition: io.h:338
#define _CRTIMP
Definition: crtdefs.h:23
void * _HFILE
Definition: crtdbg.h:44
#define _CrtGetAllocHook()
Definition: crtdbg.h:312
#define _Ret_maybenull_
Definition: sal.h:535
#define _Outptr_result_z_
Definition: sal.h:440
#define _wgetdcwd_lk_dbg(d, s, le, t, f, l)
Definition: crtdbg.h:296
_W64 unsigned int size_t
Definition: crtdefs.h:496
#define _CrtDoForAllClientObjects(f, c)
Definition: crtdbg.h:316
#define _Out_writes_opt_z_(size)
Definition: sal.h:359
size_t lSizes[_MAX_BLOCKS]
Definition: crtdbg.h:177
#define _aligned_free_dbg(p)
Definition: crtdbg.h:276
_CRTIMP _In_opt_z_ const wchar_t _In_opt_z_ const wchar_t unsigned int
Definition: crtdefs.h:642
_In_opt_z_ const char * _FilePrefix
Definition: stdio.h:709
#define _CrtMemCheckpoint(s)
Definition: crtdbg.h:325
#define _getcwd_dbg(s, le, t, f, l)
Definition: crtdbg.h:291
#define _Post_invalid_
Definition: sal.h:701
typedef void(__cdecl *_se_translator_function)(unsigned int
#define _CrtMemDifference(s1, s2, s3)
Definition: crtdbg.h:326
int(__cdecl * _CRT_REPORT_HOOKW)(int, wchar_t *, int *)
Definition: crtdbg.h:72
#define _CrtSetReportFile(t, f)
Definition: crtdbg.h:305
#define _Outptr_result_buffer_maybenull_(size)
Definition: sal.h:470
#define _aligned_realloc_dbg(p, s, a, f, l)
Definition: crtdbg.h:274
#define _CrtSetBreakAlloc(a)
Definition: crtdbg.h:309
size_t lCounts[_MAX_BLOCKS]
Definition: crtdbg.h:176
#define _CrtMemDumpAllObjectsSince(s)
Definition: crtdbg.h:327
#define _CrtIsMemoryBlock(p, t, r, f, l)
Definition: crtdbg.h:319
_Check_return_ _CRTIMP _Inout_ unsigned int _In_ unsigned int _SizeOfElements
Definition: search.h:112
#define _wfullpath_dbg(s1, s2, le, t, f, l)
Definition: crtdbg.h:290
struct _CrtMemBlockHeader * pBlockHeader
Definition: crtdbg.h:175
#define _aligned_offset_realloc_dbg(p, s, a, o, f, l)
Definition: crtdbg.h:278
#define _aligned_malloc_dbg(s, a, f, l)
Definition: crtdbg.h:273
_CRTIMP _Pre_notnull_ _Post_z_ char * _DstBuf
Definition: stdlib.h:483
#define _aligned_offset_malloc_dbg(s, a, o, f, l)
Definition: crtdbg.h:277
void(__cdecl * _CRT_DUMP_CLIENT)(void *, size_t)
Definition: crtdbg.h:164
#define _CrtIsValidPointer(p, n, r)
Definition: crtdbg.h:317
_Check_return_ _CRTIMP _Inout_ unsigned int * _NumOfElements
Definition: search.h:112
#define _Pre_maybenull_
Definition: sal.h:687
#define _In_opt_z_
Definition: sal.h:320
_In_ _CRT_GUARDOVERFLOW size_t _NewSize
Definition: malloc.h:108
#define _realloc_dbg(p, s, t, f, l)
Definition: crtdbg.h:266
#define _Check_return_
Definition: sal.h:563
#define _In_z_
Definition: sal.h:319
#define _In_
Definition: sal.h:314
#define _CrtIsValidHeapPointer(p)
Definition: crtdbg.h:318
#define _wdupenv_s_dbg(ps1, size, s2, t, f, l)
Definition: crtdbg.h:298
#define _wgetdcwd_dbg(d, s, le, t, f, l)
Definition: crtdbg.h:294
#define _CrtDbgBreak()
Definition: crtdbg.h:307
#define _In_opt_
Definition: sal.h:315
#define _CrtSetAllocHook(f)
Definition: crtdbg.h:311
size_t lTotalCount
Definition: crtdbg.h:179
#define _msize_dbg(p, t)
Definition: crtdbg.h:270
#define _dupenv_s_dbg(ps1, size, s2, t, f, l)
Definition: crtdbg.h:297
#define _CrtGetCheckCount()
Definition: crtdbg.h:333
#define _recalloc_dbg(p, c, s, t, f, l)
Definition: crtdbg.h:267
#define _CrtMemDumpStatistics(s)
Definition: crtdbg.h:328
#define _Ret_maybenull_z_
Definition: sal.h:531
int(__cdecl * _CRT_REPORT_HOOK)(int, char *, int *)
Definition: crtdbg.h:71
#define _free_dbg(p, t)
Definition: crtdbg.h:269
#define _CrtSetReportHook2(t, f)
Definition: crtdbg.h:302
_Pre_maybenull_ _Post_z_ char * _Drive
Definition: stdlib.h:854
size_t lHighWaterCount
Definition: crtdbg.h:178
int errno_t
Definition: crtdefs.h:563
#define _CrtSetDumpClient(f)
Definition: crtdbg.h:322
#define _wtempnam_dbg(s1, s2, t, f, l)
Definition: crtdbg.h:288
_In_z_ const char * _Filename
Definition: process.h:211
#define __CRTDECL
Definition: crtdefs.h:622
#define _strdup_dbg(s, t, f, l)
Definition: crtdbg.h:284
#define _expand_dbg(p, s, t, f, l)
Definition: crtdbg.h:268
#define _getdcwd_dbg(d, s, le, t, f, l)
Definition: crtdbg.h:293
#define _calloc_dbg(c, s, t, f, l)
Definition: crtdbg.h:265
#define _getdcwd_lk_dbg(d, s, le, t, f, l)
Definition: crtdbg.h:295
#define _Ret_notnull_
Definition: sal.h:534
#define _Check_return_wat_
Definition: crtdefs.h:2128
#define _CrtGetDumpClient()
Definition: crtdbg.h:323
return(_PAIR_TYPE(_FwdIt)(_First, _First))
_Check_return_ _In_z_ _Scanf_format_string_ const char * _Format
Definition: stdio.h:230
#define _CRT_MANAGED_HEAP_DEPRECATE
Definition: crtdefs.h:341
#define _fullpath_dbg(s1, s2, le, t, f, l)
Definition: crtdbg.h:289
#define _CrtSetReportHook(f)
Definition: crtdbg.h:300
_Diff _Count
Definition: algorithm:1941
#define _NORMAL_BLOCK
Definition: crtdbg.h:157
#define _aligned_offset_recalloc_dbg(p, c, s, a, o, f, l)
Definition: crtdbg.h:279
#define _CrtGetReportHook()
Definition: crtdbg.h:301
#define _wgetcwd_dbg(s, le, t, f, l)
Definition: crtdbg.h:292
#define _wcsdup_dbg(s, t, f, l)
Definition: crtdbg.h:285
#define _Post_writable_byte_size_(size)
Definition: sal.h:658
#define _malloc_dbg(s, t, f, l)
Definition: crtdbg.h:264
#define _aligned_msize_dbg(p, a, o)
Definition: crtdbg.h:272
#define _Success_(expr)
Definition: sal.h:265
#define _CrtSetCheckCount(f)
Definition: crtdbg.h:332
_Check_return_ _In_ long _Size
Definition: io.h:325
#define _CrtReportBlockType(p)
Definition: crtdbg.h:320
#define _Pre_notnull_
Definition: sal.h:686
#define _CrtSetDbgFlag(f)
Definition: crtdbg.h:315
_Check_return_ _Ret_maybenull_z_ _In_ int _SizeInBytes
Definition: direct.h:130
#define _CrtSetReportHookW2(t, f)
Definition: crtdbg.h:303
#define _CrtSetDebugFillThreshold(t)
Definition: crtdbg.h:330
#define _aligned_recalloc_dbg(p, c, s, a, f, l)
Definition: crtdbg.h:275
#define _CrtSetReportMode(t, f)
Definition: crtdbg.h:304
_Check_return_ _Ret_maybenull_ _In_ size_t _Alignment
Definition: malloc.h:112