Changeset 3765 for trunk/src/kernel32/winimagebase.h
- Timestamp:
- Jun 28, 2000, 8:08:36 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winimagebase.h
r3720 r3765 1 /* $Id: winimagebase.h,v 1.1 2 2000-06-17 09:03:36sandervl Exp $ */1 /* $Id: winimagebase.h,v 1.13 2000-06-28 18:08:35 sandervl Exp $ */ 2 2 3 3 /* … … 22 22 #endif 23 23 24 #define LANG_GETFIRST 0x 8000000025 #define ID LANG_GETFIRST LANG_GETFIRST24 #define LANG_GETFIRST 0xF0000000 25 #define ID_GETFIRST 0xF0000000 26 26 27 27 #ifndef ENUMRESNAMEPROC … … 59 59 60 60 //Returns required OS version for this image 61 virtual ULONG 61 virtual ULONG getVersion(); 62 62 63 virtual void setFullPath(char *name);63 virtual void setFullPath(char *name); 64 64 char *getFullPath() { return fullpath; }; 65 65 … … 67 67 68 68 //findResource returns the pointer of the resource's IMAGE_RESOURCE_DATA_ENTRY structure 69 virtualHRSRC findResourceA(LPCSTR lpszName, LPSTR lpszType, ULONG lang = LANG_GETFIRST);70 69 HRSRC findResourceA(LPCSTR lpszName, LPSTR lpszType, ULONG lang = LANG_GETFIRST); 70 HRSRC findResourceW(LPWSTR lpszName, LPWSTR lpszType, ULONG lang = LANG_GETFIRST); 71 71 72 virtual ULONG getResourceSizeA(LPCSTR lpszName, LPSTR lpszType, ULONG lang = LANG_GETFIRST);73 ULONG getResourceSizeW(LP CWSTR lpszName, LPWSTR lpszType, ULONG lang = LANG_GETFIRST);74 virtualBOOL enumResourceNamesA(HMODULE hmod, LPCTSTR lpszType, ENUMRESNAMEPROCA lpEnumFunc, LONG lParam);75 virtualBOOL enumResourceNamesW(HMODULE hmod, LPCWSTR lpszType, ENUMRESNAMEPROCW lpEnumFunc, LONG lParam);76 virtualBOOL enumResourceTypesA(HMODULE hmod, ENUMRESTYPEPROCA lpEnumFunc,72 ULONG getResourceSizeA(LPSTR lpszName, LPSTR lpszType, ULONG lang = LANG_GETFIRST); 73 ULONG getResourceSizeW(LPWSTR lpszName, LPWSTR lpszType, ULONG lang = LANG_GETFIRST); 74 BOOL enumResourceNamesA(HMODULE hmod, LPCTSTR lpszType, ENUMRESNAMEPROCA lpEnumFunc, LONG lParam); 75 BOOL enumResourceNamesW(HMODULE hmod, LPCWSTR lpszType, ENUMRESNAMEPROCW lpEnumFunc, LONG lParam); 76 BOOL enumResourceTypesA(HMODULE hmod, ENUMRESTYPEPROCA lpEnumFunc, 77 77 LONG lParam); 78 virtualBOOL enumResourceTypesW(HMODULE hmod, ENUMRESTYPEPROCW lpEnumFunc,78 BOOL enumResourceTypesW(HMODULE hmod, ENUMRESTYPEPROCW lpEnumFunc, 79 79 LONG lParam); 80 80 81 virtualULONG getVersionSize();82 virtualBOOL getVersionStruct(char *verstruct, ULONG bufLength);81 ULONG getVersionSize(); 82 BOOL getVersionStruct(char *verstruct, ULONG bufLength); 83 83 84 84 //Returns pointer to data of resource handle … … 140 140 ULONG tlsIndex; //module TLS index 141 141 142 ULONG getPEResourceSize(ULONG id, ULONG type, ULONG lang = LANG_GETFIRST);143 144 PIMAGE_RESOURCE_DATA_ENTRY getPEResourceEntry(ULONG id, ULONG type, ULONG lang, int *error);145 PIMAGE_RESOURCE_DATA_ENTRY ProcessResSubDir(PIMAGE_RESOURCE_DIRECTORY prdType,146 ULONG *nodeData, int level, int *error);147 142 PIMAGE_RESOURCE_DIRECTORY getResSubDirW(PIMAGE_RESOURCE_DIRECTORY pResDir, LPCWSTR lpszName); 148 143 PIMAGE_RESOURCE_DIRECTORY getResSubDirA(PIMAGE_RESOURCE_DIRECTORY pResDir, LPCTSTR lpszName); 149 144 150 PIMAGE_RESOURCE_DIRECTORY pResDir; 145 PIMAGE_RESOURCE_DATA_ENTRY getResDataLang(PIMAGE_RESOURCE_DIRECTORY pResDir, ULONG language, BOOL fGetDefault = FALSE); 146 147 PIMAGE_RESOURCE_DIRECTORY pResRootDir; 151 148 152 149 //substracted from RVA data offsets
Note:
See TracChangeset
for help on using the changeset viewer.