+++ /dev/null
-/*
- * Button-class extra info
- *
- * Copyright 1994 Alexandre Julliard
- */
-
-#ifndef __WINE_BUTTON_H
-#define __WINE_BUTTON_H
-
-#include <windows.h>
-
- /* Extra info for BUTTON windows */
- /* Note: under MS-Windows, state is a BYTE and this structure is */
- /* only 3 bytes long. I don't think there are programs out there */
- /* broken enough to rely on this :-) */
-typedef struct
-{
- WORD state; /* Current state */
- HFONT hFont; /* Button font (or 0 for system font) */
-} BUTTONINFO;
-
- /* Button state values */
-#define BUTTON_UNCHECKED 0x00
-#define BUTTON_CHECKED 0x01
-#define BUTTON_3STATE 0x02
-#define BUTTON_HIGHLIGHTED 0x04
-#define BUTTON_HASFOCUS 0x08
-
-#define BUTTON_STATE(hwnd) ((WIN_FindWndPtr(hwnd))->wExtra[0])
-
-LRESULT WINAPI ButtonWndProc( HWND hWnd, UINT uMsg,
- WPARAM wParam, LPARAM lParam );
-
-#endif /* __WINE_BUTTON_H */
+++ /dev/null
-#ifndef __WINE_CARET_H
-#define __WINE_CARET_H
-
-
-#define DCX_USESTYLE 0x00010000
-
-typedef struct
-{
- HWND hwnd;
- UINT hidden;
- WINBOOL on;
- INT x;
- INT y;
- INT width;
- INT height;
- HBRUSH hBrush;
- UINT timeout;
- UINT timerid;
-} CARET;
-
-typedef enum
-{
- CARET_OFF = 0,
- CARET_ON,
- CARET_TOGGLE,
-} DISPLAY_CARET;
-
-HWND CARET_GetHwnd(void);
-void CARET_GetRect(LPRECT lprc); /* windows/caret.c */
-void CARET_DisplayCaret( DISPLAY_CARET status );
-//VOID CALLBACK CARET_Callback( HWND hwnd, UINT msg, UINT id, DWORD ctime);
-void CARET_SetTimer(void);
-void CARET_ResetTimer(void);
-void CARET_KillTimer(void);
-
-
-#endif
\ No newline at end of file
+++ /dev/null
-/*
- * Window classes definitions
- *
- * Copyright 1993 Alexandre Julliard
- */
-
-#ifndef __WINE_CLASS_H
-#define __WINE_CLASS_H
-
-#include <windows.h>
-#include <user32/winproc.h>
-#include <user32/dce.h>
-
-#define MAX_CLASSNAME 255
-
-
-#define CLASS_MAGIC ('C' | ('L' << 8) | ('A' << 16) | ('S' << 24))
-
-
-
-
-typedef struct tagCLASS
-{
- struct tagCLASS *next; /* Next class */
- UINT magic; /* Magic number */
- UINT cWindows; /* Count of existing windows */
- UINT style; /* Class style */
- WNDPROC winproc; /* Window procedure */
- INT cbClsExtra; /* Class extra bytes */
- INT cbWndExtra; /* Window extra bytes */
- void * menuName; /* Menu name */
- struct tagDCE *dce; /* Class DCE (if CS_CLASSDC) */
- HINSTANCE hInstance; /* Module that created the task */
- HICON hIcon; /* Default icon */
- HICON hIconSm; /* Default small icon */
- HCURSOR hCursor; /* Default cursor */
- HBRUSH hbrBackground; /* Default background */
- ATOM atomName; /* Name of the class */
- void * className; /* Class name (Unicode) */
- WINBOOL bUnicode; /* Unicode or Ascii window */
- LONG wExtra[1]; /* Class extra bytes */
-} CLASS;
-
-CLASS *CLASS_FindClassByAtom( ATOM classAtom, HINSTANCE hInstance );
-WINBOOL CLASS_FreeClass(CLASS *classPtr);
-
-#endif /* __WINE_CLASS_H */
+++ /dev/null
-/*
- * Combo box definitions
- */
-
-#ifndef __WINE_COMBO_H
-#define __WINE_COMBO_H
-
-#define ID_CB_LISTBOX 1000
-#define ID_CB_EDIT 1001
-
-/* Internal flags */
-
-#define CBF_DROPPED 0x0001
-#define CBF_BUTTONDOWN 0x0002
-#define CBF_NOROLLUP 0x0004
-#define CBF_MEASUREITEM 0x0008
-#define CBF_FOCUSED 0x0010
-#define CBF_CAPTURE 0x0020
-#define CBF_EDIT 0x0040
-#define CBF_NORESIZE 0x0080
-#define CBF_NOTIFY 0x0100
-#define CBF_NOREDRAW 0x0200
-#define CBF_SELCHANGE 0x0400
-#define CBF_EUI 0x8000
-
-
-#define LB_CARETON 0x01a3
-#define LB_CARETOFF 0x01a4
-
-
-/* Combo state struct */
-
-typedef struct
-{
- WND* self;
- HWND owner;
- UINT dwStyle;
- HWND hWndEdit;
- HWND hWndLBox;
- UINT wState;
- HFONT hFont;
- RECT RectCombo;
- RECT RectEdit;
- RECT RectButton;
- INT droppedWidth; /* last two are not used unless set */
- INT editHeight; /* explicitly */
-} HEADCOMBO,*LPHEADCOMBO;
-
-typedef DELETEITEMSTRUCT* LPDELETEITEMSTRUCT;
-
-typedef COMPAREITEMSTRUCT* LPCOMPAREITEMSTRUCT;
-
-/* Combo box message return values */
-#define CB_OKAY 0
-#define CB_ERR (-1)
-#define CB_ERRSPACE (-2)
-
-
-/*
- * Note, that CBS_DROPDOWNLIST style is actually (CBS_SIMPLE | CBS_DROPDOWN)!
- */
-
-#define CB_GETTYPE( lphc ) ((lphc)->dwStyle & (CBS_DROPDOWNLIST))
-#define CB_DISABLED( lphc ) ((lphc)->self->dwStyle & WS_DISABLED)
-#define CB_OWNERDRAWN( lphc ) ((lphc)->dwStyle & (CBS_OWNERDRAWFIXED | CBS_OWNERDRAWVARIABLE))
-#define CB_HASSTRINGS( lphc ) ((lphc)->dwStyle & CBS_HASSTRINGS)
-#define CB_HWND( lphc ) ((lphc)->self->hwndSelf)
-
-WINBOOL COMBO_FlipListbox( LPHEADCOMBO, WINBOOL );
-HWND COMBO_GetLBWindow( WND* );
-LRESULT COMBO_Directory( LPHEADCOMBO, UINT, LPSTR, WINBOOL );
-
-#endif /* __WINE_COMBO_H */
-
+++ /dev/null
-/*
- * USER DCE definitions
- *
- * Copyright 1993 Alexandre Julliard
- */
-
-#ifndef __WINE_DCE_H
-#define __WINE_DCE_H
-
-#include <windows.h>
-
-struct tagWND;
-/* additional DCX flags
- */
-
-#define DCX_NORESETATTR 0x00000004
-#define DCX_EXCLUDEUPDATE 0x00000100
-#define DCX_INTERSECTUPDATE 0x00000200
-//#define DCX_LOCKWINDOWUPDATE 0x00000400
-#define DCX_NORECOMPUTE 0x00100000
-//#define DCX_VALIDATE 0x00200000
-
-#define DCX_DCEEMPTY 0x00000800
-#define DCX_DCEBUSY 0x00001000
-#define DCX_DCEDIRTY 0x00002000
-#define DCX_WINDOWPAINT 0x00020000
-#define DCX_KEEPCLIPRGN 0x00040000
-#define DCX_NOCLIPCHILDREN 0x00080000
-
-#define DCX_USESTYLE 0x00010000
-
-typedef enum
-{
- DCE_CACHE_DC, /* This is a cached DC (allocated by USER) */
- DCE_CLASS_DC, /* This is a class DC (style CS_CLASSDC) */
- DCE_WINDOW_DC /* This is a window DC (style CS_OWNDC) */
-} DCE_TYPE;
-
-
-typedef struct tagDCE
-{
- struct tagDCE *next;
- HDC hDC;
- HWND hwndCurrent;
- HWND hwndDC;
- HRGN hClipRgn;
- DCE_TYPE type;
- DWORD DCXflags;
-} DCE;
-
-
-void DCE_Init(void);
-DCE* DCE_AllocDCE( struct tagWND * wndPtr, DCE_TYPE type );
-DCE* DCE_FreeDCE( DCE *dce );
-void DCE_FreeWindowDCE( struct tagWND* );
-INT DCE_ExcludeRgn( HDC, struct tagWND*, HRGN );
-HRGN DCE_GetVisRgn( HWND, WORD );
-WINBOOL DCE_InvalidateDCE( struct tagWND *, const RECT* );
-
-#endif /* __WINE_DCE_H */
+++ /dev/null
-#ifndef DEBUG_H
-#define DEBUG_H
- #include <stdio.h>
- //#define DPRINT printf
- #define DPRINT(args...)
-#endif
\ No newline at end of file
+++ /dev/null
-#ifndef __WINE_DEFWND_H
-#define __WINE_DEFWND_H
-
-void DEFWND_SetText( WND *wndPtr, const void *text );
-void DEFWND_SetTextA( WND *wndPtr, LPCSTR text );
-void DEFWND_SetTextW( WND *wndPtr, LPCWSTR text );
-
-#endif
\ No newline at end of file
+++ /dev/null
-#ifndef __WINE_DIALOG_H
-#define __WINE_DIALOG_H
-
-#include <windows.h>
-#include <user32/winproc.h>
-
- /* Dialog info structure.
- * This structure is stored into the window extra bytes (cbWndExtra).
- * sizeof(DIALOGINFO) must be <= DLGWINDOWEXTRA (=30).
- */
-
-
-typedef struct
-{
- INT msgResult; /* +00 Last message result */
- DLGPROC dlgProc; /* +04 Dialog procedure */
- LONG userInfo; /* +08 User information (for DWL_USER) */
-
- /* implementation-dependent part */
-
- HWND hwndFocus; /* Current control with focus */
- HFONT hUserFont; /* Dialog font */
- HMENU hMenu; /* Dialog menu */
- UINT xBaseUnit; /* Dialog units (depends on the font) */
- UINT yBaseUnit;
- INT idResult; /* EndDialog() result / default pushbutton ID */
- UINT flags; /* EndDialog() called for this dialog */
- HGLOBAL hDialogHeap;
-} DIALOGINFO;
-
-
- /* Dialog control information */
-typedef struct
-{
- DWORD style;
- DWORD exStyle;
- DWORD helpId;
- INT x;
- INT y;
- INT cx;
- INT cy;
- UINT id;
- LPCSTR className;
- LPCSTR windowName;
- LPVOID data;
-} DLG_CONTROL_INFO;
-
- /* Dialog template */
-typedef struct
-{
- DWORD style;
- DWORD exStyle;
- DWORD helpId;
- UINT nbItems;
- INT x;
- INT y;
- INT cx;
- INT cy;
- LPCSTR menuName;
- LPCSTR className;
- LPCSTR caption;
- WORD pointSize;
- WORD weight;
- WINBOOL italic;
- LPCSTR faceName;
- WINBOOL dialogEx;
-} DLG_TEMPLATE;
-
-
-typedef struct {
- WORD dlgVer;
- WORD signature;
- DWORD helpID;
- DWORD exStyle;
- DWORD style;
- WORD cDlgItems;
- short x;
- short y;
- short cx;
- short cy;
- void *menu;
- void *windowClass;
- WCHAR title[0];
- short pointsize;
- short weight;
- short bItalic;
- WCHAR font[0];
-} DLGTEMPLATEEX, *LPDLGTEMPLATEEX, *LPCDLGTEMPLATEEX;
-
-typedef struct {
- DWORD helpID;
- DWORD exStyle;
- DWORD style;
- short x;
- short y;
- short cx;
- short cy;
- WORD id;
- void *windowClass;
- void *title;
- WORD extraCount;
-} DLGITEMTEMPLATEEX, *LPDLGITEMTEMPLATEEX, *LPCDLGITEMTEMPLATEEX;
-
-
-
-typedef const DLGITEMTEMPLATE * LPCDLGITEMTEMPLATE;
-
- /* Dialog base units */
-extern WORD xBaseUnit, yBaseUnit;
-
-#define DF_END 0x0001
-#define DF_ENDING 0x0002
-
-HWND DIALOG_CreateIndirect( HINSTANCE hInst, void *dlgTemplate, HWND owner,
- DLGPROC dlgProc, LPARAM param,
- WINBOOL bUnicode );
-
-WINBOOL DIALOG_IsDialogMessage( HWND hwnd, HWND hwndDlg,
- UINT message, WPARAM wParam,
- LPARAM lParam, WINBOOL *translate,
- WINBOOL *dispatch, INT dlgCode );
-
-
-WINBOOL DIALOG_Init(void);
-
-INT DIALOG_DoDialogBox( HWND hwnd, HWND owner );
-
-#endif /* __WINE_DIALOG_H */
-
-
-
+++ /dev/null
-
-int lstrcpynWtoA( LPSTR ptr1, LPWSTR ptr2, int n );
-int lstrcpynAtoW( LPWSTR ptr1, LPSTR ptr2, int n );
-int lstrcpyWtoA( LPSTR ptr1, LPWSTR ptr2 );
-int lstrcpyAtoW( LPWSTR ptr1, LPSTR ptr2 );
-int lpstrncpyA( LPSTR ptr1,LPSTR ptr2, int nMaxCount);
-int lpstrncpyW( LPWSTR ptr1,LPWSTR ptr2, int nMaxCount);
-LPVOID HEAP_strdupAtoW(HANDLE hHeap,DWORD dwFlags, LPCSTR lpszAsciiString );
-LPVOID HEAP_strdupWtoA(HANDLE hHeap,DWORD dwFlags, LPCWSTR lpszUnicodeString );
-LPSTR HEAP_strdupA(HANDLE hHeap,DWORD dwFlags, LPCSTR ptr);
-LPWSTR HEAP_strdupW(HANDLE hHeap,DWORD dwFlags, LPCWSTR ptr);
-int HEAP_memset( void *d,int c ,int count);
\ No newline at end of file
+++ /dev/null
-/*
- * Windows hook definitions
- *
- * Copyright 1994 Alexandre Julliard
- */
-
-#ifndef __WINE_HOOK_H
-#define __WINE_HOOK_H
-
-#include <windows.h>
-
-#define HOOK_WINA 0x01
-#define HOOK_WINW 0x02
-#define HOOK_WIN32A 0x01
-#define HOOK_WIN32W 0x02
-#define HOOK_INUSE 0x80
-
-#define HQUEUE HANDLE
-/* hook type mask */
-#define HOOK_MAPTYPE (HOOK_WIN32A | HOOK_WIN32W)
-
-
-#define HOOK_MAGIC ((int)'H' | (int)'K' << 8) /* 'HK' */
-
-/***** Window hooks *****/
-
- /* Hook values */
-#define WH_MIN (-1)
-#define WH_MAX 12
-
-#define WH_MINHOOK WH_MIN
-#define WH_MAXHOOK WH_MAX
-#define WH_NB_HOOKS (WH_MAXHOOK-WH_MINHOOK+1)
-
-
- /* Hook data (pointed to by a HHOOK) */
-typedef struct
-{
- HANDLE next; /* 00 Next hook in chain */
- HOOKPROC proc; /* 02 Hook procedure */
- INT id; /* 06 Hook id (WH_xxx) */
- HQUEUE ownerQueue; /* 08 Owner queue (0 for system hook) */
- HMODULE ownerModule; /* 0a Owner module */
- WORD flags; /* 0c flags */
-} HOOKDATA;
-
-HANDLE HOOK_SetHook( INT id, LPVOID proc, INT type,
- HINSTANCE hInst, DWORD dwThreadId );
-
-WINBOOL HOOK_RemoveHook( HANDLE hook );
-
-WINBOOL HOOK_IsHooked( INT id );
-
-LRESULT HOOK_CallHooks( INT id, INT code, WPARAM wParam,
- LPARAM lParam ,WINBOOL bUnicode);
-
-LRESULT HOOK_CallHooksA( INT id, INT code, WPARAM wParam,
- LPARAM lParam );
-LRESULT HOOK_CallHooksW( INT id, INT code, WPARAM wParam,
- LPARAM lParam );
-
-LRESULT HOOK_CallHook( HHOOK hook, INT fromtype, INT code,
- WPARAM wParam, LPARAM lParam );
-
-HANDLE HOOK_GetNextHook( HHOOK hook );
-
-void HOOK_FreeModuleHooks( HMODULE hModule );
-void HOOK_FreeQueueHooks( HQUEUE hQueue );
-void HOOK_ResetQueueHooks( HQUEUE hQueue );
-HOOKPROC HOOK_GetProc( HHOOK hook );
-
-#endif /* __WINE_HOOK_H */
+++ /dev/null
-/* MDI.H
- *
- * Copyright 1994, Bob Amstadt
- * 1995 Alex Korobka
- *
- * MDI structure definitions.
- */
-
-#ifndef __WINE_MDI_H
-#define __WINE_MDI_H
-
-#include <windows.h>
-
-#define MDI_MAXLISTLENGTH 0x40
-#define MDI_MAXTITLELENGTH 0xA1
-
-#define MDI_NOFRAMEREPAINT 0
-#define MDI_REPAINTFRAMENOW 1
-#define MDI_REPAINTFRAME 2
-
-#define WM_MDICALCCHILDSCROLL 0x10AC /* this is exactly what Windows uses */
-
-LRESULT WINAPI MDIClientWndProc( HWND hwnd, UINT message,
- WPARAM wParam, LPARAM lParam );
-
-typedef struct
-{
- UINT nActiveChildren;
- HWND hwndChildMaximized;
- HWND hwndActiveChild;
- HMENU hWindowMenu;
- UINT idFirstChild;
- LPSTR frameTitle;
- UINT nTotalCreated;
- UINT mdiFlags;
- UINT sbRecalc; /* SB_xxx flags for scrollbar fixup */
- HWND self;
-} MDICLIENTINFO;
-
-extern HWND MDI_CreateMDIWindowA(LPCSTR,LPCSTR,DWORD,INT,INT,
- INT,INT,HWND,HINSTANCE,LPARAM);
-extern HWND MDI_CreateMDIWindowW(LPCWSTR,LPCWSTR,DWORD,INT,INT,
- INT,INT,HWND,HINSTANCE,LPARAM);
-#endif /* __WINE_MDI_H */
-
+++ /dev/null
-/*
- * Menu definitions
- */
-
-#ifndef __WINE_MENU_H
-#define __WINE_MENU_H
-
-#include <user32/win.h>
-#include <user32/queue.h>
-#include <user32/nc.h>
-
-#define PUT_WORD(ptr,w) (*(WORD *)(ptr) = (w))
-#define GET_WORD(ptr) (*(WORD *)(ptr))
-#define PUT_DWORD(ptr,dw) (*(DWORD *)(ptr) = (dw))
-#define GET_DWORD(ptr) (*(DWORD *)(ptr))
-
-
-#define WM_NEXTMENU 0x0213
-
-#define MF_INSERT 0x0000
-#define MF_CHANGE 0x0080
-#define MF_APPEND 0x0100
-#define MF_DELETE 0x0200
-#define MF_REMOVE 0x1000
-#define MF_END 0x0080
-
-/* internal popup menu window messages */
-
-#define MM_SETMENUHANDLE (WM_USER + 0)
-#define MM_GETMENUHANDLE (WM_USER + 1)
-
-extern WND* pTopPopupWnd;
-extern UINT uSubPWndLevel;
-
-
-/* Menu item structure */
-typedef struct {
- /* ----------- MENUITEMINFO Stuff ----------- */
- UINT fType; /* Item type. */
- UINT fState; /* Item state. */
- UINT wID; /* Item id. */
- HMENU hSubMenu; /* Pop-up menu. */
- HBITMAP hCheckBit; /* Bitmap when checked. */
- HBITMAP hUnCheckBit; /* Bitmap when unchecked. */
- LPWSTR text; /* Item text or bitmap handle. */
- DWORD dwItemData; /* Application defined. */
- /* ----------- Wine stuff ----------- */
- RECT rect; /* Item area (relative to menu window) */
- UINT xTab; /* X position of text after Tab */
-} MENUITEM;
-
-/* Popup menu structure */
-typedef struct {
- WORD wFlags; /* Menu flags (MF_POPUP, MF_SYSMENU) */
- WORD wMagic; /* Magic number */
- HQUEUE hTaskQ; /* Task queue for this menu */
- WORD Width; /* Width of the whole menu */
- WORD Height; /* Height of the whole menu */
- WORD nItems; /* Number of items in the menu */
- HWND hWnd; /* Window containing the menu */
- MENUITEM *items; /* Array of menu items */
- UINT FocusedItem; /* Currently focused item */
- WORD defitem; /* default item position. */
- DWORD dwContextHelpId; /* Context help id */
-} POPUPMENU, *LPPOPUPMENU;
-
-/* internal flags for menu tracking */
-
-#define TF_ENDMENU 0x0001
-#define TF_SUSPENDPOPUP 0x0002
-#define TF_SKIPREMOVE 0x0004
-
-typedef struct
-{
- UINT trackFlags;
- HMENU hCurrentMenu; /* current submenu (can be equal to hTopMenu)*/
- HMENU hTopMenu; /* initial menu */
- HWND hOwnerWnd; /* where notifications are sent */
- POINT pt;
-} MTRACKER;
-
-#define MENU_MAGIC 0x554d /* 'MU' */
-#define IS_A_MENU(pmenu) ((pmenu) && (pmenu)->wMagic == MENU_MAGIC)
-
-#define ITEM_PREV -1
-#define ITEM_NEXT 1
-
- /* Internal MENU_TrackMenu() flags */
-#define TPM_INTERNAL 0xF0000000
-#define TPM_ENTERIDLEEX 0x80000000 /* set owner window for WM_ENTERIDLE */
-#define TPM_BUTTONDOWN 0x40000000 /* menu was clicked before tracking */
-
- /* popup menu shade thickness */
-#define POPUP_XSHADE 4
-#define POPUP_YSHADE 4
-
- /* Space between 2 menu bar items */
-#define MENU_BAR_ITEMS_SPACE 12
-
- /* Minimum width of a tab character */
-#define MENU_TAB_SPACE 8
-
- /* Height of a separator item */
-#define SEPARATOR_HEIGHT 5
-
- /* (other menu->FocusedItem values give the position of the focused item) */
-#define NO_SELECTED_ITEM 0xffff
-
-#define MENU_ITEM_TYPE(flags) \
- ((flags) & (MF_STRING | MF_BITMAP | MF_OWNERDRAW | MF_SEPARATOR))
-
-#define IS_STRING_ITEM(flags) (MENU_ITEM_TYPE ((flags)) == MF_STRING)
-
-#define IS_SYSTEM_MENU(menu) \
- (!((menu)->wFlags & MF_POPUP) && (menu)->wFlags & MF_SYSMENU)
-#define IS_SYSTEM_POPUP(menu) \
- ((menu)->wFlags & MF_POPUP && (menu)->wFlags & MF_SYSMENU)
-
-#define TYPE_MASK (MFT_STRING | MFT_BITMAP | MFT_OWNERDRAW | MFT_SEPARATOR | \
- MFT_MENUBARBREAK | MFT_MENUBREAK | MFT_RADIOCHECK | \
- MFT_RIGHTORDER | MFT_RIGHTJUSTIFY | \
- MF_POPUP | MF_SYSMENU | MF_HELP)
-#define STATE_MASK (~TYPE_MASK)
-
-extern HMENU MENU_DefSysPopup;
-
-WINBOOL MENU_Init(void);
-HMENU MENU_GetSysMenu(HWND hWndOwner, HMENU hSysPopup);
-UINT MENU_GetMenuBarHeight( HWND hwnd, UINT menubarWidth,
- INT orgX, INT orgY );
-BOOL MENU_PatchResidentPopup( HQUEUE, WND* );
-void MENU_TrackMouseMenuBar( WND *wnd, INT ht, POINT pt );
-void MENU_TrackKbdMenuBar( WND *wnd, UINT wParam, INT vkey );
-UINT MENU_DrawMenuBar( HDC hDC, LPRECT lprect,
- HWND hwnd, WINBOOL suppress_draw );
-WINBOOL MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y,
- HWND hwnd, const RECT *lprect );
-
-WINBOOL MENU_ButtonUp( MTRACKER* pmt, HMENU hPtMenu );
-WINBOOL MENU_MouseMove( MTRACKER* pmt, HMENU hPtMenu );
-LRESULT MENU_DoNextMenu( MTRACKER* pmt, UINT vk );
-void MENU_KeyLeft( MTRACKER* pmt );
-void MENU_KeyRight( MTRACKER* pmt );
-WINBOOL MENU_InitTracking(HWND hWnd, HMENU hMenu);
-void MENU_TrackMouseMenuBar( WND* wndPtr, INT ht, POINT pt );
-
-WINBOOL MENU_ShowPopup( HWND hwndOwner, HMENU hmenu, UINT id,
- INT x, INT y, INT xanchor, INT yanchor );
-void MENU_DrawPopupMenu( HWND hwnd, HDC hdc, HMENU hmenu );
-UINT MENU_DrawMenuBar( HDC hDC, LPRECT lprect, HWND hwnd,
- WINBOOL suppress_draw);
-MENUITEM *MENU_FindItem( HMENU *hmenu, UINT *nPos, UINT wFlags );
-
-void MENU_MenuBarCalcSize( HDC hdc, LPRECT lprect,
- LPPOPUPMENU lppop, HWND hwndOwner );
-
-void MENU_CalcItemSize( HDC hdc, MENUITEM *lpitem, HWND hwndOwner,
- INT orgX, INT orgY, WINBOOL menuBar );
-
-void MENU_HideSubPopups( HWND hwndOwner, HMENU hmenu,
- WINBOOL sendMenuSelect );
-
-void MENU_SelectItem( HWND hwndOwner, HMENU hmenu, UINT wIndex,
- WINBOOL sendMenuSelect );
-
-MENUITEM *MENU_InsertItem( HMENU hMenu, UINT pos, UINT flags );
-
-WINBOOL MENU_SetItemData( MENUITEM *item, UINT flags, UINT id,
- LPCWSTR str );
-
-void MENU_FreeItemData( MENUITEM* item );
-
-HMENU MENU_CopySysPopup(void);
-
-
-#endif /* __WINE_MENU_H */
+++ /dev/null
-/*
- * Message definitions
- *
- * Copyright 1993 Alexandre Julliard
- */
-
-#ifndef __WINE_MESSAGE_H
-#define __WINE_MESSAGE_H
-
-#include <user32/win.h>
-#include <user32/queue.h>
-
-#define MAX_QUEUE_SIZE 256
-
-extern WINBOOL MouseButtonsStates[3];
-extern WINBOOL AsyncMouseButtonsStates[3];
-extern BYTE InputKeyStateTable[256];
-extern BYTE QueueKeyStateTable[256];
-extern BYTE AsyncKeyStateTable[256];
-
-#define WM_NCMOUSEFIRST WM_NCMOUSEMOVE
-#define WM_NCMOUSELAST WM_NCMBUTTONDBLCLK
-
-typedef enum { SYSQ_MSG_ABANDON, SYSQ_MSG_SKIP,
- SYSQ_MSG_ACCEPT, SYSQ_MSG_CONTINUE } SYSQ_STATUS;
-
-extern MESSAGEQUEUE *pCursorQueue; /* queue.c */
-extern MESSAGEQUEUE *pActiveQueue;
-
-
-/* message.c */
-WINBOOL MSG_InternalGetMessage( MSG *msg, HWND hwnd,
- HWND hwndOwner, WPARAM code,
- WORD flags, WINBOOL sendIdle );
-
-WINBOOL MSG_PeekMessage( LPMSG msg, HWND hwnd, WORD first, WORD last,
- WORD flags, WINBOOL peek );
-
-void MSG_CallWndProcHook( LPMSG pmsg, WINBOOL bUnicode );
-
-LRESULT MSG_SendMessage( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam,
- WINBOOL bUnicode );
-
-
-#endif /* __WINE_MESSAGE_H */
+++ /dev/null
-
-#ifndef __WINE_MSG_H
-#define __WINE_MSG_H
-
-
-
-#define WM_SYSTIMER 0x0118
-
-#define WH_HARDWARE 8
-
-
-#include <user32/win.h>
-#include <user32/queue.h>
-#include <user32/sysmetr.h>
-#include <user32/debug.h>
-
-typedef struct
-{
- HWND hWnd;
- UINT wMessage;
- WPARAM wParam;
- LPARAM lParam;
-} HARDWAREHOOKSTRUCT, *LPHARDWAREHOOKSTRUCT;
-
-
-
-#define MAX_QUEUE_SIZE 256
-
-extern WINBOOL MouseButtonsStates[3];
-extern WINBOOL AsyncMouseButtonsStates[3];
-extern BYTE InputKeyStateTable[256];
-extern BYTE QueueKeyStateTable[256];
-extern BYTE AsyncKeyStateTable[256];
-
-#define WM_NCMOUSEFIRST WM_NCMOUSEMOVE
-#define WM_NCMOUSELAST WM_NCMBUTTONDBLCLK
-
-typedef enum { SYSQ_MSG_ABANDON, SYSQ_MSG_SKIP,
- SYSQ_MSG_ACCEPT, SYSQ_MSG_CONTINUE } SYSQ_STATUS;
-
-extern MESSAGEQUEUE *pCursorQueue; /* queue.c */
-extern MESSAGEQUEUE *pActiveQueue;
-
-
-/* message.c */
-WINBOOL MSG_InternalGetMessage( MSG *msg, HWND hwnd,
- HWND hwndOwner, WPARAM code,
- WORD flags, WINBOOL sendIdle );
-
-WINBOOL MSG_PeekMessage( LPMSG msg, HWND hwnd, WORD first, WORD last,
- WORD flags, WINBOOL peek );
-
-void MSG_CallWndProcHook( LPMSG pmsg, WINBOOL bUnicode );
-
-LRESULT MSG_SendMessage(WND *Wnd, UINT msg,
- WPARAM wParam, LPARAM lParam);
-
-
-LRESULT MSG_SendMessageInterTask( HWND hwnd, UINT msg,
- WPARAM wParam, LPARAM lParam, WINBOOL bUnicode);
-
-WINBOOL MSG_DoTranslateMessage( UINT message, HWND hwnd,
- WPARAM wParam, LPARAM lParam );
-
-void joySendMessages(void);
-
-
-
-
-#endif
\ No newline at end of file
+++ /dev/null
-/*
- * Window non-client functions definitions
- *
- * Copyright 1995 Alexandre Julliard
- */
-
-#ifndef __WINE_NONCLIENT_H
-#define __WINE_NONCLIENT_H
-
-//#include "config.h"
-
-#define WIN95_LOOK 1
-#define WIN31_LOOK 0
-extern int TWEAK_WineLook;
-
-
-#include <user32/win.h>
-#include <user32/sysmetr.h>
-#include <user32/msg.h>
-#include <user32/menu.h>
-#include <user32/winpos.h>
-#include <user32/hook.h>
-#include <user32/scroll.h>
-
-#define SC_ARRANGE 0xf110
-
-#define WM_SETVISIBLE 0x0009
-
- /* WM_NCHITTEST return codes */
-#define HTERROR (-2)
-#define HTTRANSPARENT (-1)
-
-
-
-#define HTMINBUTTON 8
-#define HTMAXBUTTON 9
-
-
-
-#define HTBORDER 18
-
-#define HTOBJECT 19
-#define HTCLOSE 20
-#define HTHELP 21
-#define HTSIZEFIRST HTLEFT
-#define HTSIZELAST HTBOTTOMRIGHT
-
- /* CallMsgFilter() values */
-
-#define MSGF_MESSAGEBOX 1
-
-#define MSGF_MOVE 3
-#define MSGF_SIZE 4
-
-
-#define MAKEINTRESOURCEA(i) (LPSTR) ((DWORD) ((WORD) (i)))
-
-#define DCX_USESTYLE 0x00010000
-
-LONG NC_HandleNCPaint( HWND hwnd , HRGN clip);
-LONG NC_HandleNCActivate( WND *pwnd, WPARAM wParam );
-LONG NC_HandleNCCalcSize( WND *pWnd, RECT *winRect );
-LONG NC_HandleNCHitTest( HWND hwnd, POINT pt );
-LONG NC_HandleNCLButtonDown( WND* pWnd, WPARAM wParam, LPARAM lParam );
-LONG NC_HandleNCLButtonDblClk( WND *pWnd, WPARAM wParam, LPARAM lParam);
-LONG NC_HandleSysCommand( HWND hwnd, WPARAM wParam, POINT pt );
-LONG NC_HandleSetCursor( HWND hwnd, WPARAM wParam, LPARAM lParam );
-void NC_DrawSysButton( HWND hwnd, HDC hdc, WINBOOL down );
-WINBOOL NC_DrawSysButton95( HWND hwnd, HDC hdc, WINBOOL down );
-WINBOOL NC_GetSysPopupPos( WND* wndPtr, RECT* rect );
-void NC_AdjustRect( LPRECT rect, DWORD style, WINBOOL menu,
- DWORD exStyle );
-
-//gdi
-WINBOOL STDCALL FastWindowFrame(HDC,const RECT*,INT,INT,DWORD);
-void NC_AdjustRectOuter95 (LPRECT rect, DWORD style, WINBOOL menu, DWORD exStyle);
-void NC_AdjustRectInner95 (LPRECT rect, DWORD style, DWORD exStyle);
-
-
-#endif /* __WINE_NONCLIENT_H */
+++ /dev/null
-
-
-#include <user32/win.h>
-#include <user32/queue.h>
-#include <user32/debug.h>
-
-
-#define DCX_DCEEMPTY 0x00000800
-#define DCX_DCEBUSY 0x00001000
-#define DCX_DCEDIRTY 0x00002000
-#define DCX_WINDOWPAINT 0x00020000
-#define DCX_KEEPCLIPRGN 0x00040000
-#define DCX_NOCLIPCHILDREN 0x00080000
-
-
-
-
-#define DCX_USESTYLE 0x00010000
-
-
-WINBOOL PAINT_RedrawWindow( HWND hwnd, const RECT *rectUpdate,
- HRGN hrgnUpdate, UINT flags, UINT control );
-
-HBRUSH PAINT_GetControlBrush( HWND hParent, HWND hWnd, HDC hDC, UINT ctlType );
-
-HBRUSH GetControlBrush( HWND hwnd, HDC hdc, UINT ctlType );
-
-void PaintRect( HWND hwndParent, HWND hwnd, HDC hdc,
- HBRUSH hbrush, const RECT *rect);
-
-void FillWindow( HWND hwndParent, HWND hwnd, HDC hdc, HBRUSH hbrush );
\ No newline at end of file
+++ /dev/null
-#ifndef PROPERTY_H
-#define PROPERTY_H
-
-#include <user32/win.h>
-
-typedef struct tagPROPERTY
-{
- struct tagPROPERTY *next; /* Next property in window list */
- HANDLE handle; /* User's data */
- LPSTR string; /* Property string (or atom) */
-} PROPERTY;
-
-
-
-
-HANDLE PROPERTY_FindProp( HWND hwnd, ATOM Atom );
-
-void PROPERTY_RemoveWindowProps( WND *pWnd );
-
-#endif
\ No newline at end of file
+++ /dev/null
-/*
- * Message queues definitions
- *
- * Copyright 1993 Alexandre Julliard
- */
-
-#ifndef __WINE_QUEUE_H
-#define __WINE_QUEUE_H
-
-
-#include <windows.h>
-#include <user32/win.h>
-
-/***** Window hooks *****/
-
-#define WH_MIN (-1)
-#define WH_MAX 12
-
-
-#define WH_MINHOOK WH_MIN
-#define WH_MAXHOOK WH_MAX
-#define WH_NB_HOOKS (WH_MAXHOOK-WH_MINHOOK+1)
-
-
-
- /* Message as stored in the queue (contains the extraInfo field) */
-typedef struct tagQMSG
-{
- DWORD extraInfo; /* Only in 3.1 */
- MSG msg;
-} QMSG;
-
-typedef struct
-{
- LRESULT lResult;
- WINBOOL bPending;
-} QSMCTRL;
-
-#pragma pack(1)
-
-typedef struct tagMESSAGEQUEUE
-{
- HQUEUE next; /* 00 Next queue */
- HANDLE hTask; /* 02 hTask owning the queue */
- WORD msgSize; /* 04 Size of messages in the queue */
- WORD msgCount; /* 06 Number of waiting messages */
- WORD nextMessage; /* 08 Next message to be retrieved */
- WORD nextFreeMessage; /* 0a Next available slot in the queue */
- WORD queueSize; /* 0c Size of the queue */
- DWORD GetMessageTimeVal; /* 0e Value for GetMessageTime */
- DWORD GetMessagePosVal; /* 12 Value for GetMessagePos */
- HQUEUE self; /* 16 Handle to self (was: reserved) */
- DWORD GetMessageExtraInfoVal; /* 18 Value for GetMessageExtraInfo */
- WORD wParamHigh; /* 1c High word of wParam (was: reserved)*/
- LPARAM lParam; /* 1e Next 4 values set by SendMessage */
- WPARAM wParam; /* 22 */
- UINT msg; /* 24 */
- HWND hWnd; /* 26 */
- DWORD SendMessageReturn; /* 28 Return value for SendMessage */
- WORD wPostQMsg; /* 2c PostQuitMessage flag */
- WORD wExitCode; /* 2e PostQuitMessage exit code */
- WORD flags; /* 30 Queue flags */
- QSMCTRL* smResultInit; /* 32 1st LRESULT ptr - was: reserved */
- WORD wWinVersion; /* 36 Expected Windows version */
- HQUEUE InSendMessageHandle; /* 38 Queue of task that sent a message */
- HANDLE hSendingTask; /* 3a Handle of task that sent a message */
- HANDLE hPrevSendingTask; /* 3c Handle of previous sender */
- WORD wPaintCount; /* 3e Number of WM_PAINT needed */
- WORD wTimerCount; /* 40 Number of timers for this task */
- WORD changeBits; /* 42 Changed wake-up bits */
- WORD wakeBits; /* 44 Queue wake-up bits */
- WORD wakeMask; /* 46 Queue wake-up mask */
- QSMCTRL* smResultCurrent; /* 48 ptrs to SendMessage() LRESULT - point to */
- WORD SendMsgReturnPtr[1]; /* values on stack */
- HANDLE hCurHook; /* 4e Current hook */
- HANDLE hooks[WH_NB_HOOKS]; /* 50 Task hooks list */
- QSMCTRL* smResult; /* 6c 3rd LRESULT ptr - was: reserved */
- QMSG messages[1]; /* 70 Queue messages */
-} MESSAGEQUEUE;
-
-#pragma pack(4)
-
-/* Extra (undocumented) queue wake bits - see "Undoc. Windows" */
-#define QS_SMRESULT 0x8000 /* Queue has a SendMessage() result */
-#define QS_SMPARAMSFREE 0x4000 /* SendMessage() parameters are available */
-
-/* Queue flags */
-#define QUEUE_SM_ASCII 0x0002 /* Currently sent message is Win32 */
-#define QUEUE_SM_UNICODE 0x0004 /* Currently sent message is Unicode */
-
-void QUEUE_DumpQueue( HQUEUE hQueue );
-void QUEUE_WalkQueues(void);
-WINBOOL QUEUE_IsExitingQueue( HQUEUE hQueue );
-void QUEUE_SetExitingQueue( HQUEUE hQueue );
-MESSAGEQUEUE *QUEUE_GetSysQueue(void);
-void QUEUE_Signal( HANDLE hTask );
-void QUEUE_SetWakeBit( MESSAGEQUEUE *queue, WORD bit );
-void QUEUE_ClearWakeBit( MESSAGEQUEUE *queue, WORD bit );
-void QUEUE_ReceiveMessage( MESSAGEQUEUE *queue );
-void QUEUE_WaitBits( WORD bits );
-void QUEUE_IncPaintCount( HQUEUE hQueue );
-void QUEUE_DecPaintCount( HQUEUE hQueue );
-void QUEUE_IncTimerCount( HQUEUE hQueue );
-void QUEUE_DecTimerCount( HQUEUE hQueue );
-WINBOOL QUEUE_CreateSysMsgQueue( int size );
-WINBOOL QUEUE_DeleteMsgQueue( HQUEUE hQueue );
-HANDLE QUEUE_GetQueueTask( HQUEUE hQueue );
-WINBOOL QUEUE_AddMsg( HQUEUE hQueue, MSG * msg, DWORD extraInfo );
-int QUEUE_FindMsg( MESSAGEQUEUE * msgQueue, HWND hwnd,
- int first, int last );
-void QUEUE_RemoveMsg( MESSAGEQUEUE * msgQueue, int pos );
-void QUEUE_FlushMessages(HQUEUE);
-void hardware_event( WORD message, WORD wParam, LONG lParam,
- int xPos, int yPos, DWORD time, DWORD extraInfo );
-
-HQUEUE InitThreadInput( WORD unknown, WORD flags );
-
-HQUEUE SetThreadQueue( DWORD thread, HQUEUE hQueue );
-HQUEUE GetThreadQueue( DWORD thread );
-VOID SetFastQueue( DWORD thread, HANDLE hQueue );
-HANDLE GetFastQueue( void );
-
-#endif /* __WINE_QUEUE_H */
+++ /dev/null
-/*
- * Resource definitions
- *
- * Copyright 1995 Alexandre Julliard
- */
-
-#ifndef __WINE_RESOURCE_H
-#define __WINE_RESOURCE_H
-
-#include <windows.h>
-
-//#ifndef __WRC_RSC_H
-//#include "wrc_rsc.h"
-//#endif
-
-/*
- * BS: I comment this out to catch all occurences
- * of reference to this structure which is now
- * rendered obsolete.
- *
- * struct resource
- * {
- * int id;
- * int type;
- * const char *name;
- * const unsigned char* bytes;
- * unsigned size;
- * };
- */
-
-/* Built-in resources */
-typedef enum
-{
- SYSRES_MENU_SYSMENU,
- SYSRES_MENU_EDITMENU,
- SYSRES_DIALOG_MSGBOX,
- SYSRES_DIALOG_SHELL_ABOUT_MSGBOX,
- SYSRES_DIALOG_OPEN_FILE,
- SYSRES_DIALOG_SAVE_FILE,
- SYSRES_DIALOG_PRINT,
- SYSRES_DIALOG_PRINT_SETUP,
- SYSRES_DIALOG_CHOOSE_FONT,
- SYSRES_DIALOG_CHOOSE_COLOR,
- SYSRES_DIALOG_FIND_TEXT,
- SYSRES_DIALOG_REPLACE_TEXT
-} SYSTEM_RESOURCE;
-
-//extern void LIBRES_RegisterResources(const wrc_resource32_t * const * Res);
-
-#if defined(__GNUC__) && (__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)
-#define WINE_CONSTRUCTOR __attribute__((constructor))
-#define HAVE_WINE_CONSTRUCTOR
-#else
-#define WINE_CONSTRUCTOR
-#undef HAVE_WINE_CONSTRUCTOR
-#endif
-
-HGLOBAL SYSRES_LoadResource( SYSTEM_RESOURCE id );
-void SYSRES_FreeResource( HGLOBAL handle );
-LPCVOID SYSRES_GetResPtr( SYSTEM_RESOURCE id );
-
-#endif /* __WINE_RESOURCE_H */
+++ /dev/null
-/*
- * Scroll-bar class extra info
- *
- * Copyright 1993 Martin Ayotte
- * Copyright 1994 Alexandre Julliard
- */
-
-#ifndef __WINE_SCROLL_H
-#define __WINE_SCROLL_H
-
-#include <windows.h>
-
-typedef struct
-{
- INT CurVal; /* Current scroll-bar value */
- INT MinVal; /* Minimum scroll-bar value */
- INT MaxVal; /* Maximum scroll-bar value */
- INT Page; /* Page size of scroll bar (Win32) */
- UINT flags; /* EnableScrollBar flags */
-} SCROLLBAR_INFO;
-
-/* GetScrollInfo() flags */
-
-#define SIF_TRACKPOS 0x0010
-//#define SIF_ALL (SIF_RANGE | SIF_PAGE | SIF_POS | SIF_TRACKPOS)
-
-
-LRESULT STDCALL ScrollBarWndProc( HWND hwnd, UINT uMsg,
- WPARAM wParam, LPARAM lParam );
-void SCROLL_DrawScrollBar( HWND hwnd, HDC hdc, INT nBar,
- WINBOOL arrows, WINBOOL interior );
-void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar,
- UINT msg, POINT pt );
-
-WINBOOL SCROLL_FixCaret(HWND hWnd, LPRECT lprc, UINT flags);
-
-//#define WM_SYSTIMER (0x118)
-
-#endif /* __WINE_SCROLL_H */
+++ /dev/null
-/* loader/signal.c */
-WINBOOL SIGNAL_Init(void);
-void SIGNAL_SetHandler( int sig, void (*func)(), int flags );
-void SIGNAL_MaskAsyncEvents( BOOL flag );
\ No newline at end of file
+++ /dev/null
-/*
- * Message Logging functions
- */
-
-#ifndef __WINE_SPY_H
-#define __WINE_SPY_H
-
-
-
-#define SPY_DISPATCHMESSAGE 0x0101
-#define SPY_SENDMESSAGE 0x0103
-#define SPY_DEFWNDPROC 0x0105
-
-
-#define SPY_RESULT_OK 0x0001
-#define SPY_RESULT_INVALIDHWND 0x0003
-#define SPY_RESULT_DEFWND 0x0005
-
-
-extern const char *SPY_GetMsgName( UINT msg );
-extern void SPY_EnterMessage( INT iFlag, HWND hwnd, UINT msg,
- WPARAM wParam, LPARAM lParam );
-extern void SPY_ExitMessage( INT iFlag, HWND hwnd, UINT msg,
- LRESULT lReturn );
-extern int SPY_Init(void);
-
-#endif /* __WINE_SPY_H */
+++ /dev/null
-/*
- * Static-class extra info
- *
- * Copyright 1994 Alexandre Julliard
- */
-
-#ifndef __WINE_STATIC_H
-#define __WINE_STATIC_H
-
-#include <windows.h>
-#include <user32/win.h>
-
- /* Extra info for STATIC windows */
-typedef struct
-{
- HFONT hFont; /* Control font (or 0 for system font) */
- WORD dummy; /* Don't know what MS-Windows puts in there */
- HICON hIcon; /* Icon handle for SS_ICON controls */
-} STATICINFO;
-
-HICON STATIC_LoadIcon(WND *wndPtr,const void *name );
-HICON STATIC_SetIcon( WND *wndPtr, HICON hicon );
-
-HBITMAP STATIC_LoadBitmap(WND *wndPtr,const void *name );
-HICON STATIC_SetBitmap( WND *wndPtr, HICON hicon );
-
-LRESULT WINAPI StaticWndProc( HWND hWnd, UINT uMsg, WPARAM wParam,
- LPARAM lParam );
-
-#endif /* __WINE_STATIC_H */
+++ /dev/null
-
-#ifndef __SYSCOLOR_H
-#define __SYSCOLOR_H
-
-#define COLOR_3DHIGHLIGHT COLOR_BTNHIGHLIGHT
-
-void SYSCOLOR_SetColor( int index, COLORREF color );
-void SYSCOLOR_Init(void);
-HPEN GetSysColorPen( INT index );
-
-#endif
\ No newline at end of file
+++ /dev/null
-/*
- * System metrics definitions
- *
- * Copyright 1994 Alexandre Julliard
- */
-
-#ifndef __WINE_SYSMETRICS_H
-#define __WINE_SYSMETRICS_H
-
-#include <windows.h>
-
-
- /* Constant system metrics */
-#if 0
-#ifdef WIN_95_LOOK
-#define SYSMETRICS_CXDLGFRAME 3
-#define SYSMETRICS_CYDLGFRAME 3
-#define SYSMETRICS_CYVTHUMB 13
-#define SYSMETRICS_CXHTHUMB 13
-#else
-#define SYSMETRICS_CXDLGFRAME 4
-#define SYSMETRICS_CYDLGFRAME 4
-#define SYSMETRICS_CYVTHUMB 16
-#define SYSMETRICS_CXHTHUMB 16
-#endif
-#define SYSMETRICS_CXICON 32
-#define SYSMETRICS_CYICON 32
-#define SYSMETRICS_CXCURSOR 32
-#define SYSMETRICS_CYCURSOR 32
-#ifdef WIN_95_LOOK
-#define SYSMETRICS_CYVSCROLL 14
-#define SYSMETRICS_CXHSCROLL 14
-#define SYSMETRICS_CXMIN 112
-#define SYSMETRICS_CYMIN 27
-#else
-#define SYSMETRICS_CYVSCROLL 16
-#define SYSMETRICS_CXHSCROLL 16
-#define SYSMETRICS_CXMIN 100
-#define SYSMETRICS_CYMIN 28
-#endif
-#ifdef WIN_95_LOOK
-#define SYSMETRICS_CXMINTRACK 112
-#define SYSMETRICS_CYMINTRACK 27
-#else
-#define SYSMETRICS_CXMINTRACK 100
-#define SYSMETRICS_CYMINTRACK 28
-#endif /* WIN_95_LOOK */
-#endif /* 0 */
-
-/* Some non-constant system metrics */
-#define SYSMETRICS_CXSCREEN sysMetrics[SM_CXSCREEN] /* 0 */
-#define SYSMETRICS_CYSCREEN sysMetrics[SM_CYSCREEN] /* 1 */
-#define SYSMETRICS_CXVSCROLL sysMetrics[SM_CXVSCROLL] /* 2 */
-#define SYSMETRICS_CYHSCROLL sysMetrics[SM_CYHSCROLL] /* 3 */
-#define SYSMETRICS_CYCAPTION sysMetrics[SM_CYCAPTION] /* 4 */
-#define SYSMETRICS_CXBORDER sysMetrics[SM_CXBORDER] /* 5 */
-#define SYSMETRICS_CYBORDER sysMetrics[SM_CYBORDER] /* 6 */
-#define SYSMETRICS_CXDLGFRAME sysMetrics[SM_CXDLGFRAME] /* 7 */
-#define SYSMETRICS_CYDLGFRAME sysMetrics[SM_CYDLGFRAME] /* 8 */
-#define SYSMETRICS_CYVTHUMB sysMetrics[SM_CYVTHUMB] /* 9 */
-#define SYSMETRICS_CXHTHUMB sysMetrics[SM_CXHTHUMB] /* 10 */
-#define SYSMETRICS_CXICON sysMetrics[SM_CXICON] /* 11 */
-#define SYSMETRICS_CYICON sysMetrics[SM_CYICON] /* 12 */
-#define SYSMETRICS_CXCURSOR sysMetrics[SM_CXCURSOR] /* 13 */
-#define SYSMETRICS_CYCURSOR sysMetrics[SM_CYCURSOR] /* 14 */
-#define SYSMETRICS_CYMENU sysMetrics[SM_CYMENU] /* 15 */
-#define SYSMETRICS_CXFULLSCREEN sysMetrics[SM_CXFULLSCREEN] /* 16 */
-#define SYSMETRICS_CYFULLSCREEN sysMetrics[SM_CYFULLSCREEN] /* 17 */
-#define SYSMETRICS_CYKANJIWINDOW sysMetrics[SM_CYKANJIWINDOW] /* 18 */
-#define SYSMETRICS_MOUSEPRESENT sysMetrics[SM_MOUSEPRESENT] /* 19 */
-#define SYSMETRICS_CYVSCROLL sysMetrics[SM_CYVSCROLL] /* 20 */
-#define SYSMETRICS_CXHSCROLL sysMetrics[SM_CXHSCROLL] /* 21 */
-#define SYSMETRICS_DEBUG sysMetrics[SM_DEBUG] /* 22 */
-#define SYSMETRICS_SWAPBUTTON sysMetrics[SM_SWAPBUTTON] /* 23 */
-#define SYSMETRICS_RESERVED1 sysMetrics[SM_RESERVED1] /* 24 */
-#define SYSMETRICS_RESERVED2 sysMetrics[SM_RESERVED2] /* 25 */
-#define SYSMETRICS_RESERVED3 sysMetrics[SM_RESERVED3] /* 26 */
-#define SYSMETRICS_RESERVED4 sysMetrics[SM_RESERVED4] /* 27 */
-#define SYSMETRICS_CXMIN sysMetrics[SM_CXMIN] /* 28 */
-#define SYSMETRICS_CYMIN sysMetrics[SM_CYMIN] /* 29 */
-#define SYSMETRICS_CXSIZE sysMetrics[SM_CXSIZE] /* 30 */
-#define SYSMETRICS_CYSIZE sysMetrics[SM_CYSIZE] /* 31 */
-#define SYSMETRICS_CXFRAME sysMetrics[SM_CXFRAME] /* 32 */
-#define SYSMETRICS_CYFRAME sysMetrics[SM_CYFRAME] /* 33 */
-#define SYSMETRICS_CXMINTRACK sysMetrics[SM_CXMINTRACK] /* 34 */
-#define SYSMETRICS_CYMINTRACK sysMetrics[SM_CYMINTRACK] /* 35 */
-#define SYSMETRICS_CXDOUBLECLK sysMetrics[SM_CXDOUBLECLK] /* 36 */
-#define SYSMETRICS_CYDOUBLECLK sysMetrics[SM_CYDOUBLECLK] /* 37 */
-#define SYSMETRICS_CXICONSPACING sysMetrics[SM_CXICONSPACING] /* 38 */
-#define SYSMETRICS_CYICONSPACING sysMetrics[SM_CYICONSPACING] /* 39 */
-#define SYSMETRICS_MENUDROPALIGNMENT sysMetrics[SM_MENUDROPALIGNMENT] /* 40 */
-#define SYSMETRICS_PENWINDOWS sysMetrics[SM_PENWINDOWS] /* 41 */
-#define SYSMETRICS_DBCSENABLED sysMetrics[SM_DBCSENABLED] /* 42 */
-#define SYSMETRICS_CMOUSEBUTTONS sysMetrics[SM_CMOUSEBUTTONS] /* 43 */
-#define SYSMETRICS_CXFIXEDFRAME sysMetrics[SM_CXDLGFRAME] /* win40 name change */
-#define SYSMETRICS_CYFIXEDFRAME sysMetrics[SM_CYDLGFRAME] /* win40 name change */
-#define SYSMETRICS_CXSIZEFRAME sysMetrics[SM_CXFRAME] /* win40 name change */
-#define SYSMETRICS_CYSIZEFRAME sysMetrics[SM_CYFRAME] /* win40 name change */
-#define SYSMETRICS_SECURE sysMetrics[SM_SECURE] /* 44 */
-#define SYSMETRICS_CXEDGE sysMetrics[SM_CXEDGE] /* 45 */
-#define SYSMETRICS_CYEDGE sysMetrics[SM_CYEDGE] /* 46 */
-#define SYSMETRICS_CXMINSPACING sysMetrics[SM_CXMINSPACING] /* 47 */
-#define SYSMETRICS_CYMINSPACING sysMetrics[SM_CYMINSPACING] /* 48 */
-#define SYSMETRICS_CXSMICON sysMetrics[SM_CXSMICON] /* 49 */
-#define SYSMETRICS_CYSMICON sysMetrics[SM_CYSMICON] /* 50 */
-#define SYSMETRICS_CYSMCAPTION sysMetrics[SM_CYSMCAPTION] /* 51 */
-#define SYSMETRICS_CXSMSIZE sysMetrics[SM_CXSMSIZE] /* 52 */
-#define SYSMETRICS_CYSMSIZE sysMetrics[SM_CYSMSIZE] /* 53 */
-#define SYSMETRICS_CXMENUSIZE sysMetrics[SM_CXMENUSIZE] /* 54 */
-#define SYSMETRICS_CYMENUSIZE sysMetrics[SM_CYMENUSIZE] /* 55 */
-#define SYSMETRICS_ARRANGE sysMetrics[SM_ARRANGE] /* 56 */
-#define SYSMETRICS_CXMINIMIZED sysMetrics[SM_CXMINIMIZED] /* 57 */
-#define SYSMETRICS_CYMINIMIZED sysMetrics[SM_CYMINIMIZED] /* 58 */
-#define SYSMETRICS_CXMAXTRACK sysMetrics[SM_CXMAXTRACK] /* 59 */
-#define SYSMETRICS_CYMAXTRACK sysMetrics[SM_CYMAXTRACK] /* 60 */
-#define SYSMETRICS_CXMAXIMIZED sysMetrics[SM_CXMAXIMIZED] /* 61 */
-#define SYSMETRICS_CYMAXIMIZED sysMetrics[SM_CYMAXIMIZED] /* 62 */
-#define SYSMETRICS_NETWORK sysMetrics[SM_NETWORK] /* 63 */
-#define SYSMETRICS_CLEANBOOT sysMetrics[SM_CLEANBOOT] /* 67 */
-#define SYSMETRICS_CXDRAG sysMetrics[SM_CXDRAG] /* 68 */
-#define SYSMETRICS_CYDRAG sysMetrics[SM_CYDRAG] /* 69 */
-#define SYSMETRICS_SHOWSOUNDS sysMetrics[SM_SHOWSOUNDS] /* 70 */
-
-/* Use the following instead of sysMetrics[SM_CXMENUCHECK] GetMenuCheckMarkDimensions()! */
-#define SYSMETRICS_CXMENUCHECK sysMetrics[SM_CXMENUCHECK] /* 71 */
-#define SYSMETRICS_CYMENUCHECK sysMetrics[SM_CYMENUCHECK] /* 72 */
-
-#define SYSMETRICS_SLOWMACHINE sysMetrics[SM_SLOWMACHINE] /* 73 */
-#define SYSMETRICS_MIDEASTENABLED sysMetrics[SM_MIDEASTENABLED] /* 74 */
-#define SYSMETRICS_MOUSEWHEELPRESENT sysMetrics[SM_MOUSEWHEELPRESENT] /* 75 */
-
-#define SYSMETRICS_CXVIRTUALSCREEN sysMetrics[SM_CXVIRTUALSCREEN] /* 77 */
-#define SYSMETRICS_CYVIRTUALSCREEN sysMetrics[SM_CYVIRTUALSCREEN] /* 77 */
-#define SYSMETRICS_YVIRTUALSCREEN sysMetrics[SM_YVIRTUALSCREEN] /* 78 */
-#define SYSMETRICS_XVIRTUALSCREEN sysMetrics[SM_XVIRTUALSCREEN] /* 79 */
-#define SYSMETRICS_CMONITORS sysMetrics[SM_CMONITORS] /* 81 */
-#define SYSMETRICS_SAMEDISPLAYFORMAT sysMetrics[SM_SAMEDISPLAYFORMAT] /* 82 */
-
-#undef SM_CMETRICS
-#define SM_CMETRICS (83)
-
-extern short sysMetrics[SM_CMETRICS+1];
-
-
-#endif /* __WINE_SYSMETRICS_H */
+++ /dev/null
-
-#ifndef __WINE_TEXT_H
-#define __WINE_TEXT_H
-
-//typedef WINBOOL (CALLBACK *GRAYSTRINGPROC)(HDC,LPARAM,INT);
-
-#define TAB 9
-#define LF 10
-#define CR 13
-#define SPACE 32
-#define PREFIX 38
-
-#define SWAP_INT(a,b) { int t = a; a = b; b = t; }
-
-int TEXT_DrawTextEx(HDC hDC,void *strPtr,int nCount,LPRECT lpRect,UINT uFormat,LPDRAWTEXTPARAMS dtp,WINBOOL Unicode );
-
-LPCSTR TEXT_NextLineA( HDC hdc, LPCSTR str, INT *count,
- LPSTR dest, INT *len, INT width, WORD format);
-LPCWSTR TEXT_NextLineW( HDC hdc, LPCWSTR str, INT *count,
- LPWSTR dest, INT *len, INT width, WORD format);
-
-WINBOOL TEXT_GrayString(HDC hdc, HBRUSH hb,
- GRAYSTRINGPROC fn, LPARAM lp, INT len,
- INT x, INT y, INT cx, INT cy, WINBOOL Unicode);
-
-LONG TEXT_TabbedTextOutA( HDC hdc, INT x, INT y, LPCSTR lpstr,
- INT count, INT cTabStops, const INT *lpTabPos,
- INT nTabOrg, WINBOOL fDisplayText );
-
-LONG TEXT_TabbedTextOutW( HDC hdc, INT x, INT y, LPCWSTR lpstr,
- INT count, INT cTabStops, const INT *lpTabPos,
- INT nTabOrg, WINBOOL fDisplayText );
-
-#endif
\ No newline at end of file
+++ /dev/null
-
-#include <user32/win.h>
-#include <user32/queue.h>
-
-typedef struct tagTIMER
-{
- HWND hwnd;
- HQUEUE hq;
- UINT msg; /* WM_TIMER or WM_SYSTIMER */
- UINT id;
- UINT timeout;
- struct tagTIMER *next;
- DWORD expires; /* Next expiration, or 0 if already expired */
- TIMERPROC proc;
-} TIMER;
-
-#define NB_TIMERS 34
-#define NB_RESERVED_TIMERS 2 /* for SetSystemTimer */
-
-#define WM_SYSTIMER 0x0118
-
-
-
-void TIMER_InsertTimer( TIMER * pTimer );
-void TIMER_RemoveTimer( TIMER * pTimer );
-void TIMER_ClearTimer( TIMER * pTimer );
-void TIMER_SwitchQueue( HQUEUE old, HQUEUE newQ );
-void TIMER_RemoveWindowTimers( HWND hwnd );
-void TIMER_RemoveQueueTimers( HQUEUE hqueue );
-void TIMER_RestartTimer( TIMER * pTimer, DWORD curTime );
-LONG TIMER_GetNextExpiration(void);
-void TIMER_ExpireTimers(void);
-WINBOOL TIMER_GetTimerMsg( MSG *msg, HWND hwnd,
- HQUEUE hQueue,WINBOOL remove );
-
-UINT TIMER_SetTimer( HWND hwnd, UINT id, UINT timeout,
- TIMERPROC proc, WINBOOL sys );
-WINBOOL TIMER_KillTimer( HWND hwnd, UINT id,WINBOOL sys );
+++ /dev/null
-#ifndef __WINE_WIDGETS_H
-#define __WINE_WIDGETS_H
-
-#include <user32/win.h>
-
-#define WM_CTLCOLOR 0x0019
-
-
-
-
-#define POPUPMENU_CLASS_NAME L"PopupMenu"
-#define DESKTOP_CLASS_NAME L"Desktop"
-#define DIALOG_CLASS_NAMEW L"DialogW"
-#define DIALOG_CLASS_NAMEA L"DialogA"
-#define DIALOG_CLASS_NAME_A "DialogA"
-#define WINSWITCH_CLASS_NAME L"WinSwitch"
-#define ICONTITLE_CLASS_NAME L"IconTitle"
-#define ICONTITLE_CLASS_NAME_A "IconTitle"
-#define SCROLLBAR_CLASS_NAME L"ScrollBar"
-#define BUTTON_CLASS_NAME L"Button"
-#define EDIT_CLASS_NAME L"Edit"
-#define STATIC_CLASS_NAME L"Static"
-#define COMBOLBOX_CLASS_NAME L"ComboLBox"
-#define COMBOBOX_CLASS_NAME L"ComboBox"
-#define LISTBOX_CLASS_NAME L"ListBox"
-
-typedef enum
-{
- BIC_BUTTON,
- BIC_EDIT,
- BIC_LISTBOX,
- BIC_COMBO,
- BIC_COMBOLB,
-// BIC_POPUPMENU,
- BIC_STATIC,
- BIC_SCROLL,
-// BIC_MDICLIENT,
- BIC_DESKTOP,
- BIC_DIALOG,
- BIC_ICONTITLE,
- BIC_NB_CLASSES
-} BUILTIN_CLASS;
-
-
-/* Window procedures */
-
-LRESULT STDCALL EditWndProc( HWND hwnd, UINT msg,
- WPARAM wParam, LPARAM lParam );
-LRESULT STDCALL ComboWndProc( HWND hwnd, UINT msg,
- WPARAM wParam, LPARAM lParam );
-LRESULT STDCALL ComboLBWndProc( HWND hwnd, UINT msg,
- WPARAM wParam, LPARAM lParam );
-LRESULT STDCALL ListBoxWndProc( HWND hwnd, UINT msg,
- WPARAM wParam, LPARAM lParam );
-LRESULT STDCALL PopupMenuWndProc( HWND hwnd, UINT msg,
- WPARAM wParam, LPARAM lParam );
-LRESULT STDCALL IconTitleWndProc( HWND hwnd, UINT msg,
- WPARAM wParam, LPARAM lParam );
-LRESULT WINAPI StaticWndProc( HWND hWnd, UINT uMsg, WPARAM wParam,
- LPARAM lParam );
-LRESULT WINAPI DesktopWndProc( HWND hwnd, UINT message,
- WPARAM wParam, LPARAM lParam );
-
-WINBOOL WIDGETS_IsControl( WND* pWnd, BUILTIN_CLASS cls );
-
-#endif
\ No newline at end of file
+++ /dev/null
-/*
- * Window definitions
- *
- * Copyright 1993 Alexandre Julliard
- */
-
-#ifndef __WINE_WIN_H
-#define __WINE_WIN_H
-
-#define MAX(a, b)((a > b)? a : b)
-#define MIN(a, b)((a < b)? a : b)
-#define max(a, b)((a > b)? a : b)
-#define min(a, b)((a < b)? a : b)
-
-typedef HANDLE HTASK;
-typedef HANDLE HQUEUE;
-
-#define STRING2ATOMA(str) HIWORD(str) ? GlobalFindAtomA(str) : (ATOM)LOWORD(str)
-#define STRING2ATOMW(str) HIWORD(str) ? GlobalFindAtomW(str) : (ATOM)LOWORD(str)
-
-#include <user32/class.h>
-#include <user32/heapdup.h>
-#include <user32/dce.h>
-
-#define WND_MAGIC 0x444e4957 /* 'WIND' */
-
-
- /* PAINT_RedrawWindow() control flags */
-#define RDW_C_USEHRGN 0x0001
-#define RDW_C_DELETEHRGN 0x0002
-
-struct tagDCE;
-struct tagDC;
-struct tagCLASS;
-
-typedef struct tagWND
-{
- struct tagWND *next; /* Next sibling */
- struct tagWND *child; /* First child */
- struct tagWND *parent; /* Window parent (from CreateWindow) */
- struct tagWND *owner; /* Window owner */
- struct tagCLASS *class; /* Window class */
- void *winproc; /* Window procedure */
- HANDLE hmemTaskQ; /* This should be hThread */
- DWORD dwMagic; /* Magic number (must be WND_MAGIC) */
- HWND hwndSelf; /* Handle of this window */
- HINSTANCE hInstance; /* Window hInstance (from CreateWindow) */
- RECT rectClient; /* Client area rel. to parent client area */
- RECT rectWindow; /* Whole window rel. to parent client area */
- void *text; /* Window text */
- void *pVScroll; /* Vertical scroll-bar info */
- void *pHScroll; /* Horizontal scroll-bar info */
- void *pProp; /* Pointer to properties list */
- struct tagDCE *dce; /* Window DCE (if CS_OWNDC or CS_CLASSDC) */
- HRGN hrgnUpdate; /* Update region */
- HRGN hrgnWindow; /* region where the os permits drawing == max update region */
- HWND hwndLastActive;/* Last active popup hwnd */
- DWORD dwStyle; /* Window style (from CreateWindow) */
- DWORD dwExStyle; /* Extended style (from CreateWindowEx) */
- UINT wIDmenu; /* ID or hmenu (from CreateWindow) */
- DWORD helpContext; /* Help context ID */
- WORD flags; /* Misc. flags (see below) */
- HMENU hSysMenu; /* window's copy of System Menu */
- DWORD userdata; /* User private data */
- DWORD wExtra[1]; /* Window extra bytes */
-} WND;
-
-
-
-typedef struct
-{
- CREATESTRUCT *lpcs;
- HWND hwndInsertAfter;
-} CBT_CREATEWNDA, *LPCBT_CREATEWNDA;
-
-typedef struct
-{
- CREATESTRUCT *lpcs;
- HWND hwndInsertAfter;
-} CBT_CREATEWNDW, *LPCBT_CREATEWNDW;
-
-
-typedef struct
-{
- RECT rectNormal;
- POINT ptIconPos;
- POINT ptMaxPos;
- HWND hwndIconTitle;
-} INTERNALPOS, *LPINTERNALPOS;
-
- /* WND flags values */
-#define WIN_NEEDS_BEGINPAINT 0x0001 /* WM_PAINT sent to window */
-#define WIN_NEEDS_ERASEBKGND 0x0002 /* WM_ERASEBKGND must be sent to window*/
-#define WIN_NEEDS_NCPAINT 0x0004 /* WM_NCPAINT must be sent to window */
-#define WIN_RESTORE_MAX 0x0008 /* Maximize when restoring */
-#define WIN_INTERNAL_PAINT 0x0010 /* Internal WM_PAINT message pending */
-/* Used to have WIN_NO_REDRAW 0x0020 here */
-#define WIN_NEED_SIZE 0x0040 /* Internal WM_SIZE is needed */
-#define WIN_NCACTIVATED 0x0080 /* last WM_NCACTIVATE was positive */
-#define WIN_MANAGED 0x0100 /* Window managed by the X wm */
-#define WIN_ISDIALOG 0x0200 /* Window is a dialog */
-#define WIN_ISWIN 0x0400 /* Understands Win32 messages */
-#define WIN_SAVEUNDER_OVERRIDE 0x0800
-
- /* BuildWinArray() flags */
-#define BWA_SKIPDISABLED 0x0001
-#define BWA_SKIPHIDDEN 0x0002
-#define BWA_SKIPOWNED 0x0004
-#define BWA_SKIPICONIC 0x0008
-
-
-#define SWP_DEFERERASE 0x2000
-
- /* Offsets for GetWindowLong() and GetWindowWord() */
-
-#define GWW_ID (-12)
-#define GWW_HWNDPARENT (-8)
-#define GWW_HINSTANCE (-6)
-#define GWL_WNDPROC (-4)
-
-
- /* Window functions */
-HANDLE WIN_CreateWindowEx( CREATESTRUCT *cs, ATOM atomName );
-#define WIN_FindWndPtr(hwnd) (WND *)hwnd
-//WND* WIN_FindWndPtr( HWND hwnd );
-void WIN_ReleaseWndPtr(WND *pWnd);
-WND* WIN_GetDesktop(void);
-void WIN_DumpWindow( HWND hwnd );
-void WIN_WalkWindows( HWND hwnd, int indent );
-WINBOOL WIN_UnlinkWindow( HWND hwnd );
-WINBOOL WIN_LinkWindow( HWND hwnd, HWND hwndInsertAfter );
-HWND WIN_FindWinToRepaint( HWND hwnd, HQUEUE hQueue );
-WINBOOL WIN_ResetQueueWindows( WND* wnd, HQUEUE hQueue, HQUEUE hNew);
-WINBOOL WIN_CreateDesktopWindow(void);
-HWND WIN_GetTopParent( HWND hwnd );
-WND* WIN_GetTopParentPtr( WND* pWnd );
-WINBOOL WIN_IsWindowDrawable(WND*, WINBOOL );
-HINSTANCE WIN_GetWindowInstance( HWND hwnd );
-WND** WIN_BuildWinArray( WND *wndPtr, UINT bwa, UINT* pnum );
-
-void WIN_UpdateNCArea(WND* wnd, WINBOOL bUpdate);
-
-void WIN_SendDestroyMsg( WND* pWnd );
-WINBOOL WIN_DestroyWindow( WND* wndPtr );
-HWND WIN_FindWindow( HWND parent, HWND child, ATOM className,
- LPCWSTR title );
-LONG WIN_GetWindowLong( HWND hwnd, INT offset );
-LONG WIN_SetWindowLong( HWND hwnd, INT offset, LONG newval );
-
-WINBOOL WIN_EnumChildWindows( WND **ppWnd, ENUMWINDOWSPROC func,
- LPARAM lParam );
-
-
-#endif /* __WINE_WIN_H */
+++ /dev/null
-/*
- * *DeferWindowPos() structure and definitions
- *
- * Copyright 1994 Alexandre Julliard
- */
-
-#ifndef __WINE_WINPOS_H
-#define __WINE_WINPOS_H
-
-#include <user32/win.h>
-
-#define DWP_MAGIC ((INT)('W' | ('P' << 8) | ('O' << ) | ('S' << 24)))
-
-/* undocumented SWP flags - from SDK 3.1 */
-#define SWP_NOCLIENTSIZE 0x0800
-#define SWP_NOCLIENTMOVE 0x1000
-
-#define SWP_DEFERERASE 0x2000
-
-
-#define HAS_DLGFRAME(style,exStyle) \
- (((exStyle) & WS_EX_DLGMODALFRAME) || \
- (((style) & WS_DLGFRAME) && !((style) & WS_BORDER)))
-
-#define HAS_THICKFRAME(style) \
- (((style) & WS_THICKFRAME) && \
- !(((style) & (WS_DLGFRAME|WS_BORDER)) == WS_DLGFRAME))
-
-#define SWP_AGG_NOGEOMETRYCHANGE \
- (SWP_NOSIZE | SWP_NOMOVE | SWP_NOCLIENTSIZE | SWP_NOCLIENTMOVE)
-#define SWP_AGG_NOPOSCHANGE \
- (SWP_AGG_NOGEOMETRYCHANGE | SWP_NOZORDER)
-#define SWP_AGG_STATUSFLAGS \
- (SWP_AGG_NOPOSCHANGE | SWP_FRAMECHANGED | SWP_HIDEWINDOW | SWP_SHOWWINDOW)
-
-#define EMPTYPOINT(pt) ((*(LONG*)&(pt)) == -1)
-
-#define PLACE_MIN 0x0001
-#define PLACE_MAX 0x0002
-#define PLACE_RECT 0x0004
-
-#define SMC_NOCOPY 0x0001
-#define SMC_NOPARENTERASE 0x0002
-#define SMC_DRAWFRAME 0x0004
-#define SMC_SETXPOS 0x0008
-
-typedef struct
-{
- INT actualCount;
- INT suggestedCount;
- WINBOOL valid;
- INT wMagic;
- HWND hwndParent;
- WINDOWPOS winPos[1];
-} DWP;
-
-WINBOOL WINPOS_RedrawIconTitle( HWND hWnd );
-WINBOOL WINPOS_ShowIconTitle( WND* pWnd, WINBOOL bShow );
-void WINPOS_GetMinMaxInfo( WND* pWnd, POINT *maxSize,
- POINT *maxPos, POINT *minTrack,
- POINT *maxTrack );
-UINT WINPOS_MinMaximize( WND* pWnd, UINT cmd, LPRECT lpPos);
-WINBOOL WINPOS_SetActiveWindow( HWND hWnd, WINBOOL fMouse,
- WINBOOL fChangeFocus );
-WINBOOL WINPOS_ChangeActiveWindow( HWND hwnd, WINBOOL mouseMsg );
-LONG WINPOS_SendNCCalcSize(HWND hwnd, WINBOOL calcValidRect,
- RECT *newWindowRect, RECT *oldWindowRect,
- RECT *oldClientRect, WINDOWPOS *winpos,
- RECT *newClientRect );
-LONG WINPOS_HandleWindowPosChanging(WND *wndPtr, WINDOWPOS *winpos);
-LONG WINPOS_HandleWindowPosChanging(WND *wndPtr, WINDOWPOS *winpos);
-INT WINPOS_WindowFromPoint( WND* scopeWnd, POINT pt, WND **ppWnd );
-void WINPOS_CheckInternalPos( HWND hwnd );
-WINBOOL WINPOS_ActivateOtherWindow(WND* pWnd);
-WINBOOL WINPOS_CreateInternalPosAtom(void);
-
-void WINPOS_GetWinOffset( HWND hwndFrom, HWND hwndTo,
- POINT *offset );
-WINBOOL WINPOS_CanActivate(WND* pWnd);
-LPINTERNALPOS WINPOS_InitInternalPos( WND* wnd, POINT pt,
- LPRECT restoreRect );
-WINBOOL WINPOS_SetPlacement( HWND hwnd, const WINDOWPLACEMENT *wndpl,
- UINT flags );
-
-void WINPOS_MoveWindowZOrder( HWND hwnd, HWND hwndAfter );
-
-UINT WINPOS_SizeMoveClean( WND* Wnd, HRGN oldVisRgn,
- LPRECT lpOldWndRect,
- LPRECT lpOldClientRect, UINT uFlags );
-
-HWND WINPOS_ReorderOwnedPopups(HWND hwndInsertAfter,WND* wndPtr,WORD flags);
-
-#endif /* __WINE_WINPOS_H */
+++ /dev/null
-/*
- * Window procedure callbacks definitions
- *
- * Copyright 1996 Alexandre Julliard
- */
-
-#ifndef __WINE_WINPROC_H
-#define __WINE_WINPROC_H
-
-#include <windows.h>
-
-typedef enum
-{
- WIN_PROC_A,
- WIN_PROC_W
-} WINDOWPROCTYPE;
-
-typedef enum
-{
- WIN_PROC_CLASS,
- WIN_PROC_WINDOW,
- WIN_PROC_TIMER
-} WINDOWPROCUSER;
-
-
-typedef HANDLE HWINDOWPROC;
-// base.h defines WNDPROC
-
-typedef struct _MSGPARAM
-{
- WPARAM wParam;
- LPARAM lParam;
- LRESULT lResult;
-} MSGPARAM;
-
-
-WINBOOL WINPROC_Init(void);
-WNDPROC WINPROC_GetProc( HWINDOWPROC proc, WINDOWPROCTYPE type );
-WINBOOL WINPROC_SetProc( HWINDOWPROC *pFirst, WNDPROC func,
- WINDOWPROCTYPE type, WINDOWPROCUSER user );
-void WINPROC_FreeProc( HWINDOWPROC proc, WINDOWPROCUSER user );
-WINDOWPROCTYPE WINPROC_GetProcType( HWINDOWPROC proc );
-
-INT WINPROC_MapMsg32ATo32W( HWND hwnd, UINT msg, WPARAM wParam, LPARAM *plparam );
-void WINPROC_UnmapMsg32ATo32W( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam );
-INT WINPROC_MapMsg32WTo32A( HWND hwnd, UINT msg, WPARAM wParam, LPARAM *plparam );
-void WINPROC_UnmapMsg32WTo32A( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam );
-
-
-#endif /* __WINE_WINPROC_H */