ReactOS 0.4.16-dev-287-g2d3f3a1
wdm.template.h File Reference
#include <excpt.h>
#include <ntdef.h>
#include <ntstatus.h>
#include <kernelspecs.h>
#include <ntiologc.h>
#include <suppress.h>
#include <guiddef.h>
#include <string.h>
#include <dpfilter.h>
#include "intrin.h"
Include dependency graph for wdm.template.h:

Go to the source code of this file.

Macros

#define _WDMDDK_
 
#define WDM_MAJORVERSION   0x06
 
#define WDM_MINORVERSION   0x00
 
#define _NTDDK_
 
#define _WDM_INCLUDED_
 
#define _DDK_DRIVER_
 
#define NO_INTERLOCKED_INTRINSICS
 
#define NT_INCLUDED
 
#define NTHALAPI   DECLSPEC_IMPORT
 
#define NTKERNELAPI   DECLSPEC_IMPORT
 
#define NTKRNLVISTAAPI   NTKERNELAPI
 
#define _DECL_HAL_KE_IMPORT   NTKERNELAPI
 
#define POINTER_ALIGNMENT
 
#define __GNU_EXTENSION
 
#define __SYMBOL(_Name)   #_Name
 
#define __IMPORTSYMBOL(_Name)   "__imp_"#_Name
 
#define __IMPORTNAME(_Name)   __imp_##_Name
 
#define __STRINGIFY(_exp)   #_exp
 
#define _Pragma_redefine_extname(_Name, _Target)   _Pragma(__STRINGIFY(redefine_extname _Name _Target))
 
#define __CREATE_NTOS_DATA_IMPORT_ALIAS(_Name)    _Pragma_redefine_extname(_Name,__IMPORTNAME(_Name))
 
#define DEFINE_GUIDEX(name)   EXTERN_C const GUID name
 
#define STATICGUIDOF(guid)   STATIC_##guid
 
#define __IID_ALIGNED__
 
#define IsEqualGUIDAligned(guid1, guid2)
 

Typedefs

typedef GUID UOW
 
typedef GUIDPUOW
 
typedef GUIDPGUID
 
typedef struct _OBJECT_TYPEPOBJECT_TYPE
 
typedef struct _CALLBACK_OBJECTPCALLBACK_OBJECT
 
typedef struct _EPROCESSPEPROCESS
 
typedef struct _ETHREADPETHREAD
 
typedef struct _IO_TIMERPIO_TIMER
 
typedef struct _KINTERRUPTPKINTERRUPT
 
typedef struct _KPROCESSPKPROCESS
 
typedef struct _KTHREADPKTHREAD
 
typedef struct _KTHREADPRKTHREAD
 
typedef struct _CONTEXTPCONTEXT
 
typedef struct _DMA_ADAPTERPADAPTER_OBJECT
 

Functions

__internal_kernel_driver __drv_Mode_impl (WDM_INCLUDED) $define(UCHAR
 

Macro Definition Documentation

◆ __CREATE_NTOS_DATA_IMPORT_ALIAS

#define __CREATE_NTOS_DATA_IMPORT_ALIAS (   _Name)     _Pragma_redefine_extname(_Name,__IMPORTNAME(_Name))

◆ __GNU_EXTENSION

#define __GNU_EXTENSION

◆ __IID_ALIGNED__

#define __IID_ALIGNED__

Definition at line 227 of file wdm.template.h.

◆ __IMPORTNAME

#define __IMPORTNAME (   _Name)    __imp_##_Name

◆ __IMPORTSYMBOL

#define __IMPORTSYMBOL (   _Name)    "__imp_"#_Name

◆ __STRINGIFY

#define __STRINGIFY (   _exp)    #_exp

◆ __SYMBOL

#define __SYMBOL (   _Name)    #_Name

◆ _DDK_DRIVER_

#define _DDK_DRIVER_

Definition at line 35 of file wdm.template.h.

◆ _DECL_HAL_KE_IMPORT

#define _DECL_HAL_KE_IMPORT   NTKERNELAPI

◆ _NTDDK_

#define _NTDDK_

Definition at line 33 of file wdm.template.h.

◆ _Pragma_redefine_extname

#define _Pragma_redefine_extname (   _Name,
  _Target 
)    _Pragma(__STRINGIFY(redefine_extname _Name _Target))

◆ _WDM_INCLUDED_

#define _WDM_INCLUDED_

Definition at line 34 of file wdm.template.h.

◆ _WDMDDK_

#define _WDMDDK_

Definition at line 26 of file wdm.template.h.

◆ DEFINE_GUIDEX

#define DEFINE_GUIDEX (   name)    EXTERN_C const GUID name

Definition at line 217 of file wdm.template.h.

◆ IsEqualGUIDAligned

#define IsEqualGUIDAligned (   guid1,
  guid2 
)
Value:
( (*(PLONGLONG)(guid1) == *(PLONGLONG)(guid2)) && \
(*((PLONGLONG)(guid1) + 1) == *((PLONGLONG)(guid2) + 1)) )
static GUID guid2
Definition: devinst.c:42
__GNU_EXTENSION typedef __int64 * PLONGLONG
Definition: ntbasedef.h:390

Definition at line 235 of file wdm.template.h.

◆ NO_INTERLOCKED_INTRINSICS

#define NO_INTERLOCKED_INTRINSICS

Definition at line 36 of file wdm.template.h.

◆ NT_INCLUDED

#define NT_INCLUDED

Definition at line 40 of file wdm.template.h.

◆ NTHALAPI

#define NTHALAPI   DECLSPEC_IMPORT

◆ NTKERNELAPI

#define NTKERNELAPI   DECLSPEC_IMPORT

◆ NTKRNLVISTAAPI

#define NTKRNLVISTAAPI   NTKERNELAPI

◆ POINTER_ALIGNMENT

#define POINTER_ALIGNMENT

◆ STATICGUIDOF

#define STATICGUIDOF (   guid)    STATIC_##guid

Definition at line 222 of file wdm.template.h.

◆ WDM_MAJORVERSION

#define WDM_MAJORVERSION   0x06

Definition at line 28 of file wdm.template.h.

◆ WDM_MINORVERSION

#define WDM_MINORVERSION   0x00

Definition at line 29 of file wdm.template.h.

Typedef Documentation

◆ PADAPTER_OBJECT

Definition at line 208 of file wdm.template.h.

◆ PCALLBACK_OBJECT

Definition at line 196 of file wdm.template.h.

◆ PCONTEXT

Definition at line 203 of file wdm.template.h.

◆ PEPROCESS

Definition at line 197 of file wdm.template.h.

◆ PETHREAD

Definition at line 198 of file wdm.template.h.

◆ PGUID

typedef GUID* PGUID

Definition at line 64 of file wdm.template.h.

◆ PIO_TIMER

Definition at line 199 of file wdm.template.h.

◆ PKINTERRUPT

Definition at line 200 of file wdm.template.h.

◆ PKPROCESS

Definition at line 201 of file wdm.template.h.

◆ PKTHREAD

Definition at line 202 of file wdm.template.h.

◆ POBJECT_TYPE

Definition at line 195 of file wdm.template.h.

◆ PRKTHREAD

Definition at line 202 of file wdm.template.h.

◆ PUOW

typedef GUID * PUOW

Definition at line 61 of file wdm.template.h.

◆ UOW

typedef GUID UOW

Definition at line 61 of file wdm.template.h.

Function Documentation

◆ __drv_Mode_impl()

__internal_kernel_driver __drv_Mode_impl ( WDM_INCLUDED  )