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.

52 lines
909 B

  1. extern PWCHAR SoftPCI_CmProblemTable[];
  2. typedef struct _CM_RES_DATA *PCM_RES_DATA;
  3. typedef struct _CM_RES_DATA{
  4. RESOURCEID ResourceId;
  5. ULONG DescriptorSize;
  6. PULONG ResourceDescriptor;
  7. //PCM_RES_DATA NextResourceDescriptor;
  8. }CM_RES_DATA;
  9. VOID
  10. SoftPCI_EnableDisableDeviceNode(
  11. IN DEVNODE DeviceNode,
  12. IN BOOL EnableDevice
  13. );
  14. BOOL
  15. SoftPCI_GetDeviceNodeProblem(
  16. IN DEVNODE DeviceNode,
  17. OUT PULONG DeviceProblem
  18. );
  19. BOOL
  20. SoftPCI_GetBusDevFuncFromDevnode(
  21. IN DEVNODE Dn,
  22. OUT PULONG Bus,
  23. OUT PSOFTPCI_SLOT Slot
  24. );
  25. BOOL
  26. SoftPCI_GetPciRootBusNumber(
  27. IN DEVNODE Dn,
  28. OUT PULONG Bus
  29. );
  30. BOOL
  31. SoftPCI_GetFriendlyNameFromDevNode(
  32. IN DEVNODE Dn,
  33. IN PWCHAR Buffer
  34. );
  35. BOOL
  36. SoftPCI_GetResources(
  37. PPCI_DN Pdn,
  38. PWCHAR Buffer,
  39. ULONG ConfigType
  40. );