[pywin32-checkins] pywin32/com/win32comext/ifilter/src stdafx.h, 1.1, 1.2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-02-10 23:51:24
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/ifilter/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31538/com/win32comext/ifilter/src Modified Files: stdafx.h Log Message: Give up in disgust trying to get IFilter to suck the 3 prototypes we need from the various SDKs etc, so just declare them ourselves. Index: stdafx.h =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/ifilter/src/stdafx.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** stdafx.h 22 Jun 2004 00:53:56 -0000 1.1 --- stdafx.h 10 Feb 2008 23:51:28 -0000 1.2 *************** *** 12,16 **** --- 12,36 ---- #include <Filter.h> #include <Filterr.h> + + #define MISSING_PROPSTG + #ifdef MISSING_PROPSTG + // Ack - NTQuery.h is failing with the Vista SDK - pull in what we need + // Problem is missing propstg.h, and all the work-arounds are uglier than + // just these 3 prototypes. + // See http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=508254&SiteID=1 + + STDAPI LoadIFilter( PCWSTR pwcsPath, + __in IUnknown * pUnkOuter, + __deref_out void ** ppIUnk ); + STDAPI BindIFilterFromStorage(__in IStorage * pStg, + __in IUnknown * pUnkOuter, + __deref_out void ** ppIUnk ); + + STDAPI BindIFilterFromStream(__in IStream * pStm, + __in IUnknown * pUnkOuter, + __deref_out void ** ppIUnk ); + #else #include <ntquery.h> + #endif #include <windows.h> |