Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_PE_ResourceType Class Reference

Inheritance diagram for CP_PE_ResourceType:

CP_PE_ResourceDirectory List of all members.

Public Member Functions

 ~CP_PE_ResourceType ()
CP_PE_ResourceGetNextResourceInst (CP_PE_Resource *pPrev)
CP_PE_ResourceGetResourceInstByName (PSTR pszName)
CP_PE_ResourceGetResourceInstById (WORD Id)
DWORD Id ()
BOOL IsNamed ()
BOOL Name (PSTR pszBuffer, unsigned cbBuffer)

Protected Member Functions

void InitPointerMembers ()
DWORD Characteristics ()
DWORD TimeDateStamp ()
WORD MajorVersion ()
WORD MinorVersion ()
WORD NumberOfNamedEntries ()
WORD NumberOfIdEntries ()
DWORD NumberOfEntries ()
PIMAGE_RESOURCE_DIRECTORY_ENTRY GetResourceEntryByName (LPCTSTR pszName)
PIMAGE_RESOURCE_DIRECTORY_ENTRY GetResourceEntryById (WORD Id)

Protected Attributes

DWORD m_rsrcDirRVA
DWORD m_rsrcStartRVA
DWORD m_loadAddress
DWORD m_fileDelta
DWORD m_nEntries
PIMAGE_RESOURCE_DIRECTORY m_pRsrcDirHdr
PIMAGE_RESOURCE_DIRECTORY_ENTRY m_pRsrcDirEntries
PIMAGE_RESOURCE_DIRECTORY_ENTRY m_pRsrcIdDirEntries

Private Member Functions

 CP_PE_ResourceType (DWORD rsrcDirRVA, DWORD rsrcStartRVA, DWORD loadAddress, DWORD fileDelta, unsigned rsrcTblIdx, DWORD IdOrNameOffset)
DWORD BurrowDownOneDirLevel (DWORD offsetToDir)

Private Attributes

unsigned m_rsrcTblIdx
DWORD m_IdOrNameOffset

Friends

class CP_PE_Resources

Constructor & Destructor Documentation

CP_PE_ResourceType::~CP_PE_ResourceType  ) 
 

CP_PE_ResourceType::CP_PE_ResourceType DWORD  rsrcDirRVA,
DWORD  rsrcStartRVA,
DWORD  loadAddress,
DWORD  fileDelta,
unsigned  rsrcTblIdx,
DWORD  IdOrNameOffset
[private]
 


Member Function Documentation

CP_PE_Resource * CP_PE_ResourceType::GetNextResourceInst CP_PE_Resource pPrev  ) 
 

CP_PE_Resource * CP_PE_ResourceType::GetResourceInstByName PSTR  pszName  ) 
 

CP_PE_Resource * CP_PE_ResourceType::GetResourceInstById WORD  Id  ) 
 

DWORD CP_PE_ResourceType::Id  ) 
 

BOOL CP_PE_ResourceType::IsNamed  ) 
 

BOOL CP_PE_ResourceType::Name PSTR  pszBuffer,
unsigned  cbBuffer
 

DWORD CP_PE_ResourceType::BurrowDownOneDirLevel DWORD  offsetToDir  )  [private]
 

void CP_PE_ResourceDirectory::InitPointerMembers  )  [protected, inherited]
 

DWORD CP_PE_ResourceDirectory::Characteristics  )  [protected, inherited]
 

DWORD CP_PE_ResourceDirectory::TimeDateStamp  )  [protected, inherited]
 

WORD CP_PE_ResourceDirectory::MajorVersion  )  [protected, inherited]
 

WORD CP_PE_ResourceDirectory::MinorVersion  )  [protected, inherited]
 

WORD CP_PE_ResourceDirectory::NumberOfNamedEntries  )  [protected, inherited]
 

WORD CP_PE_ResourceDirectory::NumberOfIdEntries  )  [protected, inherited]
 

DWORD CP_PE_ResourceDirectory::NumberOfEntries  )  [protected, inherited]
 

PIMAGE_RESOURCE_DIRECTORY_ENTRY CP_PE_ResourceDirectory::GetResourceEntryByName LPCTSTR  pszName  )  [protected, inherited]
 

PIMAGE_RESOURCE_DIRECTORY_ENTRY CP_PE_ResourceDirectory::GetResourceEntryById WORD  Id  )  [protected, inherited]
 


Friends And Related Function Documentation

friend class CP_PE_Resources [friend]
 


Member Data Documentation

unsigned CP_PE_ResourceType::m_rsrcTblIdx [private]
 

DWORD CP_PE_ResourceType::m_IdOrNameOffset [private]
 

DWORD CP_PE_ResourceDirectory::m_rsrcDirRVA [protected, inherited]
 

DWORD CP_PE_ResourceDirectory::m_rsrcStartRVA [protected, inherited]
 

DWORD CP_PE_ResourceDirectory::m_loadAddress [protected, inherited]
 

DWORD CP_PE_ResourceDirectory::m_fileDelta [protected, inherited]
 

DWORD CP_PE_ResourceDirectory::m_nEntries [protected, inherited]
 

PIMAGE_RESOURCE_DIRECTORY CP_PE_ResourceDirectory::m_pRsrcDirHdr [protected, inherited]
 

PIMAGE_RESOURCE_DIRECTORY_ENTRY CP_PE_ResourceDirectory::m_pRsrcDirEntries [protected, inherited]
 

PIMAGE_RESOURCE_DIRECTORY_ENTRY CP_PE_ResourceDirectory::m_pRsrcIdDirEntries [protected, inherited]
 


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:01:55 2005 for CPLAT by  doxygen 1.4.0