How To Pass Large Memory Block Through Win32s Universal Thunk (126708)
The information in this article applies to:
- Microsoft Win32s 1.3c
- Microsoft Win32s 1.2
- Microsoft Win32s 1.3
- Microsoft Win32s 1.30a
This article was previously published under Q126708 SUMMARY
You can share memory between 32-bit code and 16-bit code under Win32s using
either GlobalAlloc or passing a memory address to a Universal Thunk (UT)
routine. For general information on how to share memory under Win32s,
please refer to the following Knowledge Base article:
105762
How To Share Memory Between 32-Bit and 16-Bit Code on Win32s
When you pass a memory address to a thunk routine, the pointer address is
translated via the universal thunk (UT). However, the translated pointer is
only guaranteed for 32K due to performance reasons. For more information on
this limitation, please refer to the following Knowledge Base article:
100833
INFO: Win32s Translated Pointers Guaranteed for 32K
This article describes ways to pass a larger memory block (including
greater than 64K in size) through the Universal Thunk under Win32s.
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbhowto kbprogramming KB126708 |
---|
|