comparison src/ntheap.h @ 298:70ad99077275 r21-0b47

Import from CVS: tag r21-0b47
author cvs
date Mon, 13 Aug 2007 10:39:40 +0200
parents 41ff10fd062f
children 74fd4e045ea6
comparison
equal deleted inserted replaced
297:deca3c1083ac 298:70ad99077275
105 105
106 int open_input_file (file_data *p_file, char *name); 106 int open_input_file (file_data *p_file, char *name);
107 int open_output_file (file_data *p_file, char *name, unsigned long size); 107 int open_output_file (file_data *p_file, char *name, unsigned long size);
108 void close_file_data (file_data *p_file); 108 void close_file_data (file_data *p_file);
109 109
110 unsigned long get_section_size (PIMAGE_SECTION_HEADER p_section);
111
112 /* Return pointer to section header for named section. */
113 IMAGE_SECTION_HEADER * find_section (char * name, IMAGE_NT_HEADERS * nt_header);
114
115 /* Return pointer to section header for section containing the given 110 /* Return pointer to section header for section containing the given
116 relative virtual address. */ 111 relative virtual address. */
117 IMAGE_SECTION_HEADER * rva_to_section (DWORD rva, IMAGE_NT_HEADERS * nt_header); 112 IMAGE_SECTION_HEADER * rva_to_section (DWORD rva, IMAGE_NT_HEADERS * nt_header);
118 113
119 #endif /* NTHEAP_H_ */ 114 #endif /* NTHEAP_H_ */