Date: Sun, 1 Aug 1999 11:40:38 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Rock cc: djgpp AT delorie DOT com Subject: Re: Page Locking DOS memory In-Reply-To: <37a13b1b.5875209@news.ntplx.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, 30 Jul 1999, Rock wrote: > I'm trying to lock a region of memory aquired through DPMI's 0x100 > function (Allocate DOS memoy). When I try to lock this region, it > fails. Do I need to lock DOS memory? (The DPMI spec says that DOS > memory is locked by default on *SOME* DPMIs). If the call to lock that memory fails, it means it's already locked. So you don't have to worry.