The information in this article applies to:
SUMMARY
Win32s flat code and data selectors are not zero-based. Linear addresses
retrieved through a VxD can be used in a Win32-based application running
under Win32s, after one small change is made.
MORE INFORMATIONLinear Address to Flat AddressWin32s does not base linear addresses at 0, so that exceptions will be generated when null pointers are dereferenced. Therefore, an access violation occurs when:
Segmented Address to Flat AddressThe following Win32s Universal Thunk APIs are used for address translation:
where x is a segmented address, you may not necessarily get the original
value of x back. It is by design that the sel:off pair may be different.
If the memory was allocated by a 16-bit application, Win32s does not
have x in its LinearAddress->selector translation tables. Therefore,
when UTLinearToSelectorOffset() is called, new selectors are created.
Additional query words: gpf gp-fault
Keywords : kbprg kbWin32s |
Last Reviewed: January 14, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |