sync trunk HEAD (r50626)
[reactos.git] / drivers / bus / pci / pci.h
index 3810e21..2c40433 100644 (file)
@@ -1,18 +1,11 @@
-#ifndef __PCI_H
-#define __PCI_H
+#pragma once
 
 #include <ntifs.h>
 #include <wdmguid.h>
 #include <stdio.h>
 #include <ntddk.h>
 
-#ifdef _MSC_VER
-  #define STDCALL
-  #define DDKAPI
-#endif
-
-#define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24))
-#define TAG_PCI TAG('P', 'C', 'I', '0')
+#define TAG_PCI '0ICP'
 
 typedef struct _PCI_DEVICE
 {
@@ -177,9 +170,7 @@ PdoPowerControl(
   PIRP Irp);
 
 NTSTATUS
-STDCALL
+NTAPI
 DriverEntry(
   IN PDRIVER_OBJECT DriverObject,
   IN PUNICODE_STRING RegistryPath);
-
-#endif  /*  __PCI_H  */