delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2016/03/16/06:15:13

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Wiktor S. (wswiktorSP AT Mpoczta DOT fm) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: how to unlock locked memory
Date: Wed, 16 Mar 2016 10:54:25 +0100
Organization: INTERIA.PL S.A.
Lines: 10
Message-ID: <ncbagh$v79$1@usenet.news.interia.pl>
References: <nbs7v1$3da$1 AT usenet DOT news DOT interia DOT pl> <20160316000317 DOT 329b9cf8 AT _>
NNTP-Posting-Host: user-164-127-34-93.play-internet.pl
Mime-Version: 1.0
X-Trace: usenet.news.interia.pl 1458122067 31977 164.127.34.93 (16 Mar 2016 09:54:27 GMT)
X-Complaints-To: usenet AT firma DOT interia DOT pl
NNTP-Posting-Date: Wed, 16 Mar 2016 09:54:27 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
Bytes: 1451
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> So, you should be able to use __dpmi_unlock_linear_region()
> by passing the same address and size as they were computed
> in either _go32_dpmi_lock_code() or _go32_dpmi_lock_data().
> Look at the code in gopint.c to see how this is done.

Thanks. Weird that there is no _go32_dpmi_unlock_code/data.

-- 
Wiktor S.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019