[pywin32-checkins] pywin32/com/win32comext/ifilter/src PyIFilter.cpp,1.3,1.4
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2005-02-28 00:09:46
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/ifilter/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16084 Modified Files: PyIFilter.cpp Log Message: Register query.dll as supplying all IFilter based error messages. Index: PyIFilter.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/ifilter/src/PyIFilter.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PyIFilter.cpp 25 Jan 2005 12:14:47 -0000 1.3 --- PyIFilter.cpp 28 Feb 2005 00:09:31 -0000 1.4 *************** *** 332,336 **** // Register all of our interfaces, gateways and IIDs. PyCom_RegisterExtensionSupport(dict, g_interfaceSupportData, sizeof(g_interfaceSupportData)/sizeof(PyCom_InterfaceSupportInfo)); ! // NOTE: New constants should go in ifiltercon.py // IFilter Init functions --- 332,343 ---- // Register all of our interfaces, gateways and IIDs. PyCom_RegisterExtensionSupport(dict, g_interfaceSupportData, sizeof(g_interfaceSupportData)/sizeof(PyCom_InterfaceSupportInfo)); ! ! // Tell pywintypes that IFilter error messages can be extracted from ! // query.dll ! HMODULE hmod = GetModuleHandle("query.dll"); ! if (hmod) ! // According to FiltErr.h, "Codes 0x1700-0x172F are reserved for FILTER" ! PyWin_RegisterErrorMessageModule(0x80041700, 0x8004172F, hmod); ! // NOTE: New constants should go in ifiltercon.py // IFilter Init functions |