VxD

Hi,

Is it possible to write a vxd ( win98) driver in C language ??
I was searching for the code samples and all i got were all in assembly.
I am aiming at a virtual parallel driver on windows 98.

Thanks in advance
naveen

Yes. Wrong group.

“Naveen Mellempudi” wrote in message
news:xxxxx@ntdev…
>
> Hi,
>
> Is it possible to write a vxd ( win98) driver in C language ??
> I was searching for the code samples and all i got were all in assembly.
> I am aiming at a virtual parallel driver on windows 98.
>
> Thanks in advance
> naveen
>
>

It’s been a long time … but it is possible to write a VxD mostly in C.
But you will need at least one small assembly component to define the
DDB, Service Table, short wrappers (procs) for those services to call
into your ‘C’ code and short wrappers to receive System Controls and
DeviceIoControls (DIOCs) and call into your C code and handlers for
ApiV86 and ApiPM, etc. Perhaps others on the list can fill in the
details or has a short sample in their archives. Also, there’s a book
at Amazon that has an appendix “Using Assembly Language with your VxD
Written in C”. The book is “Writing Windows VxDs & Device Drivers;
Programming Secrets for Virtual Device Drivers.” Perhaps that will
help.

What kind of driver are you writing? With some technologies
(networking, for example), it’s possible to load Windows 2000-based
drivers or WDM drivers.

Bryan S. Burgin
xxxxx@microsoft.com

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of David J. Craig
Sent: Tuesday, August 05, 2003 9:25 AM
To: Windows System Software Developers Interest List
Subject: [ntdev] Re: VxD

Yes. Wrong group.

“Naveen Mellempudi” wrote in message
news:xxxxx@ntdev…
>
> Hi,
>
> Is it possible to write a vxd ( win98) driver in C language ??
> I was searching for the code samples and all i got were all in
assembly.
> I am aiming at a virtual parallel driver on windows 98.
>
> Thanks in advance
> naveen
>
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Using VTOOLSD eliminates the need to use assembly/

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Bryan Burgin
Sent: Tuesday, August 05, 2003 10:16 AM
To: Windows System Software Developers Interest List
Cc: xxxxx@wipro.com
Subject: [ntdev] Re: VxD

It’s been a long time … but it is possible to write a VxD mostly in C.
But you will need at least one small assembly component to define the
DDB, Service Table, short wrappers (procs) for those services to call
into your ‘C’ code and short wrappers to receive System Controls and
DeviceIoControls (DIOCs) and call into your C code and handlers for
ApiV86 and ApiPM, etc. Perhaps others on the list can fill in the
details or has a short sample in their archives. Also, there’s a book
at Amazon that has an appendix “Using Assembly Language with your VxD
Written in C”. The book is “Writing Windows VxDs & Device Drivers;
Programming Secrets for Virtual Device Drivers.” Perhaps that will
help.

What kind of driver are you writing? With some technologies
(networking, for example), it’s possible to load Windows 2000-based
drivers or WDM drivers.

Bryan S. Burgin
xxxxx@microsoft.com

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of David J. Craig
Sent: Tuesday, August 05, 2003 9:25 AM
To: Windows System Software Developers Interest List
Subject: [ntdev] Re: VxD

Yes. Wrong group.

“Naveen Mellempudi” wrote in message
news:xxxxx@ntdev…
>
> Hi,
>
> Is it possible to write a vxd ( win98) driver in C language ??
> I was searching for the code samples and all i got were all in
assembly.
> I am aiming at a virtual parallel driver on windows 98.
>
> Thanks in advance
> naveen
>
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

The W9x ddk had examples and wrappers that wrapped a lot of the calls into
inline assembly.

Bill Wandel

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Bryan Burgin
Sent: Tuesday, August 05, 2003 1:16 PM
To: Windows System Software Developers Interest List
Cc: xxxxx@wipro.com
Subject: [ntdev] Re: VxD

It’s been a long time … but it is possible to write a VxD mostly in C.
But you will need at least one small assembly component to define the
DDB, Service Table, short wrappers (procs) for those services to call
into your ‘C’ code and short wrappers to receive System Controls and
DeviceIoControls (DIOCs) and call into your C code and handlers for
ApiV86 and ApiPM, etc. Perhaps others on the list can fill in the
details or has a short sample in their archives. Also, there’s a book
at Amazon that has an appendix “Using Assembly Language with your VxD
Written in C”. The book is “Writing Windows VxDs & Device Drivers;
Programming Secrets for Virtual Device Drivers.” Perhaps that will
help.

What kind of driver are you writing? With some technologies
(networking, for example), it’s possible to load Windows 2000-based
drivers or WDM drivers.

Bryan S. Burgin
xxxxx@microsoft.com

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of David J. Craig
Sent: Tuesday, August 05, 2003 9:25 AM
To: Windows System Software Developers Interest List
Subject: [ntdev] Re: VxD

Yes. Wrong group.

“Naveen Mellempudi” wrote in message
news:xxxxx@ntdev…
>
> Hi,
>
> Is it possible to write a vxd ( win98) driver in C language ??
> I was searching for the code samples and all i got were all in
assembly.
> I am aiming at a virtual parallel driver on windows 98.
>
> Thanks in advance
> naveen
>
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@bwandel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

But there were a great deal that you had to write wrappers for yourself.
Any decently-paid programmer will save far more money in time with
VToolsD than he would spend on the tool.

Bill Wandel wrote:

The W9x ddk had examples and wrappers that wrapped a lot of the calls into
inline assembly.

Bill Wandel

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Bryan Burgin
Sent: Tuesday, August 05, 2003 1:16 PM
To: Windows System Software Developers Interest List
Cc: xxxxx@wipro.com
Subject: [ntdev] Re: VxD

It’s been a long time … but it is possible to write a VxD mostly in C.
But you will need at least one small assembly component to define the
DDB, Service Table, short wrappers (procs) for those services to call
into your ‘C’ code and short wrappers to receive System Controls and
DeviceIoControls (DIOCs) and call into your C code and handlers for
ApiV86 and ApiPM, etc. Perhaps others on the list can fill in the
details or has a short sample in their archives. Also, there’s a book
at Amazon that has an appendix “Using Assembly Language with your VxD
Written in C”. The book is “Writing Windows VxDs & Device Drivers;
Programming Secrets for Virtual Device Drivers.” Perhaps that will
help.

What kind of driver are you writing? With some technologies
(networking, for example), it’s possible to load Windows 2000-based
drivers or WDM drivers.

Bryan S. Burgin
xxxxx@microsoft.com

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of David J. Craig
Sent: Tuesday, August 05, 2003 9:25 AM
To: Windows System Software Developers Interest List
Subject: [ntdev] Re: VxD

Yes. Wrong group.

“Naveen Mellempudi” wrote in message
> news:xxxxx@ntdev…
>
>>Hi,
>>
>>Is it possible to write a vxd ( win98) driver in C language ??
>>I was searching for the code samples and all i got were all in
>
> assembly.
>
>>I am aiming at a virtual parallel driver on windows 98.
>>
>>Thanks in advance
>>naveen
>>
>>
>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@microsoft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@bwandel.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@nryan.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>


- Nick Ryan (MVP for DDK)