Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenpmeintf.c
Go to the documentation of this file.
00001 /* 00002 * PROJECT: ReactOS PCI Bus Driver 00003 * LICENSE: BSD - See COPYING.ARM in the top level directory 00004 * FILE: drivers/bus/pci/intrface/pmeintf.c 00005 * PURPOSE: Power Management Event# Signal Interface 00006 * PROGRAMMERS: ReactOS Portable Systems Group 00007 */ 00008 00009 /* INCLUDES *******************************************************************/ 00010 00011 #include <pci.h> 00012 #define NDEBUG 00013 #include <debug.h> 00014 00015 /* GLOBALS ********************************************************************/ 00016 00017 PCI_INTERFACE PciPmeInterface = 00018 { 00019 &GUID_PCI_PME_INTERFACE, 00020 sizeof(PCI_PME_INTERFACE), 00021 PCI_PME_INTRF_STANDARD_VER, 00022 PCI_PME_INTRF_STANDARD_VER, 00023 PCI_INTERFACE_FDO | PCI_INTERFACE_ROOT, 00024 0, 00025 PciInterface_PmeHandler, 00026 PciPmeInterfaceConstructor, 00027 PciPmeInterfaceInitializer 00028 }; 00029 00030 /* FUNCTIONS ******************************************************************/ 00031 00032 NTSTATUS 00033 NTAPI 00034 PciPmeInterfaceInitializer(IN PVOID Instance) 00035 { 00036 /* PnP Interfaces don't get Initialized */ 00037 ASSERTMSG(FALSE, "PCI PciPmeInterfaceInitializer, unexpected call."); 00038 return STATUS_UNSUCCESSFUL; 00039 } 00040 00041 NTSTATUS 00042 NTAPI 00043 PciPmeInterfaceConstructor(IN PVOID DeviceExtension, 00044 IN PVOID Instance, 00045 IN PVOID InterfaceData, 00046 IN USHORT Version, 00047 IN USHORT Size, 00048 IN PINTERFACE Interface) 00049 { 00050 /* Only version 1 is supported */ 00051 if (Version != PCI_PME_INTRF_STANDARD_VER) return STATUS_NOINTERFACE; 00052 00053 /* Not yet implemented */ 00054 UNIMPLEMENTED; 00055 while (TRUE); 00056 } 00057 00058 /* EOF */ Generated on Sun May 27 2012 04:27:29 for ReactOS by
1.7.6.1
|