Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c57b5057
Commit
c57b5057
authored
Nov 07, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Make all internal user32 functions and variables hidden.
parent
9a368cc4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
146 additions
and
146 deletions
+146
-146
class.c
dlls/user32/class.c
+0
-13
controls.h
dlls/user32/controls.h
+46
-33
dde_private.h
dlls/user32/dde_private.h
+40
-40
user_private.h
dlls/user32/user_private.h
+37
-37
win.h
include/win.h
+23
-23
No files found.
dlls/user32/class.c
View file @
c57b5057
...
@@ -414,19 +414,6 @@ static WNDPROC register_builtin( const struct builtin_class_descr *descr )
...
@@ -414,19 +414,6 @@ static WNDPROC register_builtin( const struct builtin_class_descr *descr )
*/
*/
void
CLASS_RegisterBuiltinClasses
(
void
)
void
CLASS_RegisterBuiltinClasses
(
void
)
{
{
extern
const
struct
builtin_class_descr
BUTTON_builtin_class
;
extern
const
struct
builtin_class_descr
COMBO_builtin_class
;
extern
const
struct
builtin_class_descr
COMBOLBOX_builtin_class
;
extern
const
struct
builtin_class_descr
DIALOG_builtin_class
;
extern
const
struct
builtin_class_descr
DESKTOP_builtin_class
;
extern
const
struct
builtin_class_descr
EDIT_builtin_class
;
extern
const
struct
builtin_class_descr
ICONTITLE_builtin_class
;
extern
const
struct
builtin_class_descr
LISTBOX_builtin_class
;
extern
const
struct
builtin_class_descr
MDICLIENT_builtin_class
;
extern
const
struct
builtin_class_descr
MENU_builtin_class
;
extern
const
struct
builtin_class_descr
SCROLL_builtin_class
;
extern
const
struct
builtin_class_descr
STATIC_builtin_class
;
register_builtin
(
&
DESKTOP_builtin_class
);
register_builtin
(
&
DESKTOP_builtin_class
);
register_builtin
(
&
BUTTON_builtin_class
);
register_builtin
(
&
BUTTON_builtin_class
);
register_builtin
(
&
COMBO_builtin_class
);
register_builtin
(
&
COMBO_builtin_class
);
...
...
dlls/user32/controls.h
View file @
c57b5057
...
@@ -43,53 +43,66 @@ struct builtin_class_descr
...
@@ -43,53 +43,66 @@ struct builtin_class_descr
HBRUSH
brush
;
/* brush or system color */
HBRUSH
brush
;
/* brush or system color */
};
};
extern
WNDPROC
EDIT_winproc_handle
;
extern
const
struct
builtin_class_descr
BUTTON_builtin_class
DECLSPEC_HIDDEN
;
extern
const
struct
builtin_class_descr
COMBO_builtin_class
DECLSPEC_HIDDEN
;
extern
const
struct
builtin_class_descr
COMBOLBOX_builtin_class
DECLSPEC_HIDDEN
;
extern
const
struct
builtin_class_descr
DIALOG_builtin_class
DECLSPEC_HIDDEN
;
extern
const
struct
builtin_class_descr
DESKTOP_builtin_class
DECLSPEC_HIDDEN
;
extern
const
struct
builtin_class_descr
EDIT_builtin_class
DECLSPEC_HIDDEN
;
extern
const
struct
builtin_class_descr
ICONTITLE_builtin_class
DECLSPEC_HIDDEN
;
extern
const
struct
builtin_class_descr
LISTBOX_builtin_class
DECLSPEC_HIDDEN
;
extern
const
struct
builtin_class_descr
MDICLIENT_builtin_class
DECLSPEC_HIDDEN
;
extern
const
struct
builtin_class_descr
MENU_builtin_class
DECLSPEC_HIDDEN
;
extern
const
struct
builtin_class_descr
SCROLL_builtin_class
DECLSPEC_HIDDEN
;
extern
const
struct
builtin_class_descr
STATIC_builtin_class
DECLSPEC_HIDDEN
;
extern
WNDPROC
EDIT_winproc_handle
DECLSPEC_HIDDEN
;
/* Class functions */
/* Class functions */
struct
tagCLASS
;
/* opaque structure */
struct
tagCLASS
;
/* opaque structure */
struct
tagWND
;
struct
tagWND
;
extern
ATOM
get_int_atom_value
(
LPCWSTR
name
);
extern
ATOM
get_int_atom_value
(
LPCWSTR
name
)
DECLSPEC_HIDDEN
;
extern
void
CLASS_RegisterBuiltinClasses
(
void
);
extern
void
CLASS_RegisterBuiltinClasses
(
void
)
DECLSPEC_HIDDEN
;
extern
void
CLASS_AddWindow
(
struct
tagCLASS
*
class
,
struct
tagWND
*
win
,
BOOL
unicode
);
extern
void
CLASS_AddWindow
(
struct
tagCLASS
*
class
,
struct
tagWND
*
win
,
BOOL
unicode
)
DECLSPEC_HIDDEN
;
extern
void
CLASS_FreeModuleClasses
(
HMODULE16
hModule
);
extern
void
CLASS_FreeModuleClasses
(
HMODULE16
hModule
)
DECLSPEC_HIDDEN
;
/* defwnd proc */
/* defwnd proc */
extern
HBRUSH
DEFWND_ControlColor
(
HDC
hDC
,
UINT
ctlType
);
extern
HBRUSH
DEFWND_ControlColor
(
HDC
hDC
,
UINT
ctlType
)
DECLSPEC_HIDDEN
;
/* desktop */
/* desktop */
extern
BOOL
DESKTOP_SetPattern
(
LPCWSTR
pattern
);
extern
BOOL
DESKTOP_SetPattern
(
LPCWSTR
pattern
)
DECLSPEC_HIDDEN
;
/* icon title */
/* icon title */
extern
HWND
ICONTITLE_Create
(
HWND
hwnd
);
extern
HWND
ICONTITLE_Create
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
/* menu controls */
/* menu controls */
extern
HWND
MENU_IsMenuActive
(
void
);
extern
HWND
MENU_IsMenuActive
(
void
)
DECLSPEC_HIDDEN
;
extern
UINT
MENU_GetMenuBarHeight
(
HWND
hwnd
,
UINT
menubarWidth
,
extern
UINT
MENU_GetMenuBarHeight
(
HWND
hwnd
,
UINT
menubarWidth
,
INT
orgX
,
INT
orgY
);
INT
orgX
,
INT
orgY
)
DECLSPEC_HIDDEN
;
extern
BOOL
MENU_SetMenu
(
HWND
,
HMENU
);
extern
BOOL
MENU_SetMenu
(
HWND
,
HMENU
)
DECLSPEC_HIDDEN
;
extern
void
MENU_TrackMouseMenuBar
(
HWND
hwnd
,
INT
ht
,
POINT
pt
);
extern
void
MENU_TrackMouseMenuBar
(
HWND
hwnd
,
INT
ht
,
POINT
pt
)
DECLSPEC_HIDDEN
;
extern
void
MENU_TrackKbdMenuBar
(
HWND
hwnd
,
UINT
wParam
,
WCHAR
wChar
);
extern
void
MENU_TrackKbdMenuBar
(
HWND
hwnd
,
UINT
wParam
,
WCHAR
wChar
)
DECLSPEC_HIDDEN
;
extern
UINT
MENU_DrawMenuBar
(
HDC
hDC
,
LPRECT
lprect
,
extern
UINT
MENU_DrawMenuBar
(
HDC
hDC
,
LPRECT
lprect
,
HWND
hwnd
,
BOOL
suppress_draw
);
HWND
hwnd
,
BOOL
suppress_draw
)
DECLSPEC_HIDDEN
;
extern
UINT
MENU_FindSubMenu
(
HMENU
*
hmenu
,
HMENU
hSubTarget
);
extern
UINT
MENU_FindSubMenu
(
HMENU
*
hmenu
,
HMENU
hSubTarget
)
DECLSPEC_HIDDEN
;
/* nonclient area */
/* nonclient area */
extern
LRESULT
NC_HandleNCPaint
(
HWND
hwnd
,
HRGN
clip
);
extern
LRESULT
NC_HandleNCPaint
(
HWND
hwnd
,
HRGN
clip
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleNCActivate
(
HWND
hwnd
,
WPARAM
wParam
);
extern
LRESULT
NC_HandleNCActivate
(
HWND
hwnd
,
WPARAM
wParam
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleNCCalcSize
(
HWND
hwnd
,
RECT
*
winRect
);
extern
LRESULT
NC_HandleNCCalcSize
(
HWND
hwnd
,
RECT
*
winRect
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleNCHitTest
(
HWND
hwnd
,
POINT
pt
);
extern
LRESULT
NC_HandleNCHitTest
(
HWND
hwnd
,
POINT
pt
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleNCLButtonDown
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
LRESULT
NC_HandleNCLButtonDown
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleNCLButtonDblClk
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
LRESULT
NC_HandleNCLButtonDblClk
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleSysCommand
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
LRESULT
NC_HandleSysCommand
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleSetCursor
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
LRESULT
NC_HandleSetCursor
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
BOOL
NC_DrawSysButton
(
HWND
hwnd
,
HDC
hdc
,
BOOL
down
);
extern
BOOL
NC_DrawSysButton
(
HWND
hwnd
,
HDC
hdc
,
BOOL
down
)
DECLSPEC_HIDDEN
;
extern
void
NC_GetSysPopupPos
(
HWND
hwnd
,
RECT
*
rect
);
extern
void
NC_GetSysPopupPos
(
HWND
hwnd
,
RECT
*
rect
)
DECLSPEC_HIDDEN
;
/* scrollbar */
/* scrollbar */
extern
void
SCROLL_DrawScrollBar
(
HWND
hwnd
,
HDC
hdc
,
INT
nBar
,
BOOL
arrows
,
BOOL
interior
);
extern
void
SCROLL_DrawScrollBar
(
HWND
hwnd
,
HDC
hdc
,
INT
nBar
,
BOOL
arrows
,
BOOL
interior
)
DECLSPEC_HIDDEN
;
extern
void
SCROLL_TrackScrollBar
(
HWND
hwnd
,
INT
scrollbar
,
POINT
pt
);
extern
void
SCROLL_TrackScrollBar
(
HWND
hwnd
,
INT
scrollbar
,
POINT
pt
)
DECLSPEC_HIDDEN
;
extern
INT
SCROLL_SetNCSbState
(
HWND
hwnd
,
int
vMin
,
int
vMax
,
int
vPos
,
extern
INT
SCROLL_SetNCSbState
(
HWND
hwnd
,
int
vMin
,
int
vMax
,
int
vPos
,
int
hMin
,
int
hMax
,
int
hPos
);
int
hMin
,
int
hMax
,
int
hPos
)
DECLSPEC_HIDDEN
;
/* combo box */
/* combo box */
...
@@ -131,7 +144,7 @@ typedef struct
...
@@ -131,7 +144,7 @@ typedef struct
INT
editHeight
;
/* explicitly */
INT
editHeight
;
/* explicitly */
}
HEADCOMBO
,
*
LPHEADCOMBO
;
}
HEADCOMBO
,
*
LPHEADCOMBO
;
extern
BOOL
COMBO_FlipListbox
(
LPHEADCOMBO
,
BOOL
,
BOOL
);
extern
BOOL
COMBO_FlipListbox
(
LPHEADCOMBO
,
BOOL
,
BOOL
)
DECLSPEC_HIDDEN
;
/* Dialog info structure */
/* Dialog info structure */
typedef
struct
typedef
struct
...
@@ -152,9 +165,9 @@ typedef struct
...
@@ -152,9 +165,9 @@ typedef struct
/* offset of DIALOGINFO ptr in dialog extra bytes */
/* offset of DIALOGINFO ptr in dialog extra bytes */
#define DWLP_WINE_DIALOGINFO (DWLP_USER+sizeof(ULONG_PTR))
#define DWLP_WINE_DIALOGINFO (DWLP_USER+sizeof(ULONG_PTR))
extern
DIALOGINFO
*
DIALOG_get_info
(
HWND
hwnd
,
BOOL
create
);
extern
DIALOGINFO
*
DIALOG_get_info
(
HWND
hwnd
,
BOOL
create
)
DECLSPEC_HIDDEN
;
extern
void
DIALOG_EnableOwner
(
HWND
hOwner
);
extern
void
DIALOG_EnableOwner
(
HWND
hOwner
)
DECLSPEC_HIDDEN
;
extern
BOOL
DIALOG_DisableOwner
(
HWND
hOwner
);
extern
BOOL
DIALOG_DisableOwner
(
HWND
hOwner
)
DECLSPEC_HIDDEN
;
extern
INT
DIALOG_DoDialogBox
(
HWND
hwnd
,
HWND
owner
);
extern
INT
DIALOG_DoDialogBox
(
HWND
hwnd
,
HWND
owner
)
DECLSPEC_HIDDEN
;
#endif
/* __WINE_CONTROLS_H */
#endif
/* __WINE_CONTROLS_H */
dlls/user32/dde_private.h
View file @
c57b5057
...
@@ -188,69 +188,69 @@ typedef enum {
...
@@ -188,69 +188,69 @@ typedef enum {
extern
HDDEDATA
WDML_InvokeCallback
(
WDML_INSTANCE
*
pInst
,
UINT
uType
,
UINT
uFmt
,
HCONV
hConv
,
extern
HDDEDATA
WDML_InvokeCallback
(
WDML_INSTANCE
*
pInst
,
UINT
uType
,
UINT
uFmt
,
HCONV
hConv
,
HSZ
hsz1
,
HSZ
hsz2
,
HDDEDATA
hdata
,
HSZ
hsz1
,
HSZ
hsz2
,
HDDEDATA
hdata
,
ULONG_PTR
dwData1
,
ULONG_PTR
dwData2
);
ULONG_PTR
dwData1
,
ULONG_PTR
dwData2
)
DECLSPEC_HIDDEN
;
extern
HDDEDATA
WDML_InvokeCallback16
(
PFNCALLBACK
pfn
,
UINT
uType
,
UINT
uFmt
,
HCONV
hConv
,
extern
HDDEDATA
WDML_InvokeCallback16
(
PFNCALLBACK
pfn
,
UINT
uType
,
UINT
uFmt
,
HCONV
hConv
,
HSZ
hsz1
,
HSZ
hsz2
,
HDDEDATA
hdata
,
HSZ
hsz1
,
HSZ
hsz2
,
HDDEDATA
hdata
,
DWORD
dwData1
,
DWORD
dwData2
);
DWORD
dwData1
,
DWORD
dwData2
)
DECLSPEC_HIDDEN
;
extern
WDML_SERVER
*
WDML_AddServer
(
WDML_INSTANCE
*
pInstance
,
HSZ
hszService
,
HSZ
hszTopic
);
extern
WDML_SERVER
*
WDML_AddServer
(
WDML_INSTANCE
*
pInstance
,
HSZ
hszService
,
HSZ
hszTopic
)
DECLSPEC_HIDDEN
;
extern
void
WDML_RemoveServer
(
WDML_INSTANCE
*
pInstance
,
HSZ
hszService
,
HSZ
hszTopic
);
extern
void
WDML_RemoveServer
(
WDML_INSTANCE
*
pInstance
,
HSZ
hszService
,
HSZ
hszTopic
)
DECLSPEC_HIDDEN
;
extern
WDML_SERVER
*
WDML_FindServer
(
WDML_INSTANCE
*
pInstance
,
HSZ
hszService
,
HSZ
hszTopic
);
extern
WDML_SERVER
*
WDML_FindServer
(
WDML_INSTANCE
*
pInstance
,
HSZ
hszService
,
HSZ
hszTopic
)
DECLSPEC_HIDDEN
;
/* transaction handler on the server side */
/* transaction handler on the server side */
extern
WDML_QUEUE_STATE
WDML_ServerHandle
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
);
extern
WDML_QUEUE_STATE
WDML_ServerHandle
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
)
DECLSPEC_HIDDEN
;
/* transaction handler on the client side */
/* transaction handler on the client side */
HDDEDATA
WDML_ClientHandle
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
,
DWORD
dwTimeout
,
LPDWORD
pdwResult
);
HDDEDATA
WDML_ClientHandle
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
,
DWORD
dwTimeout
,
LPDWORD
pdwResult
)
DECLSPEC_HIDDEN
;
/* called both in DdeClientTransaction and server side. */
/* called both in DdeClientTransaction and server side. */
extern
UINT
WDML_Initialize
(
LPDWORD
pidInst
,
PFNCALLBACK
pfnCallback
,
extern
UINT
WDML_Initialize
(
LPDWORD
pidInst
,
PFNCALLBACK
pfnCallback
,
DWORD
afCmd
,
DWORD
ulRes
,
BOOL
bUnicode
,
BOOL
b16
);
DWORD
afCmd
,
DWORD
ulRes
,
BOOL
bUnicode
,
BOOL
b16
)
DECLSPEC_HIDDEN
;
extern
WDML_CONV
*
WDML_AddConv
(
WDML_INSTANCE
*
pInstance
,
WDML_SIDE
side
,
extern
WDML_CONV
*
WDML_AddConv
(
WDML_INSTANCE
*
pInstance
,
WDML_SIDE
side
,
HSZ
hszService
,
HSZ
hszTopic
,
HWND
hwndClient
,
HWND
hwndServer
);
HSZ
hszService
,
HSZ
hszTopic
,
HWND
hwndClient
,
HWND
hwndServer
)
DECLSPEC_HIDDEN
;
extern
void
WDML_RemoveConv
(
WDML_CONV
*
pConv
,
WDML_SIDE
side
);
extern
void
WDML_RemoveConv
(
WDML_CONV
*
pConv
,
WDML_SIDE
side
)
DECLSPEC_HIDDEN
;
extern
WDML_CONV
*
WDML_GetConv
(
HCONV
hConv
,
BOOL
checkConnected
);
extern
WDML_CONV
*
WDML_GetConv
(
HCONV
hConv
,
BOOL
checkConnected
)
DECLSPEC_HIDDEN
;
extern
WDML_CONV
*
WDML_GetConvFromWnd
(
HWND
hWnd
);
extern
WDML_CONV
*
WDML_GetConvFromWnd
(
HWND
hWnd
)
DECLSPEC_HIDDEN
;
extern
WDML_CONV
*
WDML_FindConv
(
WDML_INSTANCE
*
pInstance
,
WDML_SIDE
side
,
extern
WDML_CONV
*
WDML_FindConv
(
WDML_INSTANCE
*
pInstance
,
WDML_SIDE
side
,
HSZ
hszService
,
HSZ
hszTopic
);
HSZ
hszService
,
HSZ
hszTopic
)
DECLSPEC_HIDDEN
;
extern
BOOL
WDML_PostAck
(
WDML_CONV
*
pConv
,
WDML_SIDE
side
,
WORD
appRetCode
,
extern
BOOL
WDML_PostAck
(
WDML_CONV
*
pConv
,
WDML_SIDE
side
,
WORD
appRetCode
,
BOOL
fBusy
,
BOOL
fAck
,
UINT_PTR
pmt
,
LPARAM
lParam
,
UINT
oldMsg
);
BOOL
fBusy
,
BOOL
fAck
,
UINT_PTR
pmt
,
LPARAM
lParam
,
UINT
oldMsg
)
DECLSPEC_HIDDEN
;
extern
void
WDML_AddLink
(
WDML_INSTANCE
*
pInstance
,
HCONV
hConv
,
WDML_SIDE
side
,
extern
void
WDML_AddLink
(
WDML_INSTANCE
*
pInstance
,
HCONV
hConv
,
WDML_SIDE
side
,
UINT
wType
,
HSZ
hszItem
,
UINT
wFmt
);
UINT
wType
,
HSZ
hszItem
,
UINT
wFmt
)
DECLSPEC_HIDDEN
;
extern
WDML_LINK
*
WDML_FindLink
(
WDML_INSTANCE
*
pInstance
,
HCONV
hConv
,
WDML_SIDE
side
,
extern
WDML_LINK
*
WDML_FindLink
(
WDML_INSTANCE
*
pInstance
,
HCONV
hConv
,
WDML_SIDE
side
,
HSZ
hszItem
,
BOOL
use_fmt
,
UINT
uFmt
);
HSZ
hszItem
,
BOOL
use_fmt
,
UINT
uFmt
)
DECLSPEC_HIDDEN
;
extern
void
WDML_RemoveLink
(
WDML_INSTANCE
*
pInstance
,
HCONV
hConv
,
WDML_SIDE
side
,
extern
void
WDML_RemoveLink
(
WDML_INSTANCE
*
pInstance
,
HCONV
hConv
,
WDML_SIDE
side
,
HSZ
hszItem
,
UINT
wFmt
);
HSZ
hszItem
,
UINT
wFmt
)
DECLSPEC_HIDDEN
;
extern
void
WDML_RemoveAllLinks
(
WDML_INSTANCE
*
pInstance
,
WDML_CONV
*
pConv
,
WDML_SIDE
side
);
extern
void
WDML_RemoveAllLinks
(
WDML_INSTANCE
*
pInstance
,
WDML_CONV
*
pConv
,
WDML_SIDE
side
)
DECLSPEC_HIDDEN
;
/* string internals */
/* string internals */
extern
void
WDML_FreeAllHSZ
(
WDML_INSTANCE
*
pInstance
);
extern
void
WDML_FreeAllHSZ
(
WDML_INSTANCE
*
pInstance
)
DECLSPEC_HIDDEN
;
extern
BOOL
WDML_DecHSZ
(
WDML_INSTANCE
*
pInstance
,
HSZ
hsz
);
extern
BOOL
WDML_DecHSZ
(
WDML_INSTANCE
*
pInstance
,
HSZ
hsz
)
DECLSPEC_HIDDEN
;
extern
BOOL
WDML_IncHSZ
(
WDML_INSTANCE
*
pInstance
,
HSZ
hsz
);
extern
BOOL
WDML_IncHSZ
(
WDML_INSTANCE
*
pInstance
,
HSZ
hsz
)
DECLSPEC_HIDDEN
;
extern
ATOM
WDML_MakeAtomFromHsz
(
HSZ
hsz
);
extern
ATOM
WDML_MakeAtomFromHsz
(
HSZ
hsz
)
DECLSPEC_HIDDEN
;
extern
HSZ
WDML_MakeHszFromAtom
(
WDML_INSTANCE
*
pInstance
,
ATOM
atom
);
extern
HSZ
WDML_MakeHszFromAtom
(
WDML_INSTANCE
*
pInstance
,
ATOM
atom
)
DECLSPEC_HIDDEN
;
/* client calls these */
/* client calls these */
extern
WDML_XACT
*
WDML_AllocTransaction
(
WDML_INSTANCE
*
pInstance
,
UINT
ddeMsg
,
UINT
wFmt
,
HSZ
hszItem
);
extern
WDML_XACT
*
WDML_AllocTransaction
(
WDML_INSTANCE
*
pInstance
,
UINT
ddeMsg
,
UINT
wFmt
,
HSZ
hszItem
)
DECLSPEC_HIDDEN
;
extern
void
WDML_QueueTransaction
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
);
extern
void
WDML_QueueTransaction
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
)
DECLSPEC_HIDDEN
;
extern
BOOL
WDML_UnQueueTransaction
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
);
extern
BOOL
WDML_UnQueueTransaction
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
)
DECLSPEC_HIDDEN
;
extern
void
WDML_FreeTransaction
(
WDML_INSTANCE
*
pInstance
,
WDML_XACT
*
pXAct
,
BOOL
doFreePmt
);
extern
void
WDML_FreeTransaction
(
WDML_INSTANCE
*
pInstance
,
WDML_XACT
*
pXAct
,
BOOL
doFreePmt
)
DECLSPEC_HIDDEN
;
extern
WDML_XACT
*
WDML_FindTransaction
(
WDML_CONV
*
pConv
,
DWORD
tid
);
extern
WDML_XACT
*
WDML_FindTransaction
(
WDML_CONV
*
pConv
,
DWORD
tid
)
DECLSPEC_HIDDEN
;
extern
HGLOBAL
WDML_DataHandle2Global
(
HDDEDATA
hDdeData
,
BOOL
fResponse
,
BOOL
fRelease
,
extern
HGLOBAL
WDML_DataHandle2Global
(
HDDEDATA
hDdeData
,
BOOL
fResponse
,
BOOL
fRelease
,
BOOL
fDeferUpd
,
BOOL
dAckReq
);
BOOL
fDeferUpd
,
BOOL
dAckReq
)
DECLSPEC_HIDDEN
;
extern
HDDEDATA
WDML_Global2DataHandle
(
HGLOBAL
hMem
,
WINE_DDEHEAD
*
da
);
extern
HDDEDATA
WDML_Global2DataHandle
(
HGLOBAL
hMem
,
WINE_DDEHEAD
*
da
)
DECLSPEC_HIDDEN
;
extern
BOOL
WDML_IsAppOwned
(
HDDEDATA
hDdeData
);
extern
BOOL
WDML_IsAppOwned
(
HDDEDATA
hDdeData
)
DECLSPEC_HIDDEN
;
extern
WDML_INSTANCE
*
WDML_GetInstance
(
DWORD
InstId
);
extern
WDML_INSTANCE
*
WDML_GetInstance
(
DWORD
InstId
)
DECLSPEC_HIDDEN
;
extern
WDML_INSTANCE
*
WDML_GetInstanceFromWnd
(
HWND
hWnd
);
extern
WDML_INSTANCE
*
WDML_GetInstanceFromWnd
(
HWND
hWnd
)
DECLSPEC_HIDDEN
;
/* broadcasting to DDE windows */
/* broadcasting to DDE windows */
extern
void
WDML_BroadcastDDEWindows
(
LPCWSTR
clsName
,
UINT
uMsg
,
extern
void
WDML_BroadcastDDEWindows
(
LPCWSTR
clsName
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
);
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
void
WDML_NotifyThreadExit
(
DWORD
tid
);
extern
void
WDML_NotifyThreadExit
(
DWORD
tid
)
DECLSPEC_HIDDEN
;
static
inline
void
WDML_ExtractAck
(
WORD
status
,
DDEACK
*
da
)
static
inline
void
WDML_ExtractAck
(
WORD
status
,
DDEACK
*
da
)
{
{
*
da
=
*
((
DDEACK
*
)
&
status
);
*
da
=
*
((
DDEACK
*
)
&
status
);
}
}
extern
const
WCHAR
WDML_szEventClass
[];
/* class of window for events (aka instance) */
extern
const
WCHAR
WDML_szEventClass
[]
DECLSPEC_HIDDEN
;
/* class of window for events (aka instance) */
extern
const
char
WDML_szServerConvClassA
[];
/* ANSI class of window for server side conv */
extern
const
char
WDML_szServerConvClassA
[]
DECLSPEC_HIDDEN
;
/* ANSI class of window for server side conv */
extern
const
WCHAR
WDML_szServerConvClassW
[];
/* unicode class of window for server side conv */
extern
const
WCHAR
WDML_szServerConvClassW
[]
DECLSPEC_HIDDEN
;
/* unicode class of window for server side conv */
extern
const
char
WDML_szClientConvClassA
[];
/* ANSI class of window for client side conv */
extern
const
char
WDML_szClientConvClassA
[]
DECLSPEC_HIDDEN
;
/* ANSI class of window for client side conv */
extern
const
WCHAR
WDML_szClientConvClassW
[];
/* unicode class of window for client side conv */
extern
const
WCHAR
WDML_szClientConvClassW
[]
DECLSPEC_HIDDEN
;
/* unicode class of window for client side conv */
#define WM_WDML_REGISTER (WM_USER + 0x200)
#define WM_WDML_REGISTER (WM_USER + 0x200)
#define WM_WDML_UNREGISTER (WM_USER + 0x201)
#define WM_WDML_UNREGISTER (WM_USER + 0x201)
...
...
dlls/user32/user_private.h
View file @
c57b5057
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#include "wine/windef16.h"
#include "wine/windef16.h"
#include "wine/winbase16.h"
#include "wine/winbase16.h"
extern
WORD
USER_HeapSel
;
extern
WORD
USER_HeapSel
DECLSPEC_HIDDEN
;
static
inline
HLOCAL16
LOCAL_Alloc
(
HANDLE16
ds
,
UINT16
flags
,
WORD
size
)
static
inline
HLOCAL16
LOCAL_Alloc
(
HANDLE16
ds
,
UINT16
flags
,
WORD
size
)
{
{
...
@@ -161,9 +161,9 @@ typedef struct tagUSER_DRIVER {
...
@@ -161,9 +161,9 @@ typedef struct tagUSER_DRIVER {
LRESULT
(
*
pWindowMessage
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
LRESULT
(
*
pWindowMessage
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
}
USER_DRIVER
;
}
USER_DRIVER
;
extern
const
USER_DRIVER
*
USER_Driver
;
extern
const
USER_DRIVER
*
USER_Driver
DECLSPEC_HIDDEN
;
extern
void
USER_unload_driver
(
void
);
extern
void
USER_unload_driver
(
void
)
DECLSPEC_HIDDEN
;
struct
received_message_info
;
struct
received_message_info
;
struct
hook16_queue_info
;
struct
hook16_queue_info
;
...
@@ -227,50 +227,50 @@ static inline BOOL is_broadcast( HWND hwnd )
...
@@ -227,50 +227,50 @@ static inline BOOL is_broadcast( HWND hwnd )
return
(
hwnd
==
HWND_BROADCAST
||
hwnd
==
HWND_TOPMOST
);
return
(
hwnd
==
HWND_BROADCAST
||
hwnd
==
HWND_TOPMOST
);
}
}
extern
HMODULE
user32_module
;
extern
HMODULE
user32_module
DECLSPEC_HIDDEN
;
extern
DWORD
USER16_AlertableWait
;
extern
DWORD
USER16_AlertableWait
DECLSPEC_HIDDEN
;
extern
HBRUSH
SYSCOLOR_55AABrush
;
extern
HBRUSH
SYSCOLOR_55AABrush
DECLSPEC_HIDDEN
;
extern
BOOL
CLIPBOARD_ReleaseOwner
(
void
);
extern
BOOL
CLIPBOARD_ReleaseOwner
(
void
)
DECLSPEC_HIDDEN
;
extern
BOOL
FOCUS_MouseActivate
(
HWND
hwnd
);
extern
BOOL
FOCUS_MouseActivate
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
BOOL
HOOK_IsHooked
(
INT
id
);
extern
BOOL
HOOK_IsHooked
(
INT
id
)
DECLSPEC_HIDDEN
;
extern
void
erase_now
(
HWND
hwnd
,
UINT
rdw_flags
);
extern
void
erase_now
(
HWND
hwnd
,
UINT
rdw_flags
)
DECLSPEC_HIDDEN
;
extern
LRESULT
call_current_hook
(
HHOOK
hhook
,
INT
code
,
WPARAM
wparam
,
LPARAM
lparam
);
extern
LRESULT
call_current_hook
(
HHOOK
hhook
,
INT
code
,
WPARAM
wparam
,
LPARAM
lparam
)
DECLSPEC_HIDDEN
;
extern
BOOL
map_wparam_AtoW
(
UINT
message
,
WPARAM
*
wparam
,
enum
wm_char_mapping
mapping
);
extern
BOOL
map_wparam_AtoW
(
UINT
message
,
WPARAM
*
wparam
,
enum
wm_char_mapping
mapping
)
DECLSPEC_HIDDEN
;
extern
LRESULT
MSG_SendInternalMessageTimeout
(
DWORD
dest_pid
,
DWORD
dest_tid
,
extern
LRESULT
MSG_SendInternalMessageTimeout
(
DWORD
dest_pid
,
DWORD
dest_tid
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
,
UINT
flags
,
UINT
timeout
,
PDWORD_PTR
res_ptr
);
UINT
flags
,
UINT
timeout
,
PDWORD_PTR
res_ptr
)
DECLSPEC_HIDDEN
;
extern
HPEN
SYSCOLOR_GetPen
(
INT
index
);
extern
HPEN
SYSCOLOR_GetPen
(
INT
index
)
DECLSPEC_HIDDEN
;
extern
void
SYSPARAMS_Init
(
void
);
extern
void
SYSPARAMS_Init
(
void
)
DECLSPEC_HIDDEN
;
extern
void
USER_CheckNotLock
(
void
);
extern
void
USER_CheckNotLock
(
void
)
DECLSPEC_HIDDEN
;
extern
BOOL
USER_IsExitingThread
(
DWORD
tid
);
extern
BOOL
USER_IsExitingThread
(
DWORD
tid
)
DECLSPEC_HIDDEN
;
extern
BOOL
USER_SetWindowPos
(
WINDOWPOS
*
winpos
);
extern
BOOL
USER_SetWindowPos
(
WINDOWPOS
*
winpos
)
DECLSPEC_HIDDEN
;
typedef
LRESULT
(
*
winproc_callback_t
)(
HWND
hwnd
,
UINT
msg
,
WPARAM
wp
,
LPARAM
lp
,
typedef
LRESULT
(
*
winproc_callback_t
)(
HWND
hwnd
,
UINT
msg
,
WPARAM
wp
,
LPARAM
lp
,
LRESULT
*
result
,
void
*
arg
);
LRESULT
*
result
,
void
*
arg
);
typedef
LRESULT
(
*
winproc_callback16_t
)(
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wp
,
LPARAM
lp
,
typedef
LRESULT
(
*
winproc_callback16_t
)(
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wp
,
LPARAM
lp
,
LRESULT
*
result
,
void
*
arg
);
LRESULT
*
result
,
void
*
arg
);
extern
WNDPROC16
WINPROC_GetProc16
(
WNDPROC
proc
,
BOOL
unicode
);
extern
WNDPROC16
WINPROC_GetProc16
(
WNDPROC
proc
,
BOOL
unicode
)
DECLSPEC_HIDDEN
;
extern
WNDPROC
WINPROC_AllocProc16
(
WNDPROC16
func
);
extern
WNDPROC
WINPROC_AllocProc16
(
WNDPROC16
func
)
DECLSPEC_HIDDEN
;
extern
WNDPROC
WINPROC_GetProc
(
WNDPROC
proc
,
BOOL
unicode
);
extern
WNDPROC
WINPROC_GetProc
(
WNDPROC
proc
,
BOOL
unicode
)
DECLSPEC_HIDDEN
;
extern
WNDPROC
WINPROC_AllocProc
(
WNDPROC
funcA
,
WNDPROC
funcW
);
extern
WNDPROC
WINPROC_AllocProc
(
WNDPROC
funcA
,
WNDPROC
funcW
)
DECLSPEC_HIDDEN
;
extern
BOOL
WINPROC_IsUnicode
(
WNDPROC
proc
,
BOOL
def_val
);
extern
BOOL
WINPROC_IsUnicode
(
WNDPROC
proc
,
BOOL
def_val
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WINPROC_CallProcAtoW
(
winproc_callback_t
callback
,
HWND
hwnd
,
UINT
msg
,
extern
LRESULT
WINPROC_CallProcAtoW
(
winproc_callback_t
callback
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
,
LRESULT
*
result
,
void
*
arg
,
WPARAM
wParam
,
LPARAM
lParam
,
LRESULT
*
result
,
void
*
arg
,
enum
wm_char_mapping
mapping
);
enum
wm_char_mapping
mapping
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WINPROC_CallProc16To32A
(
winproc_callback_t
callback
,
HWND16
hwnd
,
UINT16
msg
,
extern
LRESULT
WINPROC_CallProc16To32A
(
winproc_callback_t
callback
,
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wParam
,
LPARAM
lParam
,
LRESULT
*
result
,
void
*
arg
);
WPARAM16
wParam
,
LPARAM
lParam
,
LRESULT
*
result
,
void
*
arg
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WINPROC_CallProc32ATo16
(
winproc_callback16_t
callback
,
HWND
hwnd
,
UINT
msg
,
extern
LRESULT
WINPROC_CallProc32ATo16
(
winproc_callback16_t
callback
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
,
LRESULT
*
result
,
void
*
arg
);
WPARAM
wParam
,
LPARAM
lParam
,
LRESULT
*
result
,
void
*
arg
)
DECLSPEC_HIDDEN
;
extern
INT_PTR
WINPROC_CallDlgProc16
(
DLGPROC16
func
,
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wParam
,
LPARAM
lParam
);
extern
INT_PTR
WINPROC_CallDlgProc16
(
DLGPROC16
func
,
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
INT_PTR
WINPROC_CallDlgProcA
(
DLGPROC
func
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
INT_PTR
WINPROC_CallDlgProcA
(
DLGPROC
func
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
INT_PTR
WINPROC_CallDlgProcW
(
DLGPROC
func
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
INT_PTR
WINPROC_CallDlgProcW
(
DLGPROC
func
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
BOOL
WINPROC_call_window
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
,
extern
BOOL
WINPROC_call_window
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
,
LRESULT
*
result
,
BOOL
unicode
,
enum
wm_char_mapping
mapping
);
LRESULT
*
result
,
BOOL
unicode
,
enum
wm_char_mapping
mapping
)
DECLSPEC_HIDDEN
;
/* message spy definitions */
/* message spy definitions */
...
@@ -288,13 +288,13 @@ extern BOOL WINPROC_call_window( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar
...
@@ -288,13 +288,13 @@ extern BOOL WINPROC_call_window( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar
#define SPY_RESULT_DEFWND16 0x0004
#define SPY_RESULT_DEFWND16 0x0004
#define SPY_RESULT_DEFWND 0x0005
#define SPY_RESULT_DEFWND 0x0005
extern
const
char
*
SPY_GetClassLongOffsetName
(
INT
offset
);
extern
const
char
*
SPY_GetClassLongOffsetName
(
INT
offset
)
DECLSPEC_HIDDEN
;
extern
const
char
*
SPY_GetMsgName
(
UINT
msg
,
HWND
hWnd
);
extern
const
char
*
SPY_GetMsgName
(
UINT
msg
,
HWND
hWnd
)
DECLSPEC_HIDDEN
;
extern
const
char
*
SPY_GetVKeyName
(
WPARAM
wParam
);
extern
const
char
*
SPY_GetVKeyName
(
WPARAM
wParam
)
DECLSPEC_HIDDEN
;
extern
void
SPY_EnterMessage
(
INT
iFlag
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
void
SPY_EnterMessage
(
INT
iFlag
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
void
SPY_ExitMessage
(
INT
iFlag
,
HWND
hwnd
,
UINT
msg
,
extern
void
SPY_ExitMessage
(
INT
iFlag
,
HWND
hwnd
,
UINT
msg
,
LRESULT
lReturn
,
WPARAM
wParam
,
LPARAM
lParam
);
LRESULT
lReturn
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
int
SPY_Init
(
void
);
extern
int
SPY_Init
(
void
)
DECLSPEC_HIDDEN
;
/* HANDLE16 <-> HANDLE conversions */
/* HANDLE16 <-> HANDLE conversions */
#define HCURSOR_16(h32) (LOWORD(h32))
#define HCURSOR_16(h32) (LOWORD(h32))
...
@@ -343,6 +343,6 @@ typedef struct
...
@@ -343,6 +343,6 @@ typedef struct
#include "poppack.h"
#include "poppack.h"
extern
void
CURSORICON_FreeModuleIcons
(
HMODULE16
hModule
);
extern
void
CURSORICON_FreeModuleIcons
(
HMODULE16
hModule
)
DECLSPEC_HIDDEN
;
#endif
/* __WINE_USER_PRIVATE_H */
#endif
/* __WINE_USER_PRIVATE_H */
include/win.h
View file @
c57b5057
...
@@ -72,23 +72,23 @@ typedef struct tagWND
...
@@ -72,23 +72,23 @@ typedef struct tagWND
#define WIN_NEEDS_SHOW_OWNEDPOPUP 0x0080
/* WM_SHOWWINDOW:SC_SHOW must be sent in the next ShowOwnedPopup call */
#define WIN_NEEDS_SHOW_OWNEDPOPUP 0x0080
/* WM_SHOWWINDOW:SC_SHOW must be sent in the next ShowOwnedPopup call */
/* Window functions */
/* Window functions */
extern
WND
*
WIN_GetPtr
(
HWND
hwnd
);
extern
WND
*
WIN_GetPtr
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
HWND
WIN_Handle32
(
HWND16
hwnd16
);
extern
HWND
WIN_Handle32
(
HWND16
hwnd16
)
DECLSPEC_HIDDEN
;
extern
HWND
WIN_IsCurrentProcess
(
HWND
hwnd
);
extern
HWND
WIN_IsCurrentProcess
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
HWND
WIN_IsCurrentThread
(
HWND
hwnd
);
extern
HWND
WIN_IsCurrentThread
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
HWND
WIN_SetOwner
(
HWND
hwnd
,
HWND
owner
);
extern
HWND
WIN_SetOwner
(
HWND
hwnd
,
HWND
owner
)
DECLSPEC_HIDDEN
;
extern
ULONG
WIN_SetStyle
(
HWND
hwnd
,
ULONG
set_bits
,
ULONG
clear_bits
);
extern
ULONG
WIN_SetStyle
(
HWND
hwnd
,
ULONG
set_bits
,
ULONG
clear_bits
)
DECLSPEC_HIDDEN
;
extern
BOOL
WIN_GetRectangles
(
HWND
hwnd
,
RECT
*
rectWindow
,
RECT
*
rectClient
);
extern
BOOL
WIN_GetRectangles
(
HWND
hwnd
,
RECT
*
rectWindow
,
RECT
*
rectClient
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WIN_DestroyWindow
(
HWND
hwnd
);
extern
LRESULT
WIN_DestroyWindow
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
void
WIN_DestroyThreadWindows
(
HWND
hwnd
);
extern
void
WIN_DestroyThreadWindows
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
BOOL
WIN_IsWindowDrawable
(
HWND
hwnd
,
BOOL
);
extern
BOOL
WIN_IsWindowDrawable
(
HWND
hwnd
,
BOOL
)
DECLSPEC_HIDDEN
;
extern
HWND
*
WIN_ListChildren
(
HWND
hwnd
);
extern
HWND
*
WIN_ListChildren
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
LONG_PTR
WIN_SetWindowLong
(
HWND
hwnd
,
INT
offset
,
UINT
size
,
LONG_PTR
newval
,
BOOL
unicode
);
extern
LONG_PTR
WIN_SetWindowLong
(
HWND
hwnd
,
INT
offset
,
UINT
size
,
LONG_PTR
newval
,
BOOL
unicode
)
DECLSPEC_HIDDEN
;
extern
void
MDI_CalcDefaultChildPos
(
HWND
hwndClient
,
INT
total
,
LPPOINT
lpPos
,
INT
delta
,
UINT
*
id
);
extern
void
MDI_CalcDefaultChildPos
(
HWND
hwndClient
,
INT
total
,
LPPOINT
lpPos
,
INT
delta
,
UINT
*
id
)
DECLSPEC_HIDDEN
;
/* user lock */
/* user lock */
extern
void
USER_Lock
(
void
);
extern
void
USER_Lock
(
void
)
DECLSPEC_HIDDEN
;
extern
void
USER_Unlock
(
void
);
extern
void
USER_Unlock
(
void
)
DECLSPEC_HIDDEN
;
static
inline
HWND
WIN_GetFullHandle
(
HWND
hwnd
)
static
inline
HWND
WIN_GetFullHandle
(
HWND
hwnd
)
{
{
...
@@ -105,15 +105,15 @@ static inline void WIN_ReleasePtr( WND *ptr )
...
@@ -105,15 +105,15 @@ static inline void WIN_ReleasePtr( WND *ptr )
#define WND_OTHER_PROCESS ((WND *)1)
/* returned by WIN_GetPtr on unknown window handles */
#define WND_OTHER_PROCESS ((WND *)1)
/* returned by WIN_GetPtr on unknown window handles */
#define WND_DESKTOP ((WND *)2)
/* returned by WIN_GetPtr on the desktop window */
#define WND_DESKTOP ((WND *)2)
/* returned by WIN_GetPtr on the desktop window */
extern
LRESULT
HOOK_CallHooks
(
INT
id
,
INT
code
,
WPARAM
wparam
,
LPARAM
lparam
,
BOOL
unicode
);
extern
LRESULT
HOOK_CallHooks
(
INT
id
,
INT
code
,
WPARAM
wparam
,
LPARAM
lparam
,
BOOL
unicode
)
DECLSPEC_HIDDEN
;
extern
BOOL
WINPOS_RedrawIconTitle
(
HWND
hWnd
);
extern
BOOL
WINPOS_RedrawIconTitle
(
HWND
hWnd
)
DECLSPEC_HIDDEN
;
extern
BOOL
WINPOS_ShowIconTitle
(
HWND
hwnd
,
BOOL
bShow
);
extern
BOOL
WINPOS_ShowIconTitle
(
HWND
hwnd
,
BOOL
bShow
)
DECLSPEC_HIDDEN
;
extern
void
WINPOS_GetMinMaxInfo
(
HWND
hwnd
,
POINT
*
maxSize
,
POINT
*
maxPos
,
POINT
*
minTrack
,
extern
void
WINPOS_GetMinMaxInfo
(
HWND
hwnd
,
POINT
*
maxSize
,
POINT
*
maxPos
,
POINT
*
minTrack
,
POINT
*
maxTrack
);
POINT
*
maxTrack
)
DECLSPEC_HIDDEN
;
extern
LONG
WINPOS_HandleWindowPosChanging
(
HWND
hwnd
,
WINDOWPOS
*
winpos
);
extern
LONG
WINPOS_HandleWindowPosChanging
(
HWND
hwnd
,
WINDOWPOS
*
winpos
)
DECLSPEC_HIDDEN
;
extern
HWND
WINPOS_WindowFromPoint
(
HWND
hwndScope
,
POINT
pt
,
INT
*
hittest
);
extern
HWND
WINPOS_WindowFromPoint
(
HWND
hwndScope
,
POINT
pt
,
INT
*
hittest
)
DECLSPEC_HIDDEN
;
extern
void
WINPOS_CheckInternalPos
(
HWND
hwnd
);
extern
void
WINPOS_CheckInternalPos
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
void
WINPOS_ActivateOtherWindow
(
HWND
hwnd
);
extern
void
WINPOS_ActivateOtherWindow
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
#endif
/* __WINE_WIN_H */
#endif
/* __WINE_WIN_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment