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.

67 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. spudstr.h
  5. Abstract:
  6. This header file contains all of the private structure definitions
  7. for SPUD.
  8. Author:
  9. John Ballard (jballard) 21-Oct-1996
  10. Revision History:
  11. --*/
  12. #ifndef _SPUDSTR_H_
  13. #define _SPUDSTR_H_
  14. //
  15. // A kernel-mode request context.
  16. //
  17. typedef struct _SPUD_AFD_REQ_CONTEXT {
  18. ULONG Signature;
  19. PIRP Irp;
  20. PMDL Mdl;
  21. IO_STATUS_BLOCK IoStatus1;
  22. IO_STATUS_BLOCK IoStatus2;
  23. PVOID AtqContext;
  24. PVOID ReqHandle;
  25. } SPUD_AFD_REQ_CONTEXT, *PSPUD_AFD_REQ_CONTEXT;
  26. //
  27. // Signatures for the above structure.
  28. //
  29. #define SPUD_REQ_CONTEXT_SIGNATURE ((ULONG)'XCPS')
  30. #define SPUD_REQ_CONTEXT_SIGNATURE_X ((ULONG)'xcps')
  31. //
  32. // An invalid request handle.
  33. //
  34. #define SPUD_INVALID_REQ_HANDLE NULL
  35. //
  36. // Everything that must always be nonpaged (even if we decide to page
  37. // the entire driver out) is kept in the following structure.
  38. //
  39. typedef struct _SPUD_NONPAGED_DATA {
  40. NPAGED_LOOKASIDE_LIST ReqContextList;
  41. ERESOURCE ReqHandleTableLock;
  42. } SPUD_NONPAGED_DATA, *PSPUD_NONPAGED_DATA;
  43. #endif // _SPUDSTR_H_