Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2001-11-01 22:42:57 +0300
committerEarnie Boyd <earnie@users.sf.net>2001-11-01 22:42:57 +0300
commit44506780d9bec36f13f3ee79958d1fc6d446d71f (patch)
tree48051fa44a5b1359d6c48f4c437d213b98a31861 /winsup/w32api/include/winuser.h
parent775f23011b964e1853935ba58131bfe6418204bc (diff)
2001-11-01 Danny Smith <dannysmith@users.sourceforge.net>
* include/basetyps.h (DECLARE_INTERFACE): Don't add __attribute__((com_interface)) for __GNUC__ >= 3. 2001-11-01 Danny Smith <dannysmith@users.sourceforge.net> * include/commdlg.h (PRINTPAGERANGE): Add structure definition. (PRINTDLGEX[AW]): Likewise. (PrintDlgEx[AW]): Add function declaration. * lib/comdlg32.def (PrintDlgEx[AW]): Add function stubs. * ChangeLog: Fix typo in last entry. 2001-11-01 TAMURA Kent <tkent@users.sourceforge.net> * include/objbase.h (CoGetClassObject): Change third parameter to COSERVERINFO*. 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net> * include/winuser.h (MOUSEEVENTF_WHEEL): Define. Thanks to: Kim Saunders. * include/oleauto.h: Define VARIANT* flags for VariantChangeType. Thanks to: Pat Thoyts. * include/winnt.h: Change C++ style comment to C style. * include/shlobj.h: Ditto. * include/objbase.h (enum tagCOINIT): Remove comma at end of list. * include/oledlg.h (enum tagOLEUIPASTEFLAG): Ditto. * include/oleidl.h (enum tagDROPEFFECT): Mark as __extension__ (enum not limited to range of int). * include/oaidl.h (struct tagVARIANT): Mark as __extension__ (struct with no named members), ifndef NONAMELESSUNION. 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net> * include/winuser.h (CREATESTRUCT): UNICODE it. (CBT_CREATEWND): Likewise. 2001-10-20 Corinna Vinschen <corinna@vinschen.de> * include/winnetwk.h (WNetGetResourceInformationA): Add declaration. (WNetGetResourceInformationW): Ditto. (WNetGetResourceInformation): Add define. 2001-10-12 Pedro A Aranda <paaguti@hotmail.com> * include/winuser.h (POINTSTOPOINT): Use explicit casts before extracting words.
Diffstat (limited to 'winsup/w32api/include/winuser.h')
-rw-r--r--winsup/w32api/include/winuser.h42
1 files changed, 34 insertions, 8 deletions
diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h
index ddcdae1d0..26986ccd2 100644
--- a/winsup/w32api/include/winuser.h
+++ b/winsup/w32api/include/winuser.h
@@ -920,6 +920,7 @@ extern "C" {
#define MOUSEEVENTF_RIGHTUP 16
#define MOUSEEVENTF_MIDDLEDOWN 32
#define MOUSEEVENTF_MIDDLEUP 64
+#define MOUSEEVENTF_WHEEL 0x0800
#define MOUSEEVENTF_ABSOLUTE 32768
#define PM_NOREMOVE 0
#define PM_REMOVE 1
@@ -1887,7 +1888,7 @@ typedef struct tagANIMATIONINFO {
UINT cbSize;
int iMinAnimate;
} ANIMATIONINFO,*LPANIMATIONINFO;
-typedef struct tagCREATESTRUCT {
+typedef struct tagCREATESTRUCTA {
LPVOID lpCreateParams;
HINSTANCE hInstance;
HMENU hMenu;
@@ -1897,14 +1898,32 @@ typedef struct tagCREATESTRUCT {
int y;
int x;
LONG style;
- LPCTSTR lpszName;
- LPCTSTR lpszClass;
+ LPCSTR lpszName;
+ LPCSTR lpszClass;
DWORD dwExStyle;
-} CREATESTRUCT,*LPCREATESTRUCT;
-typedef struct tagCBT_CREATEWND {
- LPCREATESTRUCT lpcs;
+} CREATESTRUCTA,*LPCREATESTRUCTA;
+typedef struct tagCREATESTRUCTW {
+ LPVOID lpCreateParams;
+ HINSTANCE hInstance;
+ HMENU hMenu;
+ HWND hwndParent;
+ int cy;
+ int cx;
+ int y;
+ int x;
+ LONG style;
+ LPCWSTR lpszName;
+ LPCWSTR lpszClass;
+ DWORD dwExStyle;
+} CREATESTRUCTW,*LPCREATESTRUCTW;
+typedef struct tagCBT_CREATEWNDA {
+ LPCREATESTRUCTA lpcs;
+ HWND hwndInsertAfter;
+} CBT_CREATEWNDA, *LPCBT_CREATEWNDA;
+typedef struct tagCBT_CREATEWNDW {
+ LPCREATESTRUCTW lpcs;
HWND hwndInsertAfter;
-} CBT_CREATEWND;
+} CBT_CREATEWNDW, *LPCBT_CREATEWNDW;
typedef struct tagCBTACTIVATESTRUCT {
BOOL fMouse;
HWND hWndActive;
@@ -2442,7 +2461,10 @@ typedef struct tagSTYLESTRUCT {
#define MAKELPARAM(l,h) ((LPARAM)MAKELONG(l,h))
#define MAKEWPARAM(l,h) ((WPARAM)MAKELONG(l,h))
#define MAKELRESULT(l,h) ((LRESULT)MAKELONG(l,h))
-#define POINTSTOPOINT(p,ps) {(p).x=LOWORD(pts);(ps).y=HIWORD(ps);}
+#define POINTSTOPOINT(p,ps) { \
+ (p).x=LOWORD(*(DWORD *)&ps); \
+ (p).y=HIWORD(*(DWORD *)&ps); \
+}
#define POINTTOPOINTS(p) ((POINTS)MAKELONG((p).x,(p).y))
HKL WINAPI ActivateKeyboardLayout(HKL,UINT);
@@ -2985,6 +3007,8 @@ typedef ICONMETRICSW ICONMETRICS,*LPICONMETRICS;
typedef NONCLIENTMETRICSW NONCLIENTMETRICS,*LPNONCLIENTMETRICS;
typedef SERIALKEYSW SERIALKEYS,*LPSERIALKEYS;
typedef SOUNDSENTRYW SOUNDSENTRY,*LPSOUNDSENTRY;
+typedef CREATESTRUCTW CREATESTRUCT, *LPCREATESTRUCT;
+typedef CBT_CREATEWNDW CBT_CREATEWND, *LPCBT_CREATEWND;
typedef MDICREATESTRUCTW MDICREATESTRUCT,*LPMDICREATESTRUCT;
typedef MULTIKEYHELPW MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP;
#define AppendMenu AppendMenuW
@@ -3131,6 +3155,8 @@ typedef ICONMETRICSA ICONMETRICS,*LPICONMETRICS;
typedef NONCLIENTMETRICSA NONCLIENTMETRICS,*LPNONCLIENTMETRICS;
typedef SERIALKEYSA SERIALKEYS,*LPSERIALKEYS;
typedef SOUNDSENTRYA SOUNDSENTRY,*LPSOUNDSENTRY;
+typedef CREATESTRUCTA CREATESTRUCT, *LPCREATESTRUCT;
+typedef CBT_CREATEWNDA CBT_CREATEWND, *LPCBT_CREATEWND;
typedef MDICREATESTRUCTA MDICREATESTRUCT,*LPMDICREATESTRUCT;
typedef MULTIKEYHELPA MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP;
#define AppendMenu AppendMenuA