Newsgroups: comp.windows.ms.programmer Path: 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 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