STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Macros | Typedefs | Functions | Variables
vcruntime.h File Reference
#include <sal.h>
#include <vadefs.h>

Go to the source code of this file.

Macros

#define _VCRT_DEFINED_CRTIMP
 
#define _CRTIMP
 
#define _VCRUNTIME_H
 
#define _CRT_BEGIN_C_HEADER   __pragma(pack(push, _CRT_PACKING))
 
#define _CRT_END_C_HEADER   __pragma(pack(pop))
 
#define _HAS_EXCEPTIONS   1
 
#define _CRT_STRINGIZE_(x)   #x
 
#define _CRT_STRINGIZE(x)   _CRT_STRINGIZE_(x)
 
#define _CRT_WIDE_(s)   L ## s
 
#define _CRT_WIDE(s)   _CRT_WIDE_(s)
 
#define _CRT_CONCATENATE_(a, b)   a ## b
 
#define _CRT_CONCATENATE(a, b)   _CRT_CONCATENATE_(a, b)
 
#define _CRT_UNPARENTHESIZE_(...)   __VA_ARGS__
 
#define _CRT_UNPARENTHESIZE(...)   _CRT_UNPARENTHESIZE_ __VA_ARGS__
 
#define _VCRTIMP
 
#define _MRTIMP   __declspec(dllimport)
 
#define _VCRTIMP_PURE   _VCRTIMP
 
#define __CLRCALL_OR_CDECL   __cdecl
 
#define __CLR_OR_THIS_CALL
 
#define __CLRCALL_PURE_OR_CDECL   __cdecl
 
#define __CRTDECL   __CLRCALL_PURE_OR_CDECL
 
#define _VCRT_NOALIAS   __declspec(noalias)
 
#define _VCRT_RESTRICT   __declspec(restrict)
 
#define _VCRT_ALLOCATOR   __declspec(allocator)
 
#define _VCRT_JIT_INTRINSIC
 
#define _VCRT_ALIGN(x)   __declspec(align(x))
 
#define _CONST_RETURN
 
#define _WConst_return   _CONST_RETURN
 
#define _SIZE_T_DEFINED
 
#define _PTRDIFF_T_DEFINED
 
#define _INTPTR_T_DEFINED
 
#define _WCHAR_T_DEFINED
 
#define NULL   ((void *)0)
 
#define _UNALIGNED
 
#define __crt_countof(_Array)   (sizeof(_Array) / sizeof(_Array[0]))
 
#define _CRT_DEPRECATE_TEXT(_Text)   __declspec(deprecated(_Text))
 
#define _CRT_INSECURE_DEPRECATE(_Replacement)
 
#define _CRT_INSECURE_DEPRECATE_MEMORY(_Replacement)
 
#define _CRT_WARNING(description)   message("" __FILE__ "(" _CRT_STRINGIZE(__LINE__) ") : warning CRT0000 : " _CRT_STRINGIZE(description))
 
#define __vcrt_malloc_normal(_Size)   malloc(_Size)
 
#define __vcrt_calloc_normal(_Count, _Size)   calloc(_Count, _Size)
 
#define __vcrt_free_normal(_Memory)   free(_Memory)
 

Typedefs

typedef unsigned int size_t
 
typedef int ptrdiff_t
 
typedef int intptr_t
 
typedef _Bool __vcrt_bool
 
typedef unsigned short wchar_t
 

Functions

void __cdecl __security_init_cookie (void)
 
void __cdecl __security_check_cookie (_In_ uintptr_t _StackCookie)
 
 __declspec (noreturn) void __cdecl __report_gsfailure(_In_ uintptr_t _StackCookie)
 Cancels the currently executing task. This function can be called from within the body of a task to abort the task's execution and cause it to enter the canceled state. While it may be used in response to a cancellation request through a cancellation_token, you may also use it by itself, to initiate cancellation of the task that is currently executing. More...
 

Variables

uintptr_t __security_cookie
 

Macro Definition Documentation

#define __CLR_OR_THIS_CALL
#define __CLRCALL_OR_CDECL   __cdecl
#define __CLRCALL_PURE_OR_CDECL   __cdecl
#define __crt_countof (   _Array)    (sizeof(_Array) / sizeof(_Array[0]))
#define __CRTDECL   __CLRCALL_PURE_OR_CDECL
#define __vcrt_calloc_normal (   _Count,
  _Size 
)    calloc(_Count, _Size)
#define __vcrt_free_normal (   _Memory)    free(_Memory)
#define __vcrt_malloc_normal (   _Size)    malloc(_Size)
#define _CONST_RETURN
#define _CRT_BEGIN_C_HEADER   __pragma(pack(push, _CRT_PACKING))
#define _CRT_CONCATENATE (   a,
 
)    _CRT_CONCATENATE_(a, b)
#define _CRT_CONCATENATE_ (   a,
 
)    a ## b
#define _CRT_DEPRECATE_TEXT (   _Text)    __declspec(deprecated(_Text))
#define _CRT_END_C_HEADER   __pragma(pack(pop))
#define _CRT_INSECURE_DEPRECATE (   _Replacement)
Value:
"This function or variable may be unsafe. Consider using " \
#_Replacement \
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " \
"See online help for details.")
#define _CRT_DEPRECATE_TEXT(_Text)
Definition: vcruntime.h:259
#define _CRT_INSECURE_DEPRECATE_MEMORY (   _Replacement)
#define _CRT_STRINGIZE (   x)    _CRT_STRINGIZE_(x)
#define _CRT_STRINGIZE_ (   x)    #x
#define _CRT_UNPARENTHESIZE (   ...)    _CRT_UNPARENTHESIZE_ __VA_ARGS__
#define _CRT_UNPARENTHESIZE_ (   ...)    __VA_ARGS__
#define _CRT_WARNING (   description)    message("" __FILE__ "(" _CRT_STRINGIZE(__LINE__) ") : warning CRT0000 : " _CRT_STRINGIZE(description))
#define _CRT_WIDE (   s)    _CRT_WIDE_(s)
#define _CRT_WIDE_ (   s)    L ## s
#define _CRTIMP
#define _HAS_EXCEPTIONS   1
#define _INTPTR_T_DEFINED
#define _MRTIMP   __declspec(dllimport)
#define _PTRDIFF_T_DEFINED
#define _SIZE_T_DEFINED
#define _UNALIGNED
#define _VCRT_ALIGN (   x)    __declspec(align(x))
#define _VCRT_ALLOCATOR   __declspec(allocator)
#define _VCRT_DEFINED_CRTIMP
#define _VCRT_JIT_INTRINSIC
#define _VCRT_NOALIAS   __declspec(noalias)
#define _VCRT_RESTRICT   __declspec(restrict)
#define _VCRTIMP
#define _VCRTIMP_PURE   _VCRTIMP
#define _VCRUNTIME_H
#define _WCHAR_T_DEFINED
#define _WConst_return   _CONST_RETURN
#define NULL   ((void *)0)

Typedef Documentation

typedef _Bool __vcrt_bool
typedef int intptr_t
typedef int ptrdiff_t
typedef unsigned int size_t
typedef unsigned short wchar_t

Function Documentation

__declspec ( noreturn  )
inline

Cancels the currently executing task. This function can be called from within the body of a task to abort the task's execution and cause it to enter the canceled state. While it may be used in response to a cancellation request through a cancellation_token, you may also use it by itself, to initiate cancellation of the task that is currently executing.

It is not a supported scenario to call this function if you are not within the body of a task. Doing so will result in undefined behavior such as a crash or a hang in your application.

See also
task Class
132 {
133  _THROW_NCEE(task_canceled, _EMPTY_ARGUMENT);
134 }
#define _THROW_NCEE(x, y)
Definition: xstddef:78
#define _EMPTY_ARGUMENT
Definition: xstddef:82
void __cdecl __security_check_cookie ( _In_ uintptr_t  _StackCookie)
void __cdecl __security_init_cookie ( void  )

Variable Documentation

uintptr_t __security_cookie