Changeset 281 for trunk/include/winimage.h
- Timestamp:
- Jul 7, 1999, 10:11:58 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/winimage.h
r10 r281 1 /* $Id: winimage.h,v 1. 2 1999-05-27 15:17:59 phallerExp $ */1 /* $Id: winimage.h,v 1.3 1999-07-07 08:11:09 sandervl Exp $ */ 2 2 3 3 /* … … 124 124 int getVersionId() { return VersionId; }; 125 125 126 void setEntryPoint(ULONG startAddress) { entryPoint = startAddress; }; 127 128 void setTLSAddress(LPVOID dwTlsAddress) { tlsAddress = dwTlsAddress; }; 129 void setTLSIndexAddr(LPDWORD dwTlsIndexAddr) { tlsIndexAddr = dwTlsIndexAddr; }; 130 void setTLSInitSize(ULONG dwTlsSize) { tlsInitSize = dwTlsSize; }; 131 void setTLSTotalSize(ULONG dwTlsSize) { tlsTotalSize = dwTlsSize; }; 132 void setTLSCallBackAddr(PIMAGE_TLS_CALLBACK *dwTlsCallBackAddr) 133 { 134 tlsCallBackAddr = dwTlsCallBackAddr; 135 }; 136 137 void tlsAttachThread(); //setup TLS structures for new thread 138 void tlsDetachThread(); //destroy TLS structures 139 126 140 protected: 141 void tlsAlloc(); //Allocate TLS index for this module 142 void tlsDelete(); //Destroy TLS index for this module 143 127 144 void StoreImportByOrd(Win32Dll *WinDll, ULONG ordinal, ULONG impaddr); 128 145 void StoreImportByName(Win32Dll *WinDll, char *impname, ULONG impaddr); … … 177 194 178 195 BOOL fNativePEImage; 196 197 LPVOID tlsAddress; //address of TLS data 198 LPDWORD tlsIndexAddr; //address of DWORD that receives the TLS index 199 ULONG tlsInitSize; //size of initialized TLS memory block 200 ULONG tlsTotalSize; //size of TLS memory block 201 PIMAGE_TLS_CALLBACK *tlsCallBackAddr; //ptr to TLS callback array 202 ULONG tlsIndex; //module TLS index 203 179 204 private: 180 205
Note:
See TracChangeset
for help on using the changeset viewer.