AllocMappedBuffer (KERNEL32.38)
void AllocMappedBuffer ( CONTEXT86* context )
[In] | EDI register: size of buffer to allocate. |
This is an undocumented KERNEL32 function that SMapLS's a GlobalAlloc'ed buffer.
EDI register: pointer to buffer.
The buffer is preceded by 8 bytes: ... edi+0 buffer edi-4 SEGPTR to buffer edi-8 some magic Win95 needs for SUnMapLS (we use it for the memory handle).
The SEGPTR is used by the caller!
Exported by ordinal only. Use GetProcAddress to obtain a pointer to the function.
Implemented in "dlls/kernel32/heap.c". source.winehq.org/source/dlls/kernel32/heap.c
Available on x86 platforms only.
This function passes one or more arguments in registers. For more details, please read the source code.
Debug channel "heap".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.