Use the GetProcAddress32W in 16-bit code retrieve a value that represents a function in a 32-bit DLL.
DWORD FAR PASCAL GetProcAddress32W(
DWORD hInst, // handle to loaded library module
LPCSTR lpszProc // name of function
);
Returns a 32-bit value if successful. This value must be passed as a parameter to the CallProc32W or CallProcEx32W function rather than being used directly.
Windows 95 and Windows 98: This function releases the Win16Mutex. If this function is called from a 16-bit DLL, it can be reentered as soon as the 32-bit DLL entry-point function is called. This happens when another 32-bit process thunks to the 16-bit DLL or when another 16-bit DLL calls this 16-bit DLL. However, if this function is called in a 16-bit application and the 32-bit DLL entry-point function does not yield, the function is not reentered.
CallProc32W, CallProcEx32W, LoadLibraryEx32W