Reference

ThunkInitSL(3w)

NAME

ThunkInitSL (KERNEL32.46)

SYNOPSIS

VOID ThunkInitSL
(
LPBYTE thunk,
LPCSTR thkbuf,
DWORD len,
LPCSTR dll16,
LPCSTR dll32
)

PARAMS

thunk [In] start of thunkbuffer.

thkbuf [In] name/ordinal of thunkbuffer in Win16 dll.

len [In] length of thunkbuffer.

dll16 [In] name of Win16 dll containing the thkbuf.

[In] Win32 dll. FIXME: strange,unused.

DESCRIPTION

Another thunkbuf link routine. The start of the thunkbuf looks like this: 00: DWORD length 04: SEGPTR address for thunkbuffer pointer [ok probably].

RETURNS

Nothing.

IMPLEMENTATION

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.

Implemented in "dlls/kernel32/thunk.c".

Debug channel "thunk".

History