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.

64 lines
1.1 KiB

  1. //
  2. // prototypes for Utils.c
  3. //
  4. BOOLEAN
  5. SoftPCIOpenKey(
  6. IN PWSTR KeyName,
  7. IN HANDLE ParentHandle,
  8. OUT PHANDLE Handle,
  9. OUT PNTSTATUS Status
  10. );
  11. NTSTATUS
  12. SoftPCIGetRegistryValue(
  13. IN PWSTR ValueName,
  14. IN PWSTR KeyName,
  15. IN HANDLE ParentHandle,
  16. OUT PVOID *Buffer,
  17. OUT ULONG *Length
  18. );
  19. VOID
  20. SoftPCIInsertEntryAtTail(
  21. IN PSINGLE_LIST_ENTRY Entry
  22. );
  23. NTSTATUS
  24. SoftPCIProcessRootBus(
  25. IN PCM_RESOURCE_LIST ResList
  26. );
  27. NTSTATUS
  28. SoftPCIEnumRegistryDevs(
  29. IN PWSTR KeyName,
  30. IN PHANDLE ParentHandle,
  31. IN PSOFTPCI_DEVICE ParentDevice
  32. );
  33. NTSTATUS
  34. SoftPCIQueryDeviceObjectType(
  35. IN PDEVICE_OBJECT PhysicalDeviceObject,
  36. IN PBOOLEAN IsFilterDO
  37. );
  38. VOID
  39. SoftPCIEnumerateTree(
  40. VOID
  41. );
  42. BOOLEAN
  43. SoftPCIGetResourceValueFromRegistry(
  44. OUT PULONG MemRangeStart,
  45. OUT PULONG MemRangeLength,
  46. OUT PULONG IoRangeStart,
  47. OUT PULONG IoRangeLength
  48. );
  49. VOID
  50. SoftPCISimulateMSI(
  51. IN PDEVICE_OBJECT DeviceObject,
  52. IN PVOID Context
  53. );