Changeset 978 for trunk/include
- Timestamp:
- Sep 18, 1999, 7:47:10 PM (26 years ago)
- Location:
- trunk/include
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/odinlx.h
r970 r978 1 /* $Id: odinlx.h,v 1. 2 1999-09-18 15:55:45sandervl Exp $ */1 /* $Id: odinlx.h,v 1.3 1999-09-18 17:45:22 sandervl Exp $ */ 2 2 3 3 /* … … 22 22 //System dlls set EntryPoint to 0 23 23 //****************************************************************************** 24 BOOL WIN32API RegisterLxDll(HINSTANCE hInstance, WIN32DLLENTRY EntryPoint, PVOID unused);24 BOOL WIN32API RegisterLxDll(HINSTANCE hInstance, WIN32DLLENTRY EntryPoint, PVOID pResData); 25 25 26 26 //****************************************************************************** … … 33 33 //System dlls set EntryPoint to 0 34 34 //****************************************************************************** 35 BOOL WIN32API RegisterLxExe(WINMAIN EntryPoint, PVOID unused);35 BOOL WIN32API RegisterLxExe(WINMAIN EntryPoint, PVOID pResData); 36 36 37 37 #ifdef __cplusplus -
trunk/include/windlllx.h
r953 r978 1 /* $Id: windlllx.h,v 1. 1 1999-09-15 23:29:37sandervl Exp $ */1 /* $Id: windlllx.h,v 1.2 1999-09-18 17:45:23 sandervl Exp $ */ 2 2 3 3 /* … … 19 19 { 20 20 public: 21 Win32LxDll(HINSTANCE hInstance, WIN32DLLENTRY DllEntryPoint );21 Win32LxDll(HINSTANCE hInstance, WIN32DLLENTRY DllEntryPoint, PVOID pResData); 22 22 virtual ~Win32LxDll(); 23 23 -
trunk/include/winexelx.h
r953 r978 1 /* $Id: winexelx.h,v 1. 1 1999-09-15 23:29:37sandervl Exp $ */1 /* $Id: winexelx.h,v 1.2 1999-09-18 17:45:23 sandervl Exp $ */ 2 2 3 3 /* … … 21 21 { 22 22 public: 23 Win32LxExe(HINSTANCE hInstance );23 Win32LxExe(HINSTANCE hInstance, PVOID pResData); 24 24 virtual ~Win32LxExe(); 25 25 -
trunk/include/winimagebase.h
r953 r978 1 /* $Id: winimagebase.h,v 1. 1 1999-09-15 23:29:37sandervl Exp $ */1 /* $Id: winimagebase.h,v 1.2 1999-09-18 17:45:23 sandervl Exp $ */ 2 2 3 3 /* … … 55 55 char *getModuleName() { return szModule; }; 56 56 57 virtual HRSRC findResourceA(LPCSTR lpszName, LPSTR lpszType, ULONG lang = LANG_GETFIRST) = 0;57 virtual HRSRC findResourceA(LPCSTR lpszName, LPSTR lpszType, ULONG lang = LANG_GETFIRST); 58 58 HRSRC findResourceW(LPWSTR lpszName, LPWSTR lpszType, ULONG lang = LANG_GETFIRST); 59 virtual ULONG getResourceSizeA(LPCSTR lpszName, LPSTR lpszType, ULONG lang = LANG_GETFIRST) = 0;59 virtual ULONG getResourceSizeA(LPCSTR lpszName, LPSTR lpszType, ULONG lang = LANG_GETFIRST); 60 60 ULONG getResourceSizeW(LPCWSTR lpszName, LPWSTR lpszType, ULONG lang = LANG_GETFIRST); 61 61 62 virtual ULONG getVersionSize() = 0;63 virtual BOOL getVersionStruct(char *verstruct, ULONG bufLength) = 0;62 virtual ULONG getVersionSize(); 63 virtual BOOL getVersionStruct(char *verstruct, ULONG bufLength); 64 64 65 65 static BOOL isPEImage(char *szFileName); … … 102 102 ULONG tlsIndex; //module TLS index 103 103 104 ULONG getPEResourceSize(ULONG id, ULONG type, ULONG lang = LANG_GETFIRST); 105 106 PIMAGE_RESOURCE_DATA_ENTRY getPEResourceEntry(ULONG id, ULONG type, ULONG lang = LANG_GETFIRST); 107 PIMAGE_RESOURCE_DATA_ENTRY ProcessResSubDir(PIMAGE_RESOURCE_DIRECTORY prdType, 108 ULONG *nodeData, int level); 109 PIMAGE_RESOURCE_DIRECTORY pResDir; 110 111 //substracted from RVA data offsets 112 ULONG pResourceSectionStart; 113 104 114 private: 105 115 -
trunk/include/winimagelx.h
r953 r978 1 /* $Id: winimagelx.h,v 1. 1 1999-09-15 23:29:37sandervl Exp $ */1 /* $Id: winimagelx.h,v 1.2 1999-09-18 17:45:23 sandervl Exp $ */ 2 2 3 3 /* … … 18 18 { 19 19 public: 20 Win32LxImage(HINSTANCE hInstance );20 Win32LxImage(HINSTANCE hInstance, PVOID pResData); 21 21 virtual ~Win32LxImage(); 22 23 virtual HRSRC findResourceA(LPCSTR lpszName, LPSTR lpszType, ULONG lang = LANG_GETFIRST);24 virtual ULONG getResourceSizeA(LPCSTR lpszName, LPSTR lpszType, ULONG lang = LANG_GETFIRST);25 26 virtual ULONG getVersionSize();27 virtual BOOL getVersionStruct(char *verstruct, ULONG bufLength);28 22 29 23 protected: -
trunk/include/winimagepeldr.h
r953 r978 1 /* $Id: winimagepeldr.h,v 1. 1 1999-09-15 23:29:37sandervl Exp $ */1 /* $Id: winimagepeldr.h,v 1.2 1999-09-18 17:45:23 sandervl Exp $ */ 2 2 3 3 /* … … 70 70 virtual BOOL init(ULONG reservedMem); 71 71 72 virtual HRSRC findResourceA(LPCSTR lpszName, LPSTR lpszType, ULONG lang = LANG_GETFIRST);73 virtual ULONG getResourceSizeA(LPCSTR lpszName, LPSTR lpszType, ULONG lang = LANG_GETFIRST);74 75 virtual ULONG getVersionSize();76 virtual BOOL getVersionStruct(char *verstruct, ULONG bufLength);77 78 72 protected: 79 73 void StoreImportByOrd(Win32DllBase *WinDll, ULONG ordinal, ULONG impaddr); … … 98 92 void AddOrdExport(ULONG virtaddr, ULONG ordinal); 99 93 100 101 ULONG getPEResourceSize(ULONG id, ULONG type, ULONG lang = LANG_GETFIRST);102 103 PIMAGE_RESOURCE_DATA_ENTRY getPEResourceEntry(ULONG id, ULONG type, ULONG lang = LANG_GETFIRST);104 PIMAGE_RESOURCE_DATA_ENTRY ProcessResSubDir(PIMAGE_RESOURCE_DIRECTORY prdType,105 ULONG *nodeData, int level);106 PIMAGE_RESOURCE_DIRECTORY pResDir;107 94 Section *pResSection; 108 95
Note:
See TracChangeset
for help on using the changeset viewer.