Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Safe Integer Library Routines

Safe Integer Library Routines

This section describes the safe integer functions for drivers. These functions are defined as inline functions in the Ntintsafe.h header file in the WDK. The safe integer functions are designed to help drivers to avoid arithmetic overflow errors. These functions are divided into two sets; the first converts integer values from one type to another, and the second performs math functions. For more information about these functions, see Using Safe Integer Functions.

The Intsafe.h header file in the Windows SDK defines a similar set of safe integer functions for use by applications. For more information about this version of the safe integer functions, see Intsafe.h Functions.

In this section

TopicDescription

Arithmetic Functions

This section describes the safe integer arithmetic functions for drivers. These functions are defined in the Ntintsafe.h header file.

Conversion Functions

This section describes the safe integer conversion functions for drivers. These functions are defined in the Ntintsafe.h header file.

 

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft