Changeset 6975 for trunk/src/kernel32/winimagebase.h
- Timestamp:
- Oct 9, 2001, 10:25:21 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winimagebase.h
r5959 r6975 1 /* $Id: winimagebase.h,v 1. 19 2001-06-10 22:32:17sandervl Exp $ */1 /* $Id: winimagebase.h,v 1.20 2001-10-09 20:25:20 sandervl Exp $ */ 2 2 3 3 /* … … 175 175 }; 176 176 177 //SvL: This structure is placed at the end of the first page of the image (header178 // page), so we can determine the Win32Image pointer from a HINSTANCE variable179 // (which is actually the address of the win32 module)180 typedef struct181 {182 ULONG magic1;183 Win32ImageBase *image;184 ULONG magic2;185 } WINIMAGE_LOOKUP;186 187 #define WINIMAGE_LOOKUPADDR(a) (WINIMAGE_LOOKUP *)((ULONG)a + PAGE_SIZE - sizeof(WINIMAGE_LOOKUP))188 189 177 #endif //__WINIMAGEBASE_H__
Note:
See TracChangeset
for help on using the changeset viewer.