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

devhere.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/devhere.c
00005  * PURPOSE:         Device Presence 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 PciDevicePresentInterface =
00018 {
00019     &GUID_PCI_DEVICE_PRESENT_INTERFACE,
00020     sizeof(PCI_DEVICE_PRESENT_INTERFACE),
00021     PCI_DEVICE_PRESENT_INTERFACE_VERSION,
00022     PCI_DEVICE_PRESENT_INTERFACE_VERSION,
00023     PCI_INTERFACE_PDO,
00024     0,
00025     PciInterface_DevicePresent,
00026     devpresent_Constructor,
00027     devpresent_Initializer
00028 };
00029 
00030 /* FUNCTIONS ******************************************************************/
00031 
00032 NTSTATUS
00033 NTAPI
00034 devpresent_Initializer(IN PVOID Instance)
00035 {
00036     /* PnP Interfaces don't get Initialized */
00037     ASSERTMSG(FALSE, "PCI devpresent_Initializer, unexpected call.");
00038     return STATUS_UNSUCCESSFUL;
00039 }
00040 
00041 NTSTATUS
00042 NTAPI
00043 devpresent_Constructor(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     PAGED_CODE();
00051 
00052     /* Not yet implemented */
00053     UNIMPLEMENTED;
00054     while (TRUE);
00055 }
00056 
00057 /* EOF */

Generated on Sat May 26 2012 04:26:03 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.