Writing vxd's for Win9x in C

Iam writing a pointer port driver for windows Me. Now all the samples given
in DDK are written is assembly. Can’t i write the mouse mini driver in C?

In that case how can i include the asm header files in my .c file? And how
can use the assembly macros defined in vmd.inc?

Thanks
Sesha.
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

If you write a VXD in C, you don’t need to use asm macros. You should use
VXD-functions wrappers from vxdwraps.clb library. Prototypes of these
wrappers are defined in VXDWRAPS.H file. More over, you can write your own
wrappers which are absent in the original wrapper library.

----- Original Message -----
From: “Seshagiri_Babu”
To: “NT Developers Interest List”
Sent: Thursday, July 11, 2002 12:52 PM
Subject: [ntdev] Writing vxd’s for Win9x in C

> Iam writing a pointer port driver for windows Me. Now all the samples
given
> in DDK are written is assembly. Can’t i write the mouse mini driver in C?
>
> In that case how can i include the asm header files in my .c file? And how
> can use the assembly macros defined in vmd.inc?
>
> Thanks
> Sesha.
>
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
> distribution or forwarding of any or all of the contents in this message
is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
>

>
>
> —
> You are currently subscribed to ntdev as: xxxxx@nival.com
> To unsubscribe send a blank email to %%email.unsub%%
>

Thats’ a valuable feedback. Now i have this vmd.inc which doesn’t have
wrappers. How do i go about creating wrapper for this…


From: Konstantin Manurin[SMTP:xxxxx@nival.com]
Reply To: NT Developers Interest List
Sent: Thursday, July 11, 2002 2:28 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Writing vxd’s for Win9x in C

If you write a VXD in C, you don’t need to use asm macros. You should use
VXD-functions wrappers from vxdwraps.clb library. Prototypes of these
wrappers are defined in VXDWRAPS.H file. More over, you can write your own
wrappers which are absent in the original wrapper library.

----- Original Message -----
From: “Seshagiri_Babu”
> To: “NT Developers Interest List”
> Sent: Thursday, July 11, 2002 12:52 PM
> Subject: [ntdev] Writing vxd’s for Win9x in C
>
>
> > Iam writing a pointer port driver for windows Me. Now all the samples
> given
> > in DDK are written is assembly. Can’t i write the mouse mini driver in
> C?
> >
> > In that case how can i include the asm header files in my .c file? And
> how
> > can use the assembly macros defined in vmd.inc?
> >
> > Thanks
> > Sesha.
> >
>
> > This email (including any attachments) is intended for the sole use of
> the
> > intended recipient/s and may contain material that is CONFIDENTIAL AND
> > PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
> or
> > distribution or forwarding of any or all of the contents in this message
> is
> > STRICTLY PROHIBITED. If you are not the intended recipient, please
> contact
> > the sender by email and delete all copies; your cooperation in this
> regard
> > is appreciated.
> >
>

> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@nival.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@satyam.com
> To unsubscribe send a blank email to %%email.unsub%%
>

This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.

Yes, this asm include file doesn’t have a corresponding C header file, but
if you prefer to write your VXD in C you can convert it to H-file and then
write your own wrappers of VMD services (which you actually need) as inline
functions (see for instance VMM.H). Almost all VXD wrappers in DDK have
inline and ordinary function versions.

----- Original Message -----
From: “Seshagiri_Babu”
To: “NT Developers Interest List”
Sent: Thursday, July 11, 2002 1:36 PM
Subject: [ntdev] Re: Writing vxd’s for Win9x in C

> Thats’ a valuable feedback. Now i have this vmd.inc which doesn’t have
> wrappers. How do i go about creating wrapper for this…
>
> > ----------
> > From: Konstantin Manurin[SMTP:xxxxx@nival.com]
> > Reply To: NT Developers Interest List
> > Sent: Thursday, July 11, 2002 2:28 AM
> > To: NT Developers Interest List
> > Subject: [ntdev] Re: Writing vxd’s for Win9x in C
> >
> > If you write a VXD in C, you don’t need to use asm macros. You should
use
> > VXD-functions wrappers from vxdwraps.clb library. Prototypes of these
> > wrappers are defined in VXDWRAPS.H file. More over, you can write your
own
> > wrappers which are absent in the original wrapper library.
> >
> > ----- Original Message -----
> > From: “Seshagiri_Babu”
> > To: “NT Developers Interest List”
> > Sent: Thursday, July 11, 2002 12:52 PM
> > Subject: [ntdev] Writing vxd’s for Win9x in C
> >
> >
> > > Iam writing a pointer port driver for windows Me. Now all the samples
> > given
> > > in DDK are written is assembly. Can’t i write the mouse mini driver in
> > C?
> > >
> > > In that case how can i include the asm header files in my .c file? And
> > how
> > > can use the assembly macros defined in vmd.inc?
> > >
> > > Thanks
> > > Sesha.
> > >
> >

