Tech Support > Microsoft Windows > Drivers > Link error using KsDispatchSpecificProperty
Link error using KsDispatchSpecificProperty
Posted by Cao.Andy@gmail.com on September 8th, 2005


How can I use the KsDispatchSpecificProperty:

when I use this function, I got link error:

mydriver.obj : error LNK2019: unresolved external symbol
__imp__KsDispatchSpecificProperty@8 referenced in function
_MyIoCtrlCompleteRoutine@12

I have add the ks.lib in the source file:
TARGETLIB=$(BASEDIR)\lib\*\$(DDKBUILDENV)\KS.lib

Posted by Tim Roberts on September 10th, 2005


"Cao.Andy@gmail.com" <Cao.Andy@gmail.com> wrote:

What version of the DDK are you using, and what kind of driver are you
building? That syntax hasn't been used in quite a while. With newer DDKs,
you say:

TARGETLIB=$(DDK_LIB_PATH)\ks.lib

But further, KsDispatchSpecificProperty would only be used with a kernel
streaming driver, and if you were writing one, you would have already been
using ks.lib.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Posted by Max Paklin on September 12th, 2005


Calling conversion doesn't seem to be right.

-- Max.



<Cao.Andy@gmail.com> wrote in message
news:1126171551.250985.278780@f14g2000cwb.googlegr oups.com...



Similar Posts