ThunkInitLS (KERNEL32.43)
DWORD ThunkInitLS ( LPDWORD thunk, LPCSTR thkbuf, DWORD len, LPCSTR dll16, LPCSTR dll32 )
thunk | [In] | Win32 thunk. |
thkbuf | [In] | thkbuffer name in Win16 dll. |
len | [In] | thkbuffer length. |
dll16 | [In] | name of Win16 dll. |
[In] | name of Win32 dll (FIXME: not used?). |
A thunkbuffer link routine The thunkbuf looks like:
00: DWORD length ? don't know exactly 04: SEGPTR pointer ? where does it point to? The pointer pointer is written into the first DWORD of 'thunk'. (probably correctly implemented) [ok probably].
segmented pointer to thunk?
Exported by ordinal only. Use GetProcAddress to obtain a pointer to the function.
Implemented in "dlls/kernel32/thunk.c". source.winehq.org/source/dlls/kernel32/thunk.c
Debug channel "thunk".
Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.