Release 960414
[wine/dcerpc.git] / include / pe_image.h
blobf52748188507caeae76652a731f038896b6c13e2
1 #ifndef __WINE_PE_IMAGE_H
2 #define __WINE_PE_IMAGE_H
4 #include <sys/types.h>
5 #include "windows.h"
6 #include "dlls.h"
8 struct pe_data {
9 struct pe_header_s *pe_header;
10 struct pe_segment_table *pe_seg;
11 struct PE_Import_Directory *pe_import;
12 struct PE_Export_Directory *pe_export;
13 struct PE_Resource_Directory *pe_resource;
14 struct PE_Reloc_Block *pe_reloc;
15 int base_addr;
16 int load_addr;
17 int vma_size;
18 int resource_offset; /* offset to resource typedirectory in file */
21 typedef struct pe_data PE_MODULE;
23 extern int PE_unloadImage(HMODULE hModule);
24 extern void my_wcstombs(char * result, u_short * source, int len);
26 #endif /* __WINE_PE_IMAGE_H */