Don
Thu Aug 23 14:35:56 CDT 2007
Use DDK_INC_PATH this will point to inc\ddk for the given environment.
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website:
http://www.windrvr.com
Blog:
http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
"Raj" <Raj@discussions.microsoft.com> wrote in message
news:E81B5985-9102-439D-839E-8E405970C05B@microsoft.com...
>I am writing a dll which I compile along with my driver project. I need
>some
> security APIs in the dll which are defined in inc/ddk directory. when I
> compile in build environment, I have to give C:\winddk\6000\inc\ddk in
> include file path explicitly. My log file otherwise show include path
> only to
> .....inc\api path.
>
> Is there a macro to refer "C:\winddk\6000" directory.
>
> Thanks.
>
> "Don Burn" wrote:
>
>> You should not need one. If you use the build enviroments (or setenv)
>> the
>> system will look in the inc directory of the WDK on its own. You only
>> use
>> include directives for things outside of the normal WDK include
>> directories.
>>
>>
>> --
>> Don Burn (MVP, Windows DDK)
>> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>> Website:
http://www.windrvr.com
>> Blog:
http://msmvps.com/blogs/WinDrvr
>> Remove StopSpam to reply
>>
>> "Raj" <Raj@discussions.microsoft.com> wrote in message
>> news:899DA1BA-4913-46F2-9C49-EB401DD6411A@microsoft.com...
>> > What is the general way of setting up path for include files in
>> > SOURCES.
>> > I
>> > cannot use relative path because my workspace is in different drive
>> > than
>> > the
>> > WDK installation.
>> >
>> > My include directory is C:\winddk\6000\inc\ddk. I want some macro to
>> > define
>> > WDK directory c:\winddk\6000. I want a macro that will work even if
>> > new
>> > version come up like c:\winddk\7000.
>> >
>> > I didnot find anything like ddk-root-dir or base-directory.
>> >
>>
>>
>>