Source code of Windows XP (NT5)
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.

92 lines
1.8 KiB

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. halpnpp.h
  5. Abstract:
  6. Private interface from 'legacy' hal to 'PnP' class drivers that support
  7. new functionality
  8. Author:
  9. Mike Gallop (mikeg) April, 1998
  10. Revision History:
  11. --*/
  12. #define ISA_FTYPE_DMA_INTERFACE_VERSION 1
  13. #define ISA_DMA_CHANNELS 8
  14. typedef
  15. NTSTATUS
  16. (*PISA_CLAIM_FTYPE_CHANNEL)(
  17. IN PVOID Context,
  18. IN ULONG Channel,
  19. OUT PULONG ChannelInfo
  20. );
  21. typedef
  22. NTSTATUS
  23. (*PISA_RELEASE_FTYPE_CHANNEL)(
  24. IN PVOID Context,
  25. IN ULONG Channel
  26. );
  27. /*++
  28. Routine Description:
  29. This returns information about children to be enumerated by a multifunction
  30. driver.
  31. Arguments:
  32. Context - Context from the ISA_FTYPE_DMA_INTERFACE
  33. Channel - Channel to try and set to F-Type DMA
  34. ChannelInfo - Result of the set. Returns the mask of channels set to F-Type
  35. Return Value:
  36. Status code that indicates whether or not the function was successful.
  37. STATUS_NO_MORE_ENTRIES indicates that the are no more children to enumerate
  38. --*/
  39. typedef struct _ISA_FTYPE_DMA_INTERFACE {
  40. //
  41. // Generic interface header
  42. //
  43. USHORT Size;
  44. USHORT Version;
  45. PVOID Context;
  46. PINTERFACE_REFERENCE InterfaceReference;
  47. PINTERFACE_DEREFERENCE InterfaceDereference;
  48. //
  49. //
  50. //
  51. PISA_CLAIM_FTYPE_CHANNEL IsaSetFTypeChannel;
  52. PISA_RELEASE_FTYPE_CHANNEL IsaReleaseFTypeChannel;
  53. } ISA_FTYPE_DMA_INTERFACE, *PISA_FTYPE_DMA_INTERFACE;
  54. DEFINE_GUID(GUID_ISA_FDMA_INTERFACE,
  55. 0xEFF58E88L, 0xCE6B, 0x11D1, 0x8B, 0xA8, 0x00, 0x00, 0xF8, 0x75, 0x71, 0xD0);
  56. DEFINE_GUID( GUID_FDMA_INTERFACE_PRIVATE,
  57. 0x60526D5EL, 0xCF34, 0x11D1, 0x8B, 0xA8, 0x00, 0x00, 0xF8, 0x75, 0x71, 0xD0 );