Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ResourceExtract Class Reference

#include <persrc.h>

List of all members.

Static Public Methods

void ExtractIcons (PeFile &peFile)


Member Function Documentation

void ResourceExtract::ExtractIcons PeFile   peFile [static]
 

Definition at line 141 of file persrc.cpp.

References CollectIconInfos(), WriteIconParam::iconInfos, PeFile::ParseResource(), and WriteIcons().

Referenced by main().

00142 {
00143 //  fprintf(stderr,"sizeof hdr %d\n",sizeof(RESDIR));
00144 //  throw std::runtime_error("ferma");
00145   // parse first for information retrieval (position and size of resources)
00146   WriteIconParam param;
00147   peFile.ParseResource(CollectIconInfos,&param.iconInfos);
00148 
00149   // parse for output files
00150   peFile.ParseResource(WriteIcons,&param);
00151 }


The documentation for this class was generated from the following files:
Generated on Mon Jan 13 22:20:37 2003 for perdr by doxygen1.2.15