🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.win32
Article #2237

Re: Selector operations in win32

#2237
From: Cyrus W.
Date: Tue, 15 Aug 2000 00:00
35 lines
2152 bytes
Chances are that if you need those
functions you would be better off
making a VxD.  However, if you
don't mind a little assembler you may want
to try the LAR, LSL, VERR, and VERW instructions.
LSL loads the segment limit of a selector.
LAR loads the access rights.

Documentation is available at:
http://developer.intel.com/design/pentium/manuals/

Cyrus

-
I'm currently seeking new employment opportunities.
Ideally I would like to use  C | C++ | Perl | Asm.
My resume is available at http://www.icrossroads.com/~brbi/
If your interested please contact me.


Joseph Boctor wrote:

> Hi All!
> I am porting 16bit dll to 32bit.
> The following selector operations are implemented in win16 but not win32
> api:
> 1. SELECTOROF()
> 2. OFFSETOF()
> 3. GetSelectorBase()
> 4. GetSelectorLimit()
> And there is no equivalent, I am not sure why that is?
> And if u know of any equivalent, please let me know asap.
>
> Thnx for any input
> Joe
Technical Details
Message-ID: <3999BF15.A9938082@aareus.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <j1fm5.27679$c5.1016284@news2.rdc1.on.home.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fccee,b63198b066b4ab01
X-Google-Attributes: gidfccee,public
X-Google-Thread: 113dfb,b63198b066b4ab01
X-Google-Attributes: gid113dfb,public
X-Google-Thread: fa859,b63198b066b4ab01
X-Google-Attributes: gidfa859,public
X-Google-Thread: 113fba,b63198b066b4ab01
X-Google-Attributes: gid113fba,public
X-Google-Thread: 10461f,b63198b066b4ab01
X-Google-Attributes: gid10461f,public
X-Google-Thread: 10015c,b63198b066b4ab01
X-Google-Attributes: gid10015c,public
From: "Cyrus W." <cyrus@aareus.com>
Subject: Re: Selector operations in win32
Date: 2000/08/15
Message-ID: <3999BF15.A9938082@aareus.com>
X-Deja-AN: 658693697
Content-Transfer-Encoding: 7bit
References: <j1fm5.27679$c5.1016284@news2.rdc1.on.home.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: jekyl.ab.tac.net 966377267 207.34.75.11 (Tue, 15 Aug 2000 16:07:47 MDT)
Organization: Aareus Software
MIME-Version: 1.0
NNTP-Posting-Date: Tue, 15 Aug 2000 16:07:47 MDT
Newsgroups: comp.os.ms-windows.programmer.win32,fido.win32,fido7.inter.win32,fidonet.win32,microsoft.public.win32,microsoft.public.win32.programmer