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.

59 lines
786 B

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. version.h
  5. Abstract:
  6. Declares the structures used for version checkings.
  7. Author:
  8. Calin Negreanu (calinn) 01/20/1999
  9. Revision History:
  10. --*/
  11. #pragma once
  12. #include <windows.h>
  13. #include <winnt.h>
  14. PBYTE
  15. ShMapFileIntoMemory (
  16. IN PCTSTR FileName,
  17. OUT PHANDLE FileHandle,
  18. OUT PHANDLE MapHandle
  19. );
  20. BOOL
  21. ShUnmapFile (
  22. IN PBYTE FileImage,
  23. IN HANDLE MapHandle,
  24. IN HANDLE FileHandle
  25. );
  26. DWORD
  27. ShGetModuleType (
  28. IN PBYTE MappedImage
  29. );
  30. ULONG
  31. ShGetPECheckSum (
  32. IN PBYTE MappedImage
  33. );
  34. UINT
  35. ShGetCheckSum (
  36. IN ULONG ImageSize,
  37. IN PBYTE MappedImage
  38. );
  39. PTSTR
  40. ShGet16ModuleDescription (
  41. IN PBYTE MappedImage
  42. );