Leaked source code of windows server 2003
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

//
// Driver Verifier Control Applet
// Copyright (c) Microsoft Corporation, 1999
//
//
// header: image.hxx
// author: silviuc
// created: Thu Jan 07 20:04:03 1999
//
#ifndef _IMAGE_HXX_INCLUDED_
#define _IMAGE_HXX_INCLUDED_
typedef struct {
HANDLE File;
HANDLE Section;
LPBYTE ImageBase;
PIMAGE_DOS_HEADER DosHeader;
PIMAGE_FILE_HEADER FileHeader;
PIMAGE_OPTIONAL_HEADER OptionalHeader;
PIMAGE_SECTION_HEADER SectionHeader;
DWORD FileSignature;
PIMAGE_DATA_DIRECTORY ImportDirectory;
PIMAGE_SECTION_HEADER ImportSection;
PIMAGE_IMPORT_DESCRIPTOR ImportDescriptor;
DWORD_PTR AddressCorrection;
} IMAGE_BROWSE_INFO, *PIMAGE_BROWSE_INFO;
BOOL
ImgInitializeBrowseInfo (
LPCTSTR FilePath,
PIMAGE_BROWSE_INFO Info);
BOOL
ImgDeleteBrowseInfo (
PIMAGE_BROWSE_INFO Info);
BOOL
ImgSearchDriverImage (
LPCTSTR DriverName,
LPTSTR DriverPath,
UINT DriverPathBufferLength );
// ...
#endif // #ifndef _IMAGE_HXX_INCLUDED_
//
// end of header: image.hxx
//