다음을 통해 공유


HRESULT Warnings (Windows CE 5.0)

Send Feedback

HRESULT is a return status type used by COM functions to signal success or failure.

There are strict guidelines for how HRESULT should be used. However, these are frequently overlooked or ignored. PREfast detects situations where HRESULT has been used incorrectly or has been used in a manner that might cause undesirable results.

The following warnings are reported in this category:

Warning number Description
PREfast Warning 214 Cast between semantically different integer types.
PREfast Warning 215 Cast between semantically different integer types.
PREfast Warning 216 Compiler-inserted cast between semantically different integer types.
PREfast Warning 217 Implicit cast between semantically different integer types.
PREfast Warning 219 Implicit cast between semantically different integer types.
PREfast Warning 220 Implicit cast between semantically different integer types.
PREfast Warning 221 Implicit cast between semantically different integer types.
PREfast Warning 225 Implicit cast between semantically different integer types.
PREfast Warning 226 Implicit cast between semantically different integer types.
PREfast Warning 230 Implicit cast between semantically different integer types.

See Also

Warnings by Category

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.