> > > This email (including any attachments) is intended for the sole use of
> > the
> > > intended recipient/s and may contain material that is CONFIDENTIAL AND
> > > PRIVATE COMPANY INFORMATION. Any review or reliance by others or
copying
> > or
> > > distribution or forwarding of any or all of the contents in this
message
> > is
> > > STRICTLY PROHIBITED. If you are not the intended recipient, please
> > contact
> > > the sender by email and delete all copies; your cooperation in this
> > regard
> > > is appreciated.
> > >
> >

> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@nival.com
> > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@satyam.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
> distribution or forwarding of any or all of the contents in this message
is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
>

>
>
> —
> You are currently subscribed to ntdev as: xxxxx@nival.com
> To unsubscribe send a blank email to %%email.unsub%%
>

It is amazing how people come to this list before they do ANY research
for themselves.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Seshagiri_Babu
Sent: Thursday, July 11, 2002 1:53 AM
To: NT Developers Interest List
Subject: [ntdev] Writing vxd’s for Win9x in C

Iam writing a pointer port driver for windows Me. Now all the samples
given
in DDK are written is assembly. Can’t i write the mouse mini driver in
C?

In that case how can i include the asm header files in my .c file? And
how
can use the assembly macros defined in vmd.inc?

Thanks
Sesha.
************************************************************************
**
This email (including any attachments) is intended for the sole use of
the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
distribution or forwarding of any or all of the contents in this message
is
STRICTLY PROHIBITED. If you are not the intended recipient, please
contact
the sender by email and delete all copies; your cooperation in this
regard
is appreciated.
************************************************************************
**


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

Well, a more expensive alternative would be to get
VToolsD. They come included with C wrappers for
just about everything. It would help to alleviate
a lot of the menial work involved.

-Tan Chee Hui
Laboratories for Information Techonology

----- Original Message -----
From: “Jamey Kirby”
To: “NT Developers Interest List”
Sent: Friday, July 12, 2002 2:31 AM
Subject: [ntdev] RE: Writing vxd’s for Win9x in C

> It is amazing how people come to this list before they do ANY research
> for themselves.
>
> Jamey

Hi Jamey,
Its equally amazing for me how you came to a conclusion that I
haven’t done ANY research for myself before asking the Q.

I would have appreciated your unsolicited feedback had you given me
some answer or some reference :slight_smile:

BTW iam new to device drivers and very new to VXD’s. Do you still
think i am not eligible for posting such Q’s? :frowning:

Sesha.


From: Jamey Kirby[SMTP:xxxxx@storagecraft.com]
Reply To: NT Developers Interest List
Sent: Thursday, July 11, 2002 11:31 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Writing vxd’s for Win9x in C

It is amazing how people come to this list before they do ANY research
for themselves.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Seshagiri_Babu
Sent: Thursday, July 11, 2002 1:53 AM
To: NT Developers Interest List
Subject: [ntdev] Writing vxd’s for Win9x in C

Iam writing a pointer port driver for windows Me. Now all the samples
given
in DDK are written is assembly. Can’t i write the mouse mini driver in
C?

In that case how can i include the asm header files in my .c file? And
how
can use the assembly macros defined in vmd.inc?

Thanks
Sesha.
************************************************************************
**
This email (including any attachments) is intended for the sole use of
the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
distribution or forwarding of any or all of the contents in this message
is
STRICTLY PROHIBITED. If you are not the intended recipient, please
contact
the sender by email and delete all copies; your cooperation in this
regard
is appreciated.
************************************************************************
**


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


You are currently subscribed to ntdev as: xxxxx@satyam.com
To unsubscribe send a blank email to %%email.unsub%%

**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

