Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Uwe Bonnes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 18 Jan 2000 23:34:39 +0100 (MET) To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Exposing new Kernel APIs X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14468.59858.418533.837614@gauss.local> Hallo again, thinking again, I did it myself. Checking with i386-mingxxxx-nm on libkernel32.a showed me that GetLongPathName was available. So I only had to add it to winbase.h and mingw compile my programm successfull. Patch appended ( also I guess it it already in Mumit's tree, nut perhaps helpfull for others). Bye Uwe Bonnes bon AT elektron DOT ikp DOT physik DOT tu-darmstadt DOT de Free Software: If you contribute nothing, expect nothing -- --- winbase.h~ Tue Dec 21 09:56:32 1999 +++ winbase.h Tue Jan 18 20:08:01 2000 @@ -1162,6 +1162,8 @@ BOOL WINAPI GetFileTime(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME); DWORD WINAPI GetFileType(HANDLE); #define GetFreeSpace(w) (0x100000L) +DWORD WINAPI GetLongPathNameA(LPCSTR,LPSTR,DWORD); +DWORD WINAPI GetLongPathNameW(LPCWSTR,LPWSTR,DWORD); DWORD WINAPI GetFullPathNameA(LPCSTR,DWORD,LPSTR,LPSTR*); DWORD WINAPI GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR*); BOOL WINAPI GetHandleInformation(HANDLE,PDWORD); @@ -1621,6 +1623,7 @@ #define GetFileAttributes GetFileAttributesW #define GetFileSecurity GetFileSecurityW #define GetFileAttributesEx GetFileAttributesExW +#define GetLongPathName GetLongPathNameW #define GetFullPathName GetFullPathNameW #define GetLogicalDriveStrings GetLogicalDriveStringsW #define GetModuleFileName GetModuleFileNameW @@ -1755,6 +1758,7 @@ #define GetFileAttributes GetFileAttributesA #define GetFileSecurity GetFileSecurityA #define GetFileAttributesEx GetFileAttributesExA +#define GetLongPathName GetLongPathNameA #define GetFullPathName GetFullPathNameA #define GetLogicalDriveStrings GetLogicalDriveStringsA #define GetNamedPipeHandleState GetNamedPipeHandleStateA -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com