hi,
how windows gets the base address of COM ports and parallel ports..
In dos ,i know that "from dos memory area" we can get it( from 0x400 -
0x418).
But i want to know how in windows it is done,anyone can help me...


thanking u

Re: Configuration of COM port by Paul

Paul
Fri Dec 10 17:40:07 CST 2004

It's in the registry for each driver entry. HKLM/Drivers/BuiltIn/Serial for
COM1, for example.

Paul T.

"Manoj" <Manoj@discussions.microsoft.com> wrote in message
news:93404ACC-E468-4617-B866-AFF70FC6C6B9@microsoft.com...
> hi,
> how windows gets the base address of COM ports and parallel ports..
> In dos ,i know that "from dos memory area" we can get it( from 0x400 -
> 0x418).
> But i want to know how in windows it is done,anyone can help me...
>
>
> thanking u
>



Re: Configuration of COM port by Manoj

Manoj
Sat Dec 11 01:17:01 CST 2004

Thank u very much,so OS will transfer all parameters(such as base address and
IRQ's) and device driver writers and application developers have to get these
parameters from registry...

isn't it?
"Paul G. Tobey [eMVP]" wrote:

> It's in the registry for each driver entry. HKLM/Drivers/BuiltIn/Serial for
> COM1, for example.
>
> Paul T.
>
> "Manoj" <Manoj@discussions.microsoft.com> wrote in message
> news:93404ACC-E468-4617-B866-AFF70FC6C6B9@microsoft.com...
> > hi,
> > how windows gets the base address of COM ports and parallel ports..
> > In dos ,i know that "from dos memory area" we can get it( from 0x400 -
> > 0x418).
> > But i want to know how in windows it is done,anyone can help me...
> >
> >
> > thanking u
> >
>
>
>

Re: Configuration of COM port by Bruce

Bruce
Sat Dec 11 15:14:59 CST 2004

Yes.

You should understand that in DOS the hardware architecture was a given, in
Windows CE *every* device can have a very unique architecture.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups