ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

pmeintf.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 doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.