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.

54 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. basesxs.h
  5. Abstract:
  6. Side-by-side stuff that has to be factored out of basedll.h and ntwow64b.h.
  7. Author:
  8. Jay Krell (a-JayK) June 2000
  9. Revision History:
  10. --*/
  11. #ifndef _BASESXS_
  12. #define _BASESXS_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif
  16. //
  17. // Passing a run of three handles into functions is confusing.
  18. // There's nothing enforcing getting them in the right order.
  19. // I had it wrong. This addresses that.
  20. //
  21. typedef struct _BASE_MSG_SXS_HANDLES {
  22. HANDLE File;
  23. //
  24. // Process is the process to map section into, it can
  25. // be NtCurrentProcess; ensure that case is optimized.
  26. //
  27. HANDLE Process;
  28. HANDLE Section;
  29. PVOID ViewBase; // Don't use this is in 32bit code on 64bit.
  30. } BASE_MSG_SXS_HANDLES, *PBASE_MSG_SXS_HANDLES;
  31. typedef const BASE_MSG_SXS_HANDLES* PCBASE_MSG_SXS_HANDLES;
  32. typedef struct _SXS_OVERRIDE_STREAM {
  33. UNICODE_STRING Name;
  34. PVOID Address;
  35. SIZE_T Size;
  36. } SXS_OVERRIDE_STREAM, *PSXS_OVERRIDE_STREAM;
  37. typedef const SXS_OVERRIDE_STREAM* PCSXS_OVERRIDE_STREAM;
  38. #endif