TIP: Click on subject to list as thread! ANSI
echo: win32
to: ALL
from: `Cyrus W.`
date: 2000-08-15 00:00:00
subject: Re: Selector operations in win32

From: "Cyrus W." 
Subject: Re: Selector operations in win32
Date: 2000/08/15
Message-ID: #1/1
Content-Transfer-Encoding: 7bit
References: 
Content-Type: text/plain; charset=us-ascii
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

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

SOURCE: echoes via archive.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.