Re: WDF coding style
- From: "Don Burn" <burn@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 9 May 2009 06:30:28 -0400
No there is not a coding style published and hungarian has been proven to be
evil. Microsoft has conventions that the driver writers use and can be
determined by looking at a bunch of drivers, but there is a lot of variation
there.
--
Don Burn (MVP, Windows DDK)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
"Roman Jordan" <RomanJordan@xxxxxx> wrote in message
news:e%23y$u3I0JHA.6132@xxxxxxxxxxxxxxxxxxxxxxx
Hi everybody,
i have seen in the programming samples of the KMDF-drivers and also in the
samples of the applications, that there seems to be no generic coding
style, something like the hungarian style. This is also valid for the
whole sample code of the WDF.
Does there exist any coding convention for drivers and applications using
C- or C++?
Some years ago a windows programmer told me that C- or C++ - based
applications should alwyas use the hungarian style. But MS doesn't use
this style in the actual WDF samples. Which sentence is correct?
I know also that MS says: "Do not use hungarian style for develping C#".
So, let's come back:
Does there exist any coding style?
Best regards,
Roman
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4063 (20090508) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4063 (20090508) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
.
- References:
- WDF coding style
- From: Roman Jordan
- WDF coding style
- Prev by Date: WDF coding style
- Next by Date: psoPattern in DrvRealizeBrush differs in consecutive calls
- Previous by thread: WDF coding style
- Next by thread: Re: WDF coding style
- Index(es):
Relevant Pages
|