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.

62 lines
1.1 KiB

  1. //
  2. // Driver Verifier Control Applet
  3. // Copyright (c) Microsoft Corporation, 1999
  4. //
  5. //
  6. // header: image.hxx
  7. // author: silviuc
  8. // created: Thu Jan 07 20:04:03 1999
  9. //
  10. #ifndef _IMAGE_HXX_INCLUDED_
  11. #define _IMAGE_HXX_INCLUDED_
  12. typedef struct {
  13. HANDLE File;
  14. HANDLE Section;
  15. LPBYTE ImageBase;
  16. PIMAGE_DOS_HEADER DosHeader;
  17. PIMAGE_FILE_HEADER FileHeader;
  18. PIMAGE_OPTIONAL_HEADER OptionalHeader;
  19. PIMAGE_SECTION_HEADER SectionHeader;
  20. DWORD FileSignature;
  21. PIMAGE_DATA_DIRECTORY ImportDirectory;
  22. PIMAGE_SECTION_HEADER ImportSection;
  23. PIMAGE_IMPORT_DESCRIPTOR ImportDescriptor;
  24. DWORD_PTR AddressCorrection;
  25. } IMAGE_BROWSE_INFO, *PIMAGE_BROWSE_INFO;
  26. BOOL
  27. ImgInitializeBrowseInfo (
  28. LPCTSTR FilePath,
  29. PIMAGE_BROWSE_INFO Info);
  30. BOOL
  31. ImgDeleteBrowseInfo (
  32. PIMAGE_BROWSE_INFO Info);
  33. BOOL
  34. ImgSearchDriverImage (
  35. LPCTSTR DriverName,
  36. LPTSTR DriverPath,
  37. UINT DriverPathBufferLength );
  38. // ...
  39. #endif // #ifndef _IMAGE_HXX_INCLUDED_
  40. //
  41. // end of header: image.hxx
  42. //