From: bluestar on
On 1¤ë30¤é, ¤U¤È11®É15¤À, "Eliyas Yakub [MSFT]"
<eliyasy(a)online.discussion.microsoft.com> wrote:
> KMDF samples are part of Vista WDK. My guess is that you have a partial
> install of WDK. Get the WDK CD and do a complete install. Functionally this
> sample is equivalent to the WDM version of the sample.
>
> -Eliyas

Dear Eliyas:

I got it, but i found the files is different from files
written on README file(1394.htm)
(lack 1394vdev.c,1394vdev.h, and add 1394samp.c,1394samp.h)
I also found it has most differences between both(src\kmdf
\1394 and src\1394)
I already read src\1394 and Where places should i notice
between both?
(I found it does not use "IoBuildDeviceIoControlRequest" on
kmdf sample code)
If i would like to code one filter driver between SBP2port.sys
and OHCI1394.sys(SBP2port->filter->OHCI1394)
Which code i should follow???

This kmdf code is just only 1394-driver, not dll and ap,
right?
I try to compile it and show error below message:
Could you help me to compile successfully???

//---------------------------------------------------------------------
--------------------------------------------------//
BUILD: Examining d:\KMan\driver\ddk sample\kmdf_1394 directory tree
for files to compile.
BUILD: d:\KMan\driver\ddk sample\kmdf_1394\driver\1394diag\sources(0):
Unknown TARGETPATH value
BUILD: d:\KMan\driver\ddk sample\kmdf_1394\driver\1394vdev\sources(0):
Unknown TARGETPATH value
Compiling d:\KMan\driver\ddk sample\kmdf_1394\driver\1394diag
directory ********************
'nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1'
C:\WINDDK\3790~1.WIN\bin\makefile.new(1004) : U1050: Your .\sources.
file must define the TARGETPATH= macro
Stop.
BUILD: nmake.exe failed - rc = 2
Compiling d:\KMan\driver\ddk sample\kmdf_1394\driver\1394vdev
directory ********************
'nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1'
C:\WINDDK\3790~1.WIN\bin\makefile.new(1004) : U1050: Your .\sources.
file must define the TARGETPATH= macro
Stop.
BUILD: nmake.exe failed - rc = 2
Linking d:\KMan\driver\ddk sample\kmdf_1394\driver\1394diag directory
********************
'nmake.exe /c BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST=
386=1'
C:\WINDDK\3790~1.WIN\bin\makefile.new(1004) : U1050: Your .\sources.
file must define the TARGETPATH= macro
Stop.
BUILD: nmake.exe failed - rc = 2
Linking d:\KMan\driver\ddk sample\kmdf_1394\driver\1394vdev directory
********************
'nmake.exe /c BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST=
386=1'
C:\WINDDK\3790~1.WIN\bin\makefile.new(1004) : U1050: Your .\sources.
file must define the TARGETPATH= macro
Stop.
BUILD: nmake.exe failed - rc = 2