| Line |   | 
|---|
| 1 | /* $Id: winfakepeldr.h,v 1.1 2000-03-10 16:12:02 sandervl Exp $ */
 | 
|---|
| 2 | 
 | 
|---|
| 3 | /*
 | 
|---|
| 4 |  * Win32 PE loader fake image class (RSRC_LOAD)
 | 
|---|
| 5 |  *
 | 
|---|
| 6 |  * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl)
 | 
|---|
| 7 |  *
 | 
|---|
| 8 |  *
 | 
|---|
| 9 |  * Project Odin Software License can be found in LICENSE.TXT
 | 
|---|
| 10 |  *
 | 
|---|
| 11 |  */
 | 
|---|
| 12 | #ifndef __WINFAKEPELDR_H__
 | 
|---|
| 13 | #define __WINFAKEPELDR_H__
 | 
|---|
| 14 | 
 | 
|---|
| 15 | #include <winimagepeldr.h>
 | 
|---|
| 16 | 
 | 
|---|
| 17 | //Class for images that are loaded for only retrieving their resources
 | 
|---|
| 18 | class Win32PeLdrRsrcImg : public Win32PeLdrImage
 | 
|---|
| 19 | {
 | 
|---|
| 20 | public:
 | 
|---|
| 21 |         Win32PeLdrRsrcImg(char *szFileName);
 | 
|---|
| 22 | virtual ~Win32PeLdrRsrcImg();
 | 
|---|
| 23 | 
 | 
|---|
| 24 | virtual ULONG     getApi(char *name);
 | 
|---|
| 25 | virtual ULONG     getApi(int ordinal);
 | 
|---|
| 26 | 
 | 
|---|
| 27 | virtual BOOL  isDll();
 | 
|---|
| 28 | 
 | 
|---|
| 29 | protected:
 | 
|---|
| 30 | private:
 | 
|---|
| 31 | };
 | 
|---|
| 32 | 
 | 
|---|
| 33 | #endif //__WINFAKEPELDR_H__
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.