Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ntddk.h
00001 /* 00002 * ntddk.h 00003 * 00004 * Windows Device Driver Kit 00005 * 00006 * This file is part of the w32api package. 00007 * 00008 * Contributors: 00009 * Created by Casper S. Hornstrup <chorns@users.sourceforge.net> 00010 * 00011 * THIS SOFTWARE IS NOT COPYRIGHTED 00012 * 00013 * This source code is offered for use in the public domain. You may 00014 * use, modify or distribute it freely. 00015 * 00016 * This code is distributed in the hope that it will be useful but 00017 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY 00018 * DISCLAIMED. This includes but is not limited to warranties of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00020 * 00021 * DEFINES: 00022 * DBG - Debugging enabled/disabled (0/1) 00023 * POOL_TAGGING - Enable pool tagging 00024 * _X86_ - X86 environment 00025 * __USE_NTOSKRNL__ - Use ntoskrnl.exe exports instead of kernel32.dll 00026 */ 00027 00028 #ifndef __NTDDK_H 00029 #define __NTDDK_H 00030 00031 #if __GNUC__ >= 3 00032 #pragma GCC system_header 00033 #endif 00034 00035 #ifndef __USE_NTOSKRNL__ 00036 #define __USE_NTOSKRNL__ 1 00037 #endif 00038 00039 #ifdef __cplusplus 00040 extern "C" { 00041 #endif 00042 00043 #include <stdarg.h> 00044 #include <windef.h> 00045 #include <ntdef.h> 00046 #include <basetyps.h> 00047 00048 /* Base types, structures and definitions */ 00049 typedef short CSHORT; 00050 typedef CONST int CINT; 00051 typedef CONST char *PCSZ; 00052 00053 #ifndef STATIC 00054 #define STATIC static 00055 #endif 00056 00057 #ifndef CALLBACK 00058 #define CALLBACK 00059 #endif 00060 00061 #ifndef DECL_IMPORT 00062 #define DECL_IMPORT __declspec(dllimport) 00063 #endif 00064 00065 #ifndef DECL_EXPORT 00066 #define DECL_EXPORT __declspec(dllexport) 00067 #endif 00068 00069 /* Windows NT status codes */ 00070 #include "ntstatus.h" 00071 00072 /* Windows NT definitions exported to user mode */ 00073 #include <winnt.h> 00074 00075 /* Windows Device Driver Kit */ 00076 #include "winddk.h" 00077 00078 /* Definitions only in Windows XP */ 00079 #include "winxp.h" 00080 00081 /* Definitions only in Windows 2000 */ 00082 #include "win2k.h" 00083 00084 /* Definitions only in Windows NT 4 */ 00085 #include "winnt4.h" 00086 00087 #ifdef __cplusplus 00088 } 00089 #endif 00090 00091 #endif /* __NTDDK_H */
Generated on Tue Jul 12 2022 19:59:54 by
1.7.2