Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.4 KiB

  1. #ifndef _SOFTPCIUI_
  2. #define _SOFTPCIUI_
  3. #define SOFTPCI_BUS_DESC L" - SoftPCI Installed"
  4. #define SOFTPCI_DEVICE_DESC L"Microsoft SoftPCI Device"
  5. #define SOFTPCI_PPBRIDGE_DESC L"Microsoft SoftPCI-PCI Bridge"
  6. #define SOFTPCI_HOTPLUG_DESC L"Microsoft SoftPCI-HotPlug PCI Bridge"
  7. typedef struct _PCI_DN *PPCI_DN;
  8. typedef struct _PCI_TREE
  9. {
  10. PPCI_DN RootDevNode;
  11. HTREEITEM RootTreeItem;
  12. HDEVINFO DevInfoSet;
  13. SP_CLASSIMAGELIST_DATA ClassImageListData ;
  14. } PCI_TREE, *PPCI_TREE;
  15. //
  16. // PCI Devnode Info
  17. //
  18. //
  19. // Flags bit definitions
  20. //
  21. #define SOFTPCI_HOTPLUG_SLOT 0x1
  22. #define SOFTPCI_UNENUMERATED_DEVICE 0x2
  23. #define SOFTPCI_HOTPLUG_CONTROLLER 0x4
  24. typedef struct _PCI_DN
  25. {
  26. PPCI_TREE PciTree;
  27. PPCI_DN Parent;
  28. PPCI_DN Child;
  29. PPCI_DN Sibling;
  30. LIST_ENTRY ListEntry;
  31. DEVNODE DevNode;
  32. ULONG Bus;
  33. SOFTPCI_SLOT Slot;
  34. PSOFTPCI_DEVICE SoftDev;
  35. ULONG Flags;
  36. WCHAR DevId[MAX_PATH];
  37. WCHAR FriendlyName[MAX_PATH];
  38. WCHAR WmiId[MAX_PATH];
  39. SP_DEVINFO_DATA DevInfoData;
  40. } PCI_DN, *PPCI_DN ;
  41. typedef struct _SLOT_PATH_ENTRY{
  42. LIST_ENTRY ListEntry;
  43. SOFTPCI_SLOT Slot;
  44. } SLOT_PATH_ENTRY, *PSLOT_PATH_ENTRY;
  45. #endif