diff options
author | Earnie Boyd <earnie@users.sf.net> | 2001-11-01 19:42:57 +0000 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2001-11-01 19:42:57 +0000 |
commit | 44506780d9bec36f13f3ee79958d1fc6d446d71f (patch) | |
tree | 48051fa44a5b1359d6c48f4c437d213b98a31861 /winsup/w32api/include/winuser.h | |
parent | 775f23011b964e1853935ba58131bfe6418204bc (diff) | |
download | cygnal-44506780d9bec36f13f3ee79958d1fc6d446d71f.tar.gz cygnal-44506780d9bec36f13f3ee79958d1fc6d446d71f.tar.bz2 cygnal-44506780d9bec36f13f3ee79958d1fc6d446d71f.zip |
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.h | 42 |
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 |