Re: Waiting on data from driver
- From: "Chris Tacke, eMVP" <ctacke@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 13 Sep 2005 15:24:53 -0400
Sure, but your API had better be well documented, which in my book is full
documentation of the driver. The point is that the app deve needs
documentation of everything that they may need to effectively use the
driver, otherwise the driver isn't useful. Whether you choose to use the
standard stream interface, or a more friendly shim API doesn't matter -
providing docs on usage is important. Simply giving a header file and
saying "good luck" isn't appreciated.
--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
"Steve Maillet (eMVP)" <nospam1@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uO7xvBJuFHA.3256@xxxxxxxxxxxxxxxxxxxxxxx
> However if you provide a wrapper library API of some sort you don't
> necessarily need or want to document all the IOCTL codes as you can then
> change those without effecting the officially published API library.
> (Again serial ports are a good example of this) application developers
> have no documentation on all the IOCTL codes used in serial drivers) This
> is generally the preferred method as it simplifies the use of your driver
> and helps to protect against accidental mis-use of the DeviceIoControl
> Parameters.
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
> smaillet at EmbeddedFusion dot com
>
>
.
- Follow-Ups:
- Re: Waiting on data from driver
- From: Steve Maillet \(eMVP\)
- Re: Waiting on data from driver
- References:
- Waiting on data from driver
- From: ms
- Re: Waiting on data from driver
- From: Chris Tacke, eMVP
- Re: Waiting on data from driver
- From: ms
- Re: Waiting on data from driver
- From: Chris Tacke, eMVP
- Re: Waiting on data from driver
- From: Steve Maillet \(eMVP\)
- Waiting on data from driver
- Prev by Date: Re: how to do CDEFINES (or cl.exe) /Ox optimization?
- Next by Date: Re: Waiting on data from driver
- Previous by thread: Re: Waiting on data from driver
- Next by thread: Re: Waiting on data from driver
- Index(es):
Relevant Pages
|