delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/19/00:01:11

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <3.0.6.32.20000118235959.007a4520@mail.dycon.com>
X-Sender: craigl AT mail DOT dycon DOT com
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32)
Date: Tue, 18 Jan 2000 23:59:59 -0500
To: cygwin AT sourceware DOT cygnus DOT com
From: Craig Lanning <CraigL AT DyCon DOT com>
Subject: Patch to Win32 API Headers
Cc: xemacs-beta AT xemacs DOT org, xemacs-nt AT xemacs DOT org
Mime-Version: 1.0

Below is a patch to the Win32 headers.

Craig Lanning

diff -up include-orig/commctrl.h include/commctrl.h
--- include-orig/commctrl.h	Fri Jan 14 00:37:52 2000
+++ include/commctrl.h	Tue Jan 18 21:32:20 2000
@@ -748,6 +748,11 @@ extern "C" {
 #define TCS_OWNERDRAWFIXED	0x2000
 #define TCS_TOOLTIPS	0x4000
 #define TCS_FOCUSNEVER	0x8000
+#if (_WIN32_IE >= 0x0300)
+#define TCS_BOTTOM 2
+#define TCS_RIGHT 2
+#define TCS_VERTICAL 128
+#endif
 #define TCIF_TEXT	1
 #define TCIF_IMAGE	2
 #define TCIF_RTLREADING	4

diff -up include-orig/shellapi.h include/shellapi.h
--- include-orig/shellapi.h	Fri Jan 14 00:38:20 2000
+++ include/shellapi.h	Tue Jan 18 21:53:50 2000
@@ -227,6 +227,7 @@ typedef SHFILEINFOW SHFILEINFO;
 #define ShellExecute ShellExecuteW
 #define ShellExecuteEx ShellExecuteExW
 #define SHFileOperation SHFileOperationW
+#define SHGetFileInfo SHGetFileInfoW
 #else
 typedef NOTIFYICONDATAA NOTIFYICONDATA,*PNOTIFYICONDATA;
 typedef SHELLEXECUTEINFOA SHELLEXECUTEINFO,*LPSHELLEXECUTEINFO;
@@ -242,6 +243,7 @@ typedef SHFILEINFOA SHFILEINFO;
 #define ShellExecute ShellExecuteA
 #define ShellExecuteEx ShellExecuteExA
 #define SHFileOperation SHFileOperationA
+#define SHGetFileInfo SHGetFileInfoA
 #endif
 #ifdef __cplusplus
 }

diff -up include-orig/winnls.h include/winnls.h
--- include-orig/winnls.h	Fri Jan 14 00:38:26 2000
+++ include/winnls.h	Tue Jan 18 21:51:50 2000
@@ -396,6 +396,7 @@ BOOL WINAPI IsValidCodePage(UINT);
 int WINAPI LCMapStringA(LCID,DWORD,LPCSTR,int,LPSTR,int);
 int WINAPI LCMapStringW(LCID,DWORD,LPCWSTR,int,LPWSTR,int);
 int WINAPI MultiByteToWideChar(UINT,DWORD,LPCSTR,int,LPWSTR,int);
+BOOL WINAPI IsValidLocale(LCID,DWORD);
 BOOL WINAPI SetLocaleInfoA(LCID,LCTYPE,LPCSTR);
 BOOL WINAPI SetLocaleInfoW(LCID,LCTYPE,LPCWSTR);
 BOOL WINAPI SetThreadLocale(LCID);


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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