home *** CD-ROM | disk | FTP | other *** search
/ H4CK3R 14 / hacker14.iso / programacao / cwin / c.exe / $INSTDIR / include / ddk / ntddk.h < prev    next >
Encoding:
C/C++ Source or Header  |  2003-12-15  |  1.7 KB  |  91 lines

  1. /*
  2.  * ntddk.h
  3.  *
  4.  * Windows Device Driver Kit
  5.  *
  6.  * This file is part of the w32api package.
  7.  *
  8.  * Contributors:
  9.  *   Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
  10.  *
  11.  * THIS SOFTWARE IS NOT COPYRIGHTED
  12.  *
  13.  * This source code is offered for use in the public domain. You may
  14.  * use, modify or distribute it freely.
  15.  *
  16.  * This code is distributed in the hope that it will be useful but
  17.  * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
  18.  * DISCLAIMED. This includes but is not limited to warranties of
  19.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  20.  *
  21.  * DEFINES:
  22.  *    DBG          - Debugging enabled/disabled (0/1)
  23.  *    POOL_TAGGING - Enable pool tagging
  24.  *    _X86_        - X86 environment
  25.  */
  26.  
  27. #ifndef __NTDDK_H
  28. #define __NTDDK_H
  29.  
  30. #if __GNUC__ >=3
  31. #pragma GCC system_header
  32. #endif
  33.  
  34. #ifdef __cplusplus
  35. extern "C" {
  36. #endif
  37.  
  38. #pragma pack(push,4)
  39.  
  40. #include <stdarg.h>
  41. #include <windef.h>
  42. #include <ntdef.h>
  43. #include <basetyps.h>
  44.  
  45. /* Base types, structures and definitions */
  46. typedef short CSHORT;
  47. typedef CONST int CINT;
  48. typedef CONST char *PCSZ;
  49.  
  50. #ifndef STATIC
  51. #define STATIC static
  52. #endif
  53.  
  54. #ifndef CALLBACK
  55. #define CALLBACK
  56. #endif
  57.  
  58. #ifndef DECL_IMPORT
  59. #define DECL_IMPORT __attribute__((dllimport))
  60. #endif
  61.  
  62. #ifndef DECL_EXPORT
  63. #define DECL_EXPORT __attribute__((dllexport))
  64. #endif
  65.  
  66. /* Windows NT status codes */
  67. #include "ntstatus.h"
  68.  
  69. /* Windows NT definitions exported to user mode */
  70. #include <winnt.h>
  71.  
  72. /* Windows Device Driver Kit */
  73. #include "winddk.h"
  74.  
  75. /* Definitions only in Windows XP */
  76. #include "winxp.h"
  77.  
  78. /* Definitions only in Windows 2000 */
  79. #include "win2k.h"
  80.  
  81. /* Definitions only in Windows NT 4 */
  82. #include "winnt4.h"
  83.  
  84. #pragma pack(pop)
  85.  
  86. #ifdef __cplusplus
  87. }
  88. #endif
  89.  
  90. #endif /* __NTDDK_H */
  91.