f



ntddk.h or wdm.h

I have read in the DDK help that wdm.h should be used vice ntddk.h
And then when I took a look at the toaster function driver it used
ntddk.h

I'm trying to convert my nt driver to wdm.
If I include wdm.h I get a warning error saying that
RtlCheckRegistryKey() is undefined. With ntddk.h included but not
wdm.h the warning error goes away.

Can I use ntddk.h without any problems in my WDM driver? If not, how
what do I include to remove the waring erro from
RtlCheckRegistryKey()?

jOHN
0
john
6/13/2006 10:16:57 PM
comp.win.nt.kernel-mode 2877 articles. 0 followers. mat.hieu (4) is leader. Post Follow

3 Replies
542 Views

Similar Articles

[PageSpeed] 9

john <jvasquez@getntds.spam.com> wrote:
>
>I have read in the DDK help that wdm.h should be used vice ntddk.h
>And then when I took a look at the toaster function driver it used
>ntddk.h
>
>I'm trying to convert my nt driver to wdm.
>If I include wdm.h I get a warning error saying that
>RtlCheckRegistryKey() is undefined. With ntddk.h included but not
>wdm.h the warning error goes away.
>
>Can I use ntddk.h without any problems in my WDM driver? If not, how
>what do I include to remove the waring erro from
>RtlCheckRegistryKey()?

If you do not care about running your driver on Windows 98, then forget
about <wdm.h> and use <ntddk.h>
-- 
- Tim Roberts, timr@probo.com
  Providenza & Boekelheide, Inc.
0
Tim
6/14/2006 7:11:32 AM
On Tue, 13 Jun 2006 15:16:57 -0700, john <jvasquez@getntds.spam.com>
wrote:

>I have read in the DDK help that wdm.h should be used vice ntddk.h
>And then when I took a look at the toaster function driver it used
>ntddk.h
>

Ignore what you have read and use ntddk.h unless for some hideous
reason you need to support win98.


=====================
Mark Roddy DDK MVP
Windows Vista/2003/XP/2000 Consulting
Device and Filesystem Drivers 
Hollis Technology Solutions 603-321-1032
www.hollistech.com
0
Mark
6/14/2006 11:05:02 AM
Thank you, I'll be using ntddk.h

On Wed, 14 Jun 2006 07:05:02 -0400, Mark Roddy <markr@hollistech.com>
wrote:

>On Tue, 13 Jun 2006 15:16:57 -0700, john <jvasquez@getntds.spam.com>
>wrote:
>
>>I have read in the DDK help that wdm.h should be used vice ntddk.h
>>And then when I took a look at the toaster function driver it used
>>ntddk.h
>>
>
>Ignore what you have read and use ntddk.h unless for some hideous
>reason you need to support win98.
>
>
>=====================
>Mark Roddy DDK MVP
>Windows Vista/2003/XP/2000 Consulting
>Device and Filesystem Drivers 
>Hollis Technology Solutions 603-321-1032
>www.hollistech.com
0
john
6/14/2006 3:20:14 PM
Reply:

Similar Artilces:

mshtml.h mshtmlc.h dimm.h dispex.h added
New version features those files. Many others missing? Just send me a list 0YfQtdGC0LLQtdGA0LMsIDEzINGB0LXQvdGC0Y/QsdGA0Y8gMjAxMsKg0LMuLCAyMjozMToxMyBV VEMrNCDQv9C+0LvRjNC30L7QstCw0YLQtdC70YwgamFjb2IgbmF2aWEg0L3QsNC/0LjRgdCw0Ls6 DQo+IE5ldyB2ZXJzaW9uIGZlYXR1cmVzIHRob3NlIGZpbGVzLiBNYW55IG90aGVycyBtaXNzaW5n PyBKdXN0IHNlbmQgbWUgYSBsaXN0DQoNCmlzIHdiZW1pZGwuaCBhZGRlZCB0b28/ ...

