[ctypes-commit] ctypes/win32/com shelllink.py,1.2,1.2.4.1
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2005-05-18 07:05:04
|
Update of /cvsroot/ctypes/ctypes/win32/com In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2087 Modified Files: Tag: branch_1_0 shelllink.py Log Message: Corrected the argument types for IShellLink::GetIDList and IShellLink::SetIDList. Thanks to Jürgen Urner. Index: shelllink.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/win32/com/shelllink.py,v retrieving revision 1.2 retrieving revision 1.2.4.1 diff -C2 -d -r1.2 -r1.2.4.1 *** shelllink.py 20 Apr 2004 20:18:03 -0000 1.2 --- shelllink.py 18 May 2005 07:04:40 -0000 1.2.4.1 *************** *** 15,20 **** _methods_ = IUnknown._methods_ + [ STDMETHOD(HRESULT, "GetPath", LPSTR, c_int, POINTER(WIN32_FIND_DATAA), DWORD), ! STDMETHOD(HRESULT, "GetIDList", POINTER(ITEMIDLIST)), ! STDMETHOD(HRESULT, "SetIDList", POINTER(ITEMIDLIST)), STDMETHOD(HRESULT, "GetDescription", LPSTR, c_int), STDMETHOD(HRESULT, "SetDescription", LPCSTR), --- 15,20 ---- _methods_ = IUnknown._methods_ + [ STDMETHOD(HRESULT, "GetPath", LPSTR, c_int, POINTER(WIN32_FIND_DATAA), DWORD), ! STDMETHOD(HRESULT, "GetIDList", POINTER(POINTER(ITEMIDLIST))), ! STDMETHOD(HRESULT, "SetIDList", POINTER(POINTER(ITEMIDLIST))), STDMETHOD(HRESULT, "GetDescription", LPSTR, c_int), STDMETHOD(HRESULT, "SetDescription", LPCSTR), *************** *** 40,45 **** _methods_ = IUnknown._methods_ + [ STDMETHOD(HRESULT, "GetPath", LPWSTR, c_int, POINTER(WIN32_FIND_DATAA), DWORD), ! STDMETHOD(HRESULT, "GetIDList", POINTER(ITEMIDLIST)), ! STDMETHOD(HRESULT, "SetIDList", POINTER(ITEMIDLIST)), STDMETHOD(HRESULT, "GetDescription", LPWSTR, c_int), STDMETHOD(HRESULT, "SetDescription", LPCWSTR), --- 40,45 ---- _methods_ = IUnknown._methods_ + [ STDMETHOD(HRESULT, "GetPath", LPWSTR, c_int, POINTER(WIN32_FIND_DATAA), DWORD), ! STDMETHOD(HRESULT, "GetIDList", POINTER(POINTER(ITEMIDLIST))), ! STDMETHOD(HRESULT, "SetIDList", POINTER(POINTER(ITEMIDLIST))), STDMETHOD(HRESULT, "GetDescription", LPWSTR, c_int), STDMETHOD(HRESULT, "SetDescription", LPCWSTR), |