Article View: comp.windows.ms.programmer
Article #1612Re: Allocating Fixed Memory
From: Glenn Patrick Steffler
Date: Tue, 12 Mar 1991 18:37
Date: Tue, 12 Mar 1991 18:37
26 lines
1525 bytes
1525 bytes
In article <23883@hydra.gatech.EDU> rc20@prism.gatech.EDU (CAREY,RICHARD A.) writes:
>
>Can anyone tell me where I can get some information on locking memory at a
>fixed address.
GlobalDOSAlloc() is fixed, non-pageable memory. Just allocating a block, and
calling GlobalLock() will not lock the memory physically, just logically.
GlobalDOSAlloc () is to be used to pass data to DOS TSR's or provide
buffers for real mode device drivers. Please use this sparingly.
The only other 'fixed' memory are fixed code segment DLL's. All other
memory is assumed to be pageable (unless page locked) and moveable
logically...ie...selector doesn't change, but memory address pointed to
by the selector may.`
>CAREY,RICHARD A.
>Georgia Institute of Technology, Atlanta Georgia, 30332
>uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!rc20
>Internet: rc20@prism.gatech.edu
--
Co-Op Scum "Bo doesn't know software" - George Brett
"The galaxial hearth steams the sea as the sky blood red embrasses darkness"
-John Constantine (HellBlazer) Glenn Steffler
Technical Details
Message-ID:
<1991Mar12.183751.26640@sunee.waterloo.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!sunee!gpstefflReferences:
<23883@hydra.gatech.EDU>Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.ms.programmer Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!sunee!gpsteffl From: gpsteffl@sunee.waterloo.edu (Glenn Patrick Steffler) Subject: Re: Allocating Fixed Memory Message-ID: <1991Mar12.183751.26640@sunee.waterloo.edu> Keywords: Fixed Memory Locking Organization: Gold Disk Inc. References: <23883@hydra.gatech.EDU> Date: Tue, 12 Mar 1991 18:37:51 GMT Lines: 26