This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PathRelativePathTo() declarations


I have discovered a trivial error in the shlwapi.h Win32 API header
file. I'm not a Cygwin developer but have appended a patch to the
installed file.

John Dallaway
eCosCentric Limited

--cut here--

--- shlwapi.h.old       2002-11-25 20:21:02.000000000 +0000
+++ shlwapi.h   2003-02-03 12:44:08.000000000 +0000
@@ -262,12 +262,12 @@
 WINSHLWAPI BOOL WINAPI PathMatchSpecW(LPCWSTR,LPCWSTR);
 WINSHLWAPI int WINAPI PathParseIconLocationA(LPSTR);
 WINSHLWAPI int WINAPI PathParseIconLocationW(LPWSTR);
 WINSHLWAPI void WINAPI PathQuoteSpacesA(LPSTR);
 WINSHLWAPI void WINAPI PathQuoteSpacesW(LPWSTR);
-WINSHLWAPI BOOL WINAPI PathRelativePathToA(LPSTR,LPCSTR,DWORD,LPCWSTR,DWORD);
-WINSHLWAPI BOOL WINAPI PathRelativePathToW(LPWSTR,LPCWSTR,DWORD,LPCSTR,DWORD);
+WINSHLWAPI BOOL WINAPI PathRelativePathToA(LPSTR,LPCSTR,DWORD,LPCSTR,DWORD);
+WINSHLWAPI BOOL WINAPI PathRelativePathToW(LPWSTR,LPCWSTR,DWORD,LPCWSTR,DWORD);
 WINSHLWAPI void WINAPI PathRemoveArgsA(LPSTR);
 WINSHLWAPI void WINAPI PathRemoveArgsW(LPWSTR);
 WINSHLWAPI LPSTR WINAPI PathRemoveBackslashA(LPSTR);
 WINSHLWAPI LPWSTR WINAPI PathRemoveBackslashW(LPWSTR);
 WINSHLWAPI void WINAPI PathRemoveBlanksA(LPSTR);


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]