public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Patch to Win32 API Headers
@ 2000-01-18 21:04 Craig Lanning
  2000-01-18 21:58 ` Mumit Khan
  0 siblings, 1 reply; 2+ messages in thread
From: Craig Lanning @ 2000-01-18 21:04 UTC (permalink / raw)
  To: cygwin; +Cc: xemacs-beta, xemacs-nt

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@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Patch to Win32 API Headers
  2000-01-18 21:04 Patch to Win32 API Headers Craig Lanning
@ 2000-01-18 21:58 ` Mumit Khan
  0 siblings, 0 replies; 2+ messages in thread
From: Mumit Khan @ 2000-01-18 21:58 UTC (permalink / raw)
  To: Craig Lanning; +Cc: cygwin

Craig Lanning <CraigL@DyCon.com> writes:
> Below is a patch to the Win32 headers.

Thanks. The SHGetFileInfo is already in my sources, and I've added the
rest. 

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-01-18 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-18 21:04 Patch to Win32 API Headers Craig Lanning
2000-01-18 21:58 ` Mumit Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).