I am trying to compile a program using all functions found in the DDK with the
exception of DefineDosDevice, an SDK function. I was under the impression that
the DDK included these functions as well but when I try to compile I get errors
in the winbase.h header file where DefineDosDevice should be. Any suggestions?
Is there a way to include the SDK windows.h header for just one function? Any
help would be greatly appreciated.
Thank you in advance.
This message was sent using IMP, the Internet Messaging Program.
Hi,
What exactly are you trying to compile? A kernel mode
driver? Or a user mode application?
DefineDosDevice() is a usermode call.
Use it with user-mode applications.
-Manoj
— flick@cs.fsu.edu wrote:
I am trying to compile a program using all functions
found in the DDK with the
exception of DefineDosDevice, an SDK function. I was
under the impression that
the DDK included these functions as well but when I
try to compile I get errors
in the winbase.h header file where DefineDosDevice
should be. Any suggestions?
Is there a way to include the SDK windows.h header
for just one function? Any
help would be greatly appreciated.
Thank you in advance.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi,
If you are working with driver then I think IoCreateSymbolicLink would
be more appropriate instead of DefineDosDevice. Else for user mode
program I doubt there is any need to use DDK’s header files. What
functions you are using in application. Might be possible someone here
can suggest some better solution instead of using DDK functions.
Hope this helps.
Dev
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of flick@cs.fsu.edu
Sent: Monday, July 11, 2005 9:54 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Problem using DDK compiler with SDK functions
I am trying to compile a program using all functions found in the DDK
with the
exception of DefineDosDevice, an SDK function. I was under the
impression that
the DDK included these functions as well but when I try to compile I get
errors
in the winbase.h header file where DefineDosDevice should be. Any
suggestions?
Is there a way to include the SDK windows.h header for just one
function? Any
help would be greatly appreciated.
Thank you in advance.
This message was sent using IMP, the Internet Messaging Program.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@wipro.com
To unsubscribe send a blank email to xxxxx@lists.osr.com