18 #if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && _MSC_VER >= 1300
25 #ifndef _SIZE_T_DEFINED
27 typedef unsigned __int64
size_t;
31 #define _SIZE_T_DEFINED
34 #ifndef _WCHAR_T_DEFINED
36 #define _WCHAR_T_DEFINED
40 #pragma push_macro( "SA" )
41 #pragma push_macro( "REPEATABLE" )
45 #define REPEATABLE [repeatable]
47 #define SA( id ) SA_##id
52 namespace vc_attributes
59 SA( No ) = 0x0fff0001,
60 SA( Maybe ) = 0x0fff0010,
61 SA( Yes ) = 0x0fff0100
64 typedef enum SA( YesNoMaybe ) SA( YesNoMaybe );
74 typedef enum SA( AccessType ) SA( AccessType );
76 #ifndef SAL_NO_ATTRIBUTE_DECLARATIONS
79 [source_annotation_attribute( SA( All ) )]
87 SA( YesNoMaybe ) Valid;
88 SA( YesNoMaybe ) Null;
89 SA( YesNoMaybe ) Tainted;
90 SA( AccessType ) Access;
92 size_t ValidElementsConst;
93 size_t ValidBytesConst;
94 const
wchar_t* ValidElements;
95 const
wchar_t* ValidBytes;
96 const
wchar_t* ValidElementsLength;
97 const
wchar_t* ValidBytesLength;
98 size_t WritableElementsConst;
99 size_t WritableBytesConst;
100 const
wchar_t* WritableElements;
101 const
wchar_t* WritableBytes;
102 const
wchar_t* WritableElementsLength;
103 const
wchar_t* WritableBytesLength;
104 size_t ElementSizeConst;
105 const
wchar_t* ElementSize;
106 SA( YesNoMaybe ) NullTerminated;
107 const
wchar_t* Condition;
111 [source_annotation_attribute( SA( All ) )]
119 SA( YesNoMaybe ) Valid;
120 SA( YesNoMaybe ) Null;
121 SA( YesNoMaybe ) Tainted;
122 SA( AccessType ) Access;
124 size_t ValidElementsConst;
125 size_t ValidBytesConst;
126 const
wchar_t* ValidElements;
127 const
wchar_t* ValidBytes;
128 const
wchar_t* ValidElementsLength;
129 const
wchar_t* ValidBytesLength;
130 size_t WritableElementsConst;
131 size_t WritableBytesConst;
132 const
wchar_t* WritableElements;
133 const
wchar_t* WritableBytes;
134 const
wchar_t* WritableElementsLength;
135 const
wchar_t* WritableBytesLength;
136 size_t ElementSizeConst;
137 const
wchar_t* ElementSize;
138 SA( YesNoMaybe ) NullTerminated;
139 SA( YesNoMaybe ) MustCheck;
140 const
wchar_t* Condition;
143 [source_annotation_attribute( SA( All ) )]
144 struct FormatStringAttribute
147 FormatStringAttribute();
150 const wchar_t* Style;
151 const wchar_t* UnformattedAlternative;
155 [source_annotation_attribute( SA( All ) )]
156 struct InvalidCheckAttribute
159 InvalidCheckAttribute();
165 [source_annotation_attribute( SA( All ) )]
166 struct SuccessAttribute
172 const wchar_t* Condition;
176 [source_annotation_attribute( SA( All ) )]
177 struct PreBoundAttribute
186 [source_annotation_attribute( SA( All ) )]
187 struct PostBoundAttribute
190 PostBoundAttribute();
196 [source_annotation_attribute( SA( All ) )]
197 struct PreRangeAttribute
208 [source_annotation_attribute( SA( All ) )]
209 struct PostRangeAttribute
212 PostRangeAttribute();
220 [source_annotation_attribute( SA( All ) )]
221 struct DerefAttribute
230 [source_annotation_attribute( SA( All ) )]
231 struct NotrefAttribute
240 [source_annotation_attribute( SA( All ) )]
241 struct AnnotesAttribute
258 [source_annotation_attribute( SA( All ) )]
268 [source_annotation_attribute( SA( All ) )]
270 struct AtBufferAttribute
280 [source_annotation_attribute( SA( All ) )]
290 [source_annotation_attribute( SA( All ) )]
292 struct TypefixAttribute
300 [source_annotation_attribute( SA( All ) )]
302 struct ContextAttribute
310 [source_annotation_attribute( SA( All ) )]
312 struct ExceptAttribute
320 [source_annotation_attribute( SA( All ) )]
322 struct PreOpAttribute
330 [source_annotation_attribute( SA( All ) )]
332 struct PostOpAttribute
340 [source_annotation_attribute( SA( All ) )]
342 struct BeginAttribute
350 [source_annotation_attribute( SA( All ) )]
366 #pragma pop_macro( "REPEATABLE" )
367 #pragma pop_macro( "SA" )
372 #define SA_Class Class
373 #define SA_Constructor Constructor
374 #define SA_Delegate Delegate
376 #define SA_Event Event
377 #define SA_Field Field
378 #define SA_GenericParameter GenericParameter
379 #define SA_Interface Interface
380 #define SA_Method Method
381 #define SA_Module Module
382 #define SA_Parameter Parameter
383 #define SA_Property Property
384 #define SA_ReturnValue ReturnValue
385 #define SA_Struct Struct
386 #define SA_Typedef Typedef
388 typedef ::vc_attributes::YesNoMaybe SA_YesNoMaybe;
389 const ::vc_attributes::YesNoMaybe SA_Yes = ::vc_attributes::Yes;
390 const ::vc_attributes::YesNoMaybe SA_No = ::vc_attributes::No;
391 const ::vc_attributes::YesNoMaybe SA_Maybe = ::vc_attributes::Maybe;
393 typedef ::vc_attributes::AccessType SA_AccessType;
394 const ::vc_attributes::AccessType SA_NoAccess = ::vc_attributes::NoAccess;
395 const ::vc_attributes::AccessType SA_Read = ::vc_attributes::Read;
396 const ::vc_attributes::AccessType SA_Write = ::vc_attributes::Write;
397 const ::vc_attributes::AccessType SA_ReadWrite = ::vc_attributes::ReadWrite;
399 #ifndef SAL_NO_ATTRIBUTE_DECLARATIONS
400 typedef ::vc_attributes::PreAttribute SA_Pre;
401 typedef ::vc_attributes::PostAttribute SA_Post;
402 typedef ::vc_attributes::FormatStringAttribute SA_FormatString;
403 typedef ::vc_attributes::InvalidCheckAttribute SA_InvalidCheck;
404 typedef ::vc_attributes::SuccessAttribute SA_Success;
405 typedef ::vc_attributes::PreBoundAttribute SA_PreBound;
406 typedef ::vc_attributes::PostBoundAttribute SA_PostBound;
407 typedef ::vc_attributes::PreRangeAttribute SA_PreRange;
408 typedef ::vc_attributes::PostRangeAttribute SA_PostRange;
410 typedef ::vc_attributes::DerefAttribute SAL_deref;
411 typedef ::vc_attributes::NotrefAttribute SAL_notref;
412 typedef ::vc_attributes::PreOpAttribute SAL_pre;
413 typedef ::vc_attributes::PostOpAttribute SAL_post;
414 typedef ::vc_attributes::ExceptAttribute SAL_except;
416 typedef ::vc_attributes::AtAttribute SAL_at;
417 typedef ::vc_attributes::AtBufferAttribute SAL_at_buffer;
418 typedef ::vc_attributes::WhenAttribute SAL_when;
419 typedef ::vc_attributes::BeginAttribute SAL_begin;
420 typedef ::vc_attributes::EndAttribute SAL_end;
421 typedef ::vc_attributes::TypefixAttribute SAL_typefix;
422 typedef ::vc_attributes::AnnotesAttribute SAL_annotes;
423 typedef ::vc_attributes::ContextAttribute SAL_context;
429 typedef struct PreAttribute SA_Pre;
430 typedef struct PreAttribute PreAttribute;
431 typedef struct PostAttribute SA_Post;
432 typedef struct PostAttribute PostAttribute;
433 typedef struct FormatStringAttribute SA_FormatString;
434 typedef struct InvalidCheckAttribute SA_InvalidCheck;
435 typedef struct SuccessAttribute SA_Success;
436 typedef struct PreBoundAttribute SA_PreBound;
437 typedef struct PostBoundAttribute SA_PostBound;
438 typedef struct PreRangeAttribute SA_PreRange;
439 typedef struct PostRangeAttribute SA_PostRange;
441 typedef struct DerefAttribute SAL_deref;
442 typedef struct NotrefAttribute SAL_notref;
443 typedef struct PreOpAttribute SAL_pre;
444 typedef struct PostOpAttribute SAL_post;
445 typedef struct ExceptAttribute SAL_except;
447 typedef struct AtAttribute SAL_at;
448 typedef struct AtBufferAttribute SAL_at_buffer;
449 typedef struct WhenAttribute SAL_when;
450 typedef struct BeginAttribute SAL_begin;
451 typedef struct EndAttribute SAL_end;
452 typedef struct TypefixAttribute SAL_typefix;
453 typedef struct AnnotesAttribute SAL_annotes;
454 typedef struct ContextAttribute SAL_context;
463 #define SA_SUPPRESS_MESSAGE( category, id, ... ) [::System::Diagnostics::CodeAnalysis::SuppressMessage( category, id, __VA_ARGS__ )]
464 #define CA_SUPPRESS_MESSAGE( ... ) [System::Diagnostics::CodeAnalysis::SuppressMessage( __VA_ARGS__ )]
465 #define CA_GLOBAL_SUPPRESS_MESSAGE( ... ) [assembly:System::Diagnostics::CodeAnalysis::SuppressMessage( __VA_ARGS__ )]
467 #define SA_SUPPRESS_MESSAGE( category, id, ... )
468 #define CA_SUPPRESS_MESSAGE( ... )
469 #define CA_GLOBAL_SUPPRESS_MESSAGE( ... )
_W64 unsigned int size_t
Definition: crtdefs.h:496
unsigned short wchar_t
Definition: crtdefs.h:536
#define _W64
Definition: crtdefs.h:100