Enable source-code annotation language (SAL)
extras-sal
Purpose/History
The Microsoft source-code annotation language (SAL) provides a set of annotations that you can use to describe how a function uses its parameters, the assumptions that it makes about them, and the guarantees that it makes when it finishes. The annotations are defined in the header file sal.h
These files come from the Windows 10 SDK.
Requirements
- A x86 version of Windows 2003 / XP SP1 with source code available: see https://rentry.co/build-win2k3
\base\extras
folder - where (global) common .c/.h files are stored
Changes
- Add
hal.h
under the\base\extras\include
folder
https://github.com/tpn/winsdk-10/blob/master/Include/10.0.10240.0/shared/sal.h - Add
concurrencysal.h
under the\base\extras\include
folder
https://github.com/tpn/winsdk-10/blob/master/Include/10.0.10240.0/shared/concurrencysal.h - Add
no_sal2.h
under the\base\extras\include
folder
https://github.com/tpn/winsdk-10/blob/master/Include/10.0.10240.0/shared/no_sal2.h