MiniFilter Target XPSP3 or >

What is the proper way to target XPSP3 or greater using the 6001.18002 DDK?

I have an XP build window and I have manually set NTDDI to XPSP3, but I am getting linking errors because the fltmgr.lib included in the DDK doesn’t know about the new functions added in XPSP3.

(I am trying to use FltCreateFileEx)

Thanks,
Matt

What is the proper way to target XPSP3 or greater using the 6001.18002 DDK?

I have an XP build window and I have manually set NTDDI to XPSP3, but I am
getting linking errors because the fltmgr.lib included in the DDK doesn’t
know about the new functions added in XPSP3.

(I am trying to use FltCreateFileEx)

[Ayush Gupta] You should use FltGetRoutineAddress to find out whether a
filter manager routine is present or not. If you get the address, use it as
a function pointer!

Regards,
Ayush Gupta

@Matt

From your description it looks like even conditional compilation will work for you. There is an OSR article on same.

http://www.osronline.com/article.cfm?article=201

Or else you have an option to use function pointers as already suggested.

Thanks,
Aditya