15 #ifndef _SIZE_T_DEFINED
17 typedef unsigned __int64
size_t;
21 #define _SIZE_T_DEFINED
24 #ifndef _WCHAR_T_DEFINED
26 #define _WCHAR_T_DEFINED
30 #pragma push_macro( "SA" )
31 #pragma push_macro( "REPEATABLE" )
35 #define REPEATABLE [repeatable]
37 #define SA( id ) SA_##id
42 namespace vc_attributes
49 SA( No ) = 0x0fff0001,
50 SA( Maybe ) = 0x0fff0010,
51 SA( Yes ) = 0x0fff0100
54 typedef enum SA( YesNoMaybe )
SA( YesNoMaybe );
64 typedef enum SA( AccessType )
SA( AccessType );
66 #ifndef SAL_NO_ATTRIBUTE_DECLARATIONS
69 [source_annotation_attribute(
SA( All ) )]
77 SA( YesNoMaybe ) Valid;
78 SA( YesNoMaybe ) Null;
79 SA( YesNoMaybe ) Tainted;
80 SA( AccessType ) Access;
82 size_t ValidElementsConst;
83 size_t ValidBytesConst;
84 const
wchar_t* ValidElements;
85 const
wchar_t* ValidBytes;
86 const
wchar_t* ValidElementsLength;
87 const
wchar_t* ValidBytesLength;
88 size_t WritableElementsConst;
89 size_t WritableBytesConst;
90 const
wchar_t* WritableElements;
91 const
wchar_t* WritableBytes;
92 const
wchar_t* WritableElementsLength;
93 const
wchar_t* WritableBytesLength;
94 size_t ElementSizeConst;
95 const
wchar_t* ElementSize;
96 SA( YesNoMaybe ) NullTerminated;
97 const
wchar_t* Condition;
101 [source_annotation_attribute(
SA( All ) )]
109 SA( YesNoMaybe ) Valid;
110 SA( YesNoMaybe ) Null;
111 SA( YesNoMaybe ) Tainted;
112 SA( AccessType ) Access;
114 size_t ValidElementsConst;
115 size_t ValidBytesConst;
116 const
wchar_t* ValidElements;
117 const
wchar_t* ValidBytes;
118 const
wchar_t* ValidElementsLength;
119 const
wchar_t* ValidBytesLength;
120 size_t WritableElementsConst;
121 size_t WritableBytesConst;
122 const
wchar_t* WritableElements;
123 const
wchar_t* WritableBytes;
124 const
wchar_t* WritableElementsLength;
125 const
wchar_t* WritableBytesLength;
126 size_t ElementSizeConst;
127 const
wchar_t* ElementSize;
128 SA( YesNoMaybe ) NullTerminated;
129 SA( YesNoMaybe ) MustCheck;
130 const
wchar_t* Condition;
133 [source_annotation_attribute(
SA( All ) )]
137 FormatStringAttribute();
145 [source_annotation_attribute(
SA( All ) )]
155 [source_annotation_attribute(
SA( All ) )]
166 [source_annotation_attribute(
SA( All ) )]
176 [source_annotation_attribute(
SA( All ) )]
186 [source_annotation_attribute(
SA( All ) )]
198 [source_annotation_attribute(
SA( All ) )]
210 [source_annotation_attribute(
SA( All ) )]
220 [source_annotation_attribute(
SA( All ) )]
230 [source_annotation_attribute(
SA( All ) )]
248 [source_annotation_attribute(
SA( All ) )]
258 [source_annotation_attribute(
SA( All ) )]
270 [source_annotation_attribute(
SA( All ) )]
280 [source_annotation_attribute(
SA( All ) )]
290 [source_annotation_attribute(
SA( All ) )]
300 [source_annotation_attribute(
SA( All ) )]
310 [source_annotation_attribute(
SA( All ) )]
320 [source_annotation_attribute(
SA( All ) )]
330 [source_annotation_attribute(
SA( All ) )]
340 [source_annotation_attribute(
SA( All ) )]
356 #pragma pop_macro( "REPEATABLE" )
357 #pragma pop_macro( "SA" )
362 #define SA_Class Class
363 #define SA_Constructor Constructor
364 #define SA_Delegate Delegate
366 #define SA_Event Event
367 #define SA_Field Field
368 #define SA_GenericParameter GenericParameter
369 #define SA_Interface Interface
370 #define SA_Method Method
371 #define SA_Module Module
372 #define SA_Parameter Parameter
373 #define SA_Property Property
374 #define SA_ReturnValue ReturnValue
375 #define SA_Struct Struct
376 #define SA_Typedef Typedef
378 typedef ::vc_attributes::YesNoMaybe SA_YesNoMaybe;
379 const ::vc_attributes::YesNoMaybe SA_Yes = ::vc_attributes::Yes;
380 const ::vc_attributes::YesNoMaybe SA_No = ::vc_attributes::No;
381 const ::vc_attributes::YesNoMaybe SA_Maybe = ::vc_attributes::Maybe;
383 typedef ::vc_attributes::AccessType SA_AccessType;
384 const ::vc_attributes::AccessType SA_NoAccess = ::vc_attributes::NoAccess;
385 const ::vc_attributes::AccessType SA_Read = ::vc_attributes::Read;
386 const ::vc_attributes::AccessType SA_Write = ::vc_attributes::Write;
387 const ::vc_attributes::AccessType SA_ReadWrite = ::vc_attributes::ReadWrite;
389 #ifndef SAL_NO_ATTRIBUTE_DECLARATIONS
394 typedef ::vc_attributes::SuccessAttribute
SA_Success;
395 typedef ::vc_attributes::PreBoundAttribute
SA_PreBound;
396 typedef ::vc_attributes::PostBoundAttribute
SA_PostBound;
397 typedef ::vc_attributes::PreRangeAttribute
SA_PreRange;
398 typedef ::vc_attributes::PostRangeAttribute
SA_PostRange;
400 typedef ::vc_attributes::DerefAttribute
SAL_deref;
401 typedef ::vc_attributes::NotrefAttribute
SAL_notref;
402 typedef ::vc_attributes::PreOpAttribute
SAL_pre;
403 typedef ::vc_attributes::PostOpAttribute
SAL_post;
404 typedef ::vc_attributes::ExceptAttribute
SAL_except;
406 typedef ::vc_attributes::AtAttribute
SAL_at;
408 typedef ::vc_attributes::WhenAttribute
SAL_when;
409 typedef ::vc_attributes::BeginAttribute
SAL_begin;
410 typedef ::vc_attributes::EndAttribute
SAL_end;
411 typedef ::vc_attributes::TypefixAttribute
SAL_typefix;
412 typedef ::vc_attributes::AnnotesAttribute
SAL_annotes;
413 typedef ::vc_attributes::ContextAttribute
SAL_context;
421 typedef struct PostAttribute SA_Post;
422 typedef struct PostAttribute PostAttribute;
453 #define SA_SUPPRESS_MESSAGE( category, id, ... ) [::System::Diagnostics::CodeAnalysis::SuppressMessage( category, id, __VA_ARGS__ )]
454 #define CA_SUPPRESS_MESSAGE( ... ) [System::Diagnostics::CodeAnalysis::SuppressMessage( __VA_ARGS__ )]
455 #define CA_GLOBAL_SUPPRESS_MESSAGE( ... ) [assembly:System::Diagnostics::CodeAnalysis::SuppressMessage( __VA_ARGS__ )]
457 #define SA_SUPPRESS_MESSAGE( category, id, ... )
458 #define CA_SUPPRESS_MESSAGE( ... )
459 #define CA_GLOBAL_SUPPRESS_MESSAGE( ... )
wchar_t * p1
Definition: sourceannotations.h:255
int unused
Definition: sourceannotations.h:216
const char * MaxVal
Definition: sourceannotations.h:206
Definition: sourceannotations.h:322
int unused
Definition: sourceannotations.h:317
struct PostAttribute SA_Post
Definition: sourceannotations.h:421
Definition: sourceannotations.h:231
struct TypefixAttribute SAL_typefix
Definition: sourceannotations.h:442
struct BeginAttribute SAL_begin
Definition: sourceannotations.h:440
unsigned int Deref
Definition: sourceannotations.h:192
wchar_t * p6
Definition: sourceannotations.h:242
wchar_t * p4
Definition: sourceannotations.h:240
#define REPEATABLE
Definition: sourceannotations.h:38
wchar_t * Name
Definition: sourceannotations.h:236
struct EndAttribute SAL_end
Definition: sourceannotations.h:441
struct InvalidCheckAttribute SA_InvalidCheck
Definition: sourceannotations.h:424
struct PostRangeAttribute SA_PostRange
Definition: sourceannotations.h:429
Definition: sourceannotations.h:312
struct AtAttribute SAL_at
Definition: sourceannotations.h:437
int unused
Definition: sourceannotations.h:337
wchar_t * p9
Definition: sourceannotations.h:245
wchar_t * p1
Definition: sourceannotations.h:287
Definition: sourceannotations.h:342
struct PreOpAttribute SAL_pre
Definition: sourceannotations.h:433
struct PostBoundAttribute SA_PostBound
Definition: sourceannotations.h:427
struct FormatStringAttribute SA_FormatString
Definition: sourceannotations.h:423
struct AnnotesAttribute SAL_annotes
Definition: sourceannotations.h:443
long Value
Definition: sourceannotations.h:152
int unused
Definition: sourceannotations.h:327
Definition: sourceannotations.h:177
Definition: sourceannotations.h:292
unsigned int Deref
Definition: sourceannotations.h:204
Definition: sourceannotations.h:260
unsigned int size_t
Definition: sourceannotations.h:19
Definition: sourceannotations.h:156
unsigned int Deref
Definition: sourceannotations.h:172
Definition: sourceannotations.h:199
Definition: sourceannotations.h:332
const char * MaxVal
Definition: sourceannotations.h:194
wchar_t * p5
Definition: sourceannotations.h:241
wchar_t * p3
Definition: sourceannotations.h:239
struct SuccessAttribute SA_Success
Definition: sourceannotations.h:425
const char * MinVal
Definition: sourceannotations.h:205
struct ContextAttribute SAL_context
Definition: sourceannotations.h:444
struct PreBoundAttribute SA_PreBound
Definition: sourceannotations.h:426
wchar_t * p1
Definition: sourceannotations.h:237
const wchar_t * Condition
Definition: sourceannotations.h:162
unsigned int Deref
Definition: sourceannotations.h:182
Definition: sourceannotations.h:272
unsigned short wchar_t
Definition: sourceannotations.h:25
int unused
Definition: sourceannotations.h:307
wchar_t * p7
Definition: sourceannotations.h:243
wchar_t * p1
Definition: sourceannotations.h:297
wchar_t * p2
Definition: sourceannotations.h:238
Definition: sourceannotations.h:221
Definition: sourceannotations.h:167
Definition: sourceannotations.h:102
struct PreAttribute SA_Pre
Definition: sourceannotations.h:419
wchar_t * p1
Definition: sourceannotations.h:277
Definition: sourceannotations.h:302
struct PreRangeAttribute SA_PreRange
Definition: sourceannotations.h:428
Definition: sourceannotations.h:146
int unused
Definition: sourceannotations.h:347
wchar_t * p3
Definition: sourceannotations.h:267
struct AtBufferAttribute SAL_at_buffer
Definition: sourceannotations.h:438
Definition: sourceannotations.h:211
wchar_t * p1
Definition: sourceannotations.h:265
Definition: sourceannotations.h:187
struct PostAttribute PostAttribute
Definition: sourceannotations.h:422
wchar_t * p2
Definition: sourceannotations.h:266
wchar_t * p8
Definition: sourceannotations.h:244
struct NotrefAttribute SAL_notref
Definition: sourceannotations.h:432
struct WhenAttribute SAL_when
Definition: sourceannotations.h:439
const char * MinVal
Definition: sourceannotations.h:193
Definition: sourceannotations.h:282
Definition: sourceannotations.h:250
struct PreAttribute PreAttribute
Definition: sourceannotations.h:420
#define SA(id)
Definition: sourceannotations.h:37
Definition: sourceannotations.h:70
struct ExceptAttribute SAL_except
Definition: sourceannotations.h:435
int unused
Definition: sourceannotations.h:226
struct DerefAttribute SAL_deref
Definition: sourceannotations.h:431
struct PostOpAttribute SAL_post
Definition: sourceannotations.h:434
unsigned int Deref
Definition: sourceannotations.h:108
unsigned int Deref
Definition: sourceannotations.h:76