[PATCH] w32api [jld@ecoscentric.com: PathRelativePathTo() declarations]

Earnie Boyd earnie_boyd@yahoo.com
Thu Feb 6 21:13:00 GMT 2003


2003-02-04  Danny Smith  <dannysmith@users.sourceforge.net>

	* include/shlwapi.h (PathRelativePathTo[AW]): Correct
	prototypes.
	Thanks to: John Dallaway  <jld@ecoscentric.com>.

Thanks,
Earnie.


Christopher Faylor wrote:
> Danny,
> I don't know if you read the cygwin mailing list but just in case...
> 
> cgf
> 
> ----- Forwarded message from John Dallaway <jld@ecoscentric.com> -----
> 
> From: John Dallaway <jld@ecoscentric.com>
> To: cygwin@cygwin.com
> Subject: PathRelativePathTo() declarations
> Date: Tue, 4 Feb 2003 09:32:39 +0000
> Mail-Followup-To: cygwin@cygwin.com
> Organization: eCosCentric Limited
> 
> 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/
> 
> ----- End forwarded message -----
> 



More information about the Cygwin-patches mailing list