Jamey is right.
This is because if you had looked CAREFULLY into the DDK then you could have been found .H files that provide most of the definitions in C syntax that can be found in the .inc files. Furthermore, there is an example of a VxD written in C and a C wrapper library.


Udo Eberhardt
Thesycon GmbH, Germany
xxxxx@thesycon.de
www.thesycon.de

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Seshagiri_Babu
Sent: Friday, July 12, 2002 10:47 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Writing vxd’s for Win9x in C

Hi Jamey,
Its equally amazing for me how you came to a conclusion that I
haven’t done ANY research for myself before asking the Q.

I would have appreciated your unsolicited feedback had you given me
some answer or some reference :slight_smile:

BTW iam new to device drivers and very new to VXD’s. Do you still
think i am not eligible for posting such Q’s? :frowning:

Sesha.

> ----------
> From: Jamey Kirby[SMTP:xxxxx@storagecraft.com]
> Reply To: NT Developers Interest List
> Sent: Thursday, July 11, 2002 11:31 AM
> To: NT Developers Interest List
> Subject: [ntdev] RE: Writing vxd’s for Win9x in C
>
> It is amazing how people come to this list before they do ANY research
> for themselves.
>
> Jamey
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Seshagiri_Babu
> Sent: Thursday, July 11, 2002 1:53 AM
> To: NT Developers Interest List
> Subject: [ntdev] Writing vxd’s for Win9x in C
>
> Iam writing a pointer port driver for windows Me. Now all the samples
> given
> in DDK are written is assembly. Can’t i write the mouse mini driver in
> C?
>
> In that case how can i include the asm header files in my .c file? And
> how
> can use the assembly macros defined in vmd.inc?
>
> Thanks
> Sesha.
> ************************************************************************
> **
> This email (including any attachments) is intended for the sole use of
> the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
> or
> distribution or forwarding of any or all of the contents in this message
> is
> STRICTLY PROHIBITED. If you are not the intended recipient, please
> contact
> the sender by email and delete all copies; your cooperation in this
> regard
> is appreciated.
> ************************************************************************
> **
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@satyam.com
> To unsubscribe send a blank email to %%email.unsub%%
>
******************************************************************
********
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or
copying or
distribution or forwarding of any or all of the contents in this
message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************


You are currently subscribed to ntdev as: xxxxx@thesycon.de
To unsubscribe send a blank email to %%email.unsub%%

It is surly obvious.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Seshagiri_Babu
Sent: Friday, July 12, 2002 1:47 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Writing vxd’s for Win9x in C

Hi Jamey,
Its equally amazing for me how you came to a conclusion that I
haven’t done ANY research for myself before asking the Q.

I would have appreciated your unsolicited feedback had you given
me
some answer or some reference :slight_smile:

BTW iam new to device drivers and very new to VXD’s. Do you
still
think i am not eligible for posting such Q’s? :frowning:

Sesha.


From: Jamey Kirby[SMTP:xxxxx@storagecraft.com]
Reply To: NT Developers Interest List
Sent: Thursday, July 11, 2002 11:31 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Writing vxd’s for Win9x in C

It is amazing how people come to this list before they do ANY research
for themselves.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Seshagiri_Babu
Sent: Thursday, July 11, 2002 1:53 AM
To: NT Developers Interest List
Subject: [ntdev] Writing vxd’s for Win9x in C

Iam writing a pointer port driver for windows Me. Now all the samples
given
in DDK are written is assembly. Can’t i write the mouse mini driver in
C?

In that case how can i include the asm header files in my .c file? And
how
can use the assembly macros defined in vmd.inc?

Thanks
Sesha.

************************************************************************

**
This email (including any attachments) is intended for the sole use of
the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or
copying
or
distribution or forwarding of any or all of the contents in this
message
is
STRICTLY PROHIBITED. If you are not the intended recipient, please
contact
the sender by email and delete all copies; your cooperation in this
regard
is appreciated.

************************************************************************

**


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


You are currently subscribed to ntdev as: xxxxx@satyam.com
To unsubscribe send a blank email to %%email.unsub%%

************************************************************************
**
This email (including any attachments) is intended for the sole use of
the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
distribution or forwarding of any or all of the contents in this message
is
STRICTLY PROHIBITED. If you are not the intended recipient, please
contact
the sender by email and delete all copies; your cooperation in this
regard
is appreciated.
************************************************************************
**


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