delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/04/04:31:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: John Dallaway <jld AT ecoscentric DOT com>
To: cygwin AT cygwin DOT com
Subject: PathRelativePathTo() declarations
Date: Tue, 4 Feb 2003 09:32:39 +0000
User-Agent: KMail/1.4.3
Organization: eCosCentric Limited
MIME-Version: 1.0
Message-Id: <200302040932.39955.jld@ecoscentric.com>

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019