delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/17/09:27:55

Message-ID: <3356BA7C.972@post.comstar.ru>
Date: Thu, 17 Apr 1997 17:04:12 -0700
From: Dim Zegebart <zager AT post DOT comstar DOT ru>
Reply-To: zager AT post DOT comstar DOT ru
Organization: zager AT post DOT comstar DOT ru
MIME-Version: 1.0
To: DJGPP Mail List <djgpp AT delorie DOT com>
Subject: Some dpmi questions ?

Hi,
Just a couple of questions ;)
What is diference between _go32_dpmi_lock_data and
_dpmi_lock_linear_region ?
Next one :
Assume,
*mem
[...]
mem=malloc(n*sizeof(typeof(mem)))
_go32_dpmi_lock_data(mem,n*sizeof(typeof(mem))) ???? How can I use
_dpmi_lock_linear_region here
[...]
tmp=remalloc(mem,new_n*sizeof(typeof(mem)))
mem=tmp
_go32_dpmi_lock_data(mem,n*sizeof(typeof(mem))) ???? What happen here?
Do I have to 'unlock' first mem ?
And the last one:
What is the field 'handle' in _dpmi_meminfostructure

Thank you ;)
-- 
Regards,
Dim Zegebart, 
Moscow Russia.
Ghostly basement : http://www.geocities.com/siliconvalley/pines/7817

- Raw text -


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