conflicting typedefs in winspool.h and win.h
Hello All, the following is typedef'd differently in winspool.h (unicode) and win.h (non-unicode): JOB_INFO_1; JOB_INFO_2; ADDJOB_INFO_1; DRIVER_INFO_1; DRIVER_INFO_2; DRIVER_INFO_3; DOC_INFO_1; FORM_INFO_1; DOC_INFO_2; PRINTPROCESSOR_INFO_1; PORT_INFO_1; PORT_INFO_2; MONITOR_INFO_1; MONITOR_INFO_2; DATATYPES_INFO_1; PRINTER_DEFAULTS; PROVIDOR_INFO_1; wouldn't it be better to have it defined only once or at least in the same manner? Or is this one of the unavoidable legacy Windows problems? Greetings, Oliver -- Oliver Betz, Muenchen ...

H monografia H
site Monografia express auxilia estudantes e profissionais na prepara��o de suas pesquisas. Temos uma equipe preparada para o desenvolvimento de monografias e projetos de monografia para a conclus�o de cursos de gradua��o, p�s-gradua��o e especializa��o. Tamb�m desenvolvemos a formata��o de monografias de acordo com as normas da ABNT (Associa��o Brasileira de Normas T�cnicas) ou conforme as regras de sua Faculdade/Universidade. Os servi�os s�o desenvolvidos por profissionais altamente capacitados...

Kernel Compilation Problem
Hi, I have SBC 104+ with installed White Dwarf Linux on it. I have installed all dev_tools properly as mentioned on site. I had written a simple Kernel init & cleanup module for device driver. My code is as follows: ----------------------------------------------------------------- #include <linux/kernel.h> #include <linux/module.h> int init_module(void) { printk(" Kernel Speaking...."); return 0; } void cleanup_module(void) { printk(" Kernel Gudbye...."); } ------------------------------------------------------...

Where's Wally ^H^H^H Tholen?
Oh, look! I've found Dickless Davie - http://www.livejournal.com/users/krautboy/243291.html He's with all his saucerhead friends. Half way down, still missing his penis. It even looks like him. And with all the fat chicks there, one of them has to be Sheila AKA Nightingale. Michael Baldwin Bruce wrote: > Oh, look! I've found Dickless Davie - > > http://www.livejournal.com/users/krautboy/243291.html > > He's with all his saucerhead friends. Half way down, still missing his > penis. It even looks like him. LOL! And the next geek down must be Dick. > ...

include/linux/kernel.h stdarg.h no such file or directory
Hello, I got the following error, when I was trying to do 'make' in madwifi folder. include/linux/kernel.h stdarg.h no such file or directory I tried to search stdarg.h file on my disk, however it was not present. The kernel used was: Linux 2.6.20-1.2320.fc5 Any suggestions? Thanks & with regards, Prakhar. ...

OT: Great! Another Raghead^H^H^H^H I mean "American" makes threats
http://abcnews.go.com/WNT/story?id=206661 What a joke. If he was really an American he might actually show his face, instead of hiding behind a tablecloth wrapped around his head, like all the other Muslim terrorists these days. ...

Pimp Bft^H^H^H your favourite game from 2010 here...
http://www.cyberstratege.com/magazine/blog/2010/12/01/lauriers-2010-vote-des-lecteurs/2/ Translation for the non-Quebec speakers: http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=fr&tl=en&u=http%3A%2F %2Fwww.cyberstratege.com%2Fmagazine%2Fblog%2F2010%2F12%2F01%2Flauriers-2010-vote-des-lecteurs%2F2%2F On 9 dec, 12:08, "Vincenzo Beretta" <reckallNOS...@hotmail.com> wrote: > http://www.cyberstratege.com/magazine/blog/2010/12/01/lauriers-2010-v... Already did that last week - forgot to post the l...

Pimp Bft^H^H^H your favourite game from 2010 here...
http://www.cyberstratege.com/magazine/blog/2010/12/01/lauriers-2010-vote-des-lecteurs/2/ Translation for the non-Quebec speakers: http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=fr&tl=en&u=http%3A%2F %2Fwww.cyberstratege.com%2Fmagazine%2Fblog%2F2010%2F12%2F01%2Flauriers-2010-vote-des-lecteurs%2F2%2F On 9 dec, 12:08, "Vincenzo Beretta" <reckallNOS...@hotmail.com> wrote: > http://www.cyberstratege.com/magazine/blog/2010/12/01/lauriers-2010-v... Already did that last week - forgot to post the l...

Conflicting typedef with winnt.h, windef.h and winbase.h
Hi While compiling my application that needs "windows.h" there are some typedef redefinition errors redefinition at winnt.h( line 207) typedef void *HANDLE redefinition at windef.h( line 143) typedef unsigned char BYTE redefinition at windef.h( line 141) typedef unsigned long DWORD #define INVALID_HANDLE_VALUE -1 redefinition at winbase.h(55) #define INVALID_HANDLE_VALUE (HANDLE)-1 The DLL that links to my application needs the following typedefs at the moment declared at my_include.h As stated in User Manual --> My Definition (working and handling data perfect but without ...

Replacing vga.h with zackvga.h to run vga.h functions
In October 2006 far too many Linuxes lack the easy to program for vga.h This zackvga.h is designed to replace vga.h and use XWindows to implement vga.h functions. end of header long comment */ // beginning of zackvga.h // copyright 2006 by Eric Matteson // Permission is granted to copy this source // code zackvga.h and to publish it on the Internet // and to use it at least for non profit use. // this header file requires wgslater.c to help // vga.h functions run on Linux XWindows // This zackvga.h for XWindows is written by // Hollywood scriptwriter Eric Matteson. // this is zackvga.hxw on fl...

And another XP SP3 Beta^H^H^H^HVista review
http://www.dailytechnobabble.com/2006/12/12/10-days-with-windows-vista-ultimate-edition/ Nothing we didn't know already, but worth mentioning all the same: "Windows Vista is by no means a small upgrade, but you won't find any major functionality features or groundbreaking technology that you can see. What you will find is lots (and I mean LOTS) of tiny changes and improvements that sometimes help but often confuse you if you are as accustomed to Windows XP as I was." So it's actually more like XP SP3 than a new OS - at least from the user's point of view....

Windows Screws Up UNIX and Linux by De^H^H^H^HGN
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Windows Newlines Will Kill Your Linux Scripts ,----[ Quote ] | What’s going on is that you really do have a | fatal error in your code, and it’s an error | that you can’t see. In fact, it’s invisible. | The error is that you have uploaded a file that | you created on a Windows machine. `---- http://hackingthevalley.com/2011/06/21/windows-newlines-will-kill-your-linux-scripts/ Cancer in your shell, cancer on the Web... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk4DDfQACgkQU4xAY3RXLo48cACdGI9aRcuc3vaJfmS+pp4...

The apocal^H^H^H World in Flames to be released in a couple of weeks
Hi, No, it's not April Fool's - the official word is that World in Flames will be released shortly Looking forward to the Road to Moscow announcement next month :) Greetz, Eddy Sterckx I, for one, will buy it. No, I'm not crazy, I simply loved the boardgame, and recently I'm re-discov= ering the pleasure of playing PBEM. Paradox SOMEHOW managed to bring HoI III in a playable state (no more the B= ismarck attacking Pearl Harbor *alone* - which is a pity IMHO). I admire th= eir effort, and some mods are really good, but we are still talking about a= game...

Web resources about - ntddk.h or wdm.h - comp.win.nt.kernel-mode

File Objects (Windows)
Dev Center - Desktop Dev Center Home Windows Store apps Internet Explorer Desktop Hardware Dashboard Get Started Design Develop Certify Sign ...

Resources
This paper identifies certain public imports exposed by public header files such as Wdm.h and Ntddk.h are considered obsolete, deprecated, unsupported, ...

WineHQ - Wine Announcement - The Wine development release 1.7.36 is now available.
Alexandre Julliard says... Search: WineHQ Wiki AppDB Bugzilla Forums Wine Announcement The Wine development release 1.7.36 is now available.What's ...

How to convert a KMDF driver to a UMDF 2.0 driver (and vice-versa) (Windows Drivers)
When switching from KMDF to UMDF, create an empty UMDF project in Visual Studio using the User Mode Driver, Empty (UMDF 2.0) project template. ...

WineHQ - Wine Announcement - The Wine development release 1.7.38 is now available.
Alexandre Julliard says... Search: WineHQ Wiki AppDB Bugzilla Forums Wine Announcement The Wine development release 1.7.38 is now available.What's ...

Resources last updated: 1/28/2016 9:12:17 AM