다음을 통해 공유


Typo Warnings (Windows CE 5.0)

Send Feedback

PREfast reports typo warnings when it encounters problems in the syntax of your code.

The following warnings are reported in this category:

Warning Number Description
PREfast Warning 31 Return value ignored.
PREfast Warning 63 Format string mismatch.
PREfast Warning 64 Format string mismatch.
PREfast Warning 66 Format string mismatch.
PREfast Warning 67 Format string mismatch.
PREfast Warning 69 Inefficient use of <function>.
PREfast Warning 268 Incorrect order of operations.
PREfast Warning 269 Incorrect order of operations.
PREfast Warning 270 Format string mismatch.
PREfast Warning 271 Format string mismatch.
PREfast Warning 272 Format string mismatch.
PREfast Warning 273 Format string mismatch.
PREfast Warning 274 Format string mismatch.
PREfast Warning 276 Cast between semantically different string types.
PREfast Warning 277 Dangerous call to <function>.
PREfast Warning 278 Allocation/free mismatch.
PREfast Warning 279 Allocation/free mismatch.
PREfast Warning 280 Allocation/free mismatch.
PREfast Warning 283 Allocation/free mismatch.
PREfast Warning 284 Format string mismatch.
PREfast Warning 298 Read-only string <pointer> used as a writable string argument.
PREfast Warning 299 Bit field explicitly compared to a Boolean will yield unexpected results.
PREfast Warning 300 Discarded the results of top-level expression <expression>.
PREfast Warning 301 PREfast Warning <function> is deprecated.
PREfast Warning 302 Format string mismatch.
PREfast Warning 303 Format string mismatch.
PREfast Warning 304 Address of local array <variable> is the same as the local array variable.
PREfast Warning 306 Incorrect call to <function>.
PREfast Warning 307 Cast between semantically different string types.
PREfast Warning 309 Potential NULL argument <number> to <function>.
PREfast Warning 321 Potential use of relative pathname in call to LoadLibraryA, LoadLibraryW, LoadLibraryExA, and LoadLibraryExW.
PREfast Warning 322 Empty _except block.
PREfast Warning 323 Use of arithmetic operator on BOOL.
PREfast Warning 324 Potential incorrect use of strcpy.
PREfast Warning 325 Potential comparison of BSTR with NULL.
PREfast Warning 326 Potential comparison of a constant with constant.
PREfast Warning 327 Potential buffer overrun.
PREfast Warning 328 <type> passed as parameter <number> when <type> is required in call to <function>.
PREfast Warning 329 Return value for a call to <function> should not be checked against <number>.
PREfast Warning 380 Legacy shutdown API <function> used.
PREfast Warning 381 Shutdown API <function> used with one of the following:
  • dwReason equal to zero and no lpMessage specified
  • Invalid dwReason
PREfast Warning 382 Shutdown resource ID <variable> used.

See Also

Warnings by Category

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.