ReactOS  0.4.14-dev-98-gb0d4763
usbehci.cpp File Reference
#include "usbehci.h"
#include <debug.h>
Include dependency graph for usbehci.cpp:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

NTSTATUS NTAPI DriverEntry (PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
 
void __cxa_pure_virtual ()
 
void free (void *ptr)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 13 of file usbehci.cpp.

Function Documentation

◆ __cxa_pure_virtual()

void __cxa_pure_virtual ( )

Definition at line 41 of file usbehci.cpp.

42  {
43  // put error handling here
44 
45  DbgBreakPoint();
46 
47  }
void DbgBreakPoint()
Definition: mach.c:553

◆ DriverEntry()

NTSTATUS NTAPI DriverEntry ( PDRIVER_OBJECT  DriverObject,
PUNICODE_STRING  RegistryPath 
)

Definition at line 20 of file usbehci.cpp.

23 {
24 
25  /* initialize driver object */
27 
36  return STATUS_SUCCESS;
37 }
#define IRP_MJ_CREATE
Definition: rdpdr.c:44
#define IRP_MJ_PNP
Definition: cdrw_usr.h:52
PDRIVER_EXTENSION DriverExtension
Definition: iotypes.h:2174
static PDRIVER_OBJECT DriverObject
Definition: template.c:42
DRIVER_ADD_DEVICE USBLIB_AddDevice
Definition: libusb.cpp:19
NTSTATUS NTAPI USBLIB_Dispatch(PDEVICE_OBJECT DeviceObject, PIRP Irp)
Definition: libusb.cpp:99
#define IRP_MJ_INTERNAL_DEVICE_CONTROL
#define IRP_MJ_POWER
#define IRP_MJ_CLOSE
Definition: rdpdr.c:45
#define IRP_MJ_SYSTEM_CONTROL
PDRIVER_ADD_DEVICE AddDevice
Definition: iotypes.h:2112
#define IRP_MJ_CLEANUP
PDRIVER_DISPATCH MajorFunction[IRP_MJ_MAXIMUM_FUNCTION+1]
Definition: iotypes.h:2181
return STATUS_SUCCESS
Definition: btrfs.c:2966
#define IRP_MJ_DEVICE_CONTROL
Definition: rdpdr.c:52

◆ free()

void free ( void ptr)

Definition at line 51 of file usbehci.cpp.

52  {
53  ExFreePool(ptr);
54  }
static PVOID ptr
Definition: dispmode.c:27
#define ExFreePool(addr)
Definition: env_spec_w32.h:352