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 )
*/
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
(
&
BUTTON_builtin_class
);
register_builtin
(
&
COMBO_builtin_class
);
...
...
dlls/user32/controls.h
View file @
c57b5057
...
...
@@ -43,53 +43,66 @@ struct builtin_class_descr
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 */
struct
tagCLASS
;
/* opaque structure */
struct
tagWND
;
extern
ATOM
get_int_atom_value
(
LPCWSTR
name
);
extern
void
CLASS_RegisterBuiltinClasses
(
void
);
extern
void
CLASS_AddWindow
(
struct
tagCLASS
*
class
,
struct
tagWND
*
win
,
BOOL
unicode
);
extern
void
CLASS_FreeModuleClasses
(
HMODULE16
hModule
);
extern
ATOM
get_int_atom_value
(
LPCWSTR
name
)
DECLSPEC_HIDDEN
;
extern
void
CLASS_RegisterBuiltinClasses
(
void
)
DECLSPEC_HIDDEN
;
extern
void
CLASS_AddWindow
(
struct
tagCLASS
*
class
,
struct
tagWND
*
win
,
BOOL
unicode
)
DECLSPEC_HIDDEN
;
extern
void
CLASS_FreeModuleClasses
(
HMODULE16
hModule
)
DECLSPEC_HIDDEN
;
/* defwnd proc */
extern
HBRUSH
DEFWND_ControlColor
(
HDC
hDC
,
UINT
ctlType
);
extern
HBRUSH
DEFWND_ControlColor
(
HDC
hDC
,
UINT
ctlType
)
DECLSPEC_HIDDEN
;
/* desktop */
extern
BOOL
DESKTOP_SetPattern
(
LPCWSTR
pattern
);
extern
BOOL
DESKTOP_SetPattern
(
LPCWSTR
pattern
)
DECLSPEC_HIDDEN
;
/* icon title */
extern
HWND
ICONTITLE_Create
(
HWND
hwnd
);
extern
HWND
ICONTITLE_Create
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
/* menu controls */
extern
HWND
MENU_IsMenuActive
(
void
);
extern
HWND
MENU_IsMenuActive
(
void
)
DECLSPEC_HIDDEN
;
extern
UINT
MENU_GetMenuBarHeight
(
HWND
hwnd
,
UINT
menubarWidth
,
INT
orgX
,
INT
orgY
);
extern
BOOL
MENU_SetMenu
(
HWND
,
HMENU
);
extern
void
MENU_TrackMouseMenuBar
(
HWND
hwnd
,
INT
ht
,
POINT
pt
);
extern
void
MENU_TrackKbdMenuBar
(
HWND
hwnd
,
UINT
wParam
,
WCHAR
wChar
);
INT
orgX
,
INT
orgY
)
DECLSPEC_HIDDEN
;
extern
BOOL
MENU_SetMenu
(
HWND
,
HMENU
)
DECLSPEC_HIDDEN
;
extern
void
MENU_TrackMouseMenuBar
(
HWND
hwnd
,
INT
ht
,
POINT
pt
)
DECLSPEC_HIDDEN
;
extern
void
MENU_TrackKbdMenuBar
(
HWND
hwnd
,
UINT
wParam
,
WCHAR
wChar
)
DECLSPEC_HIDDEN
;
extern
UINT
MENU_DrawMenuBar
(
HDC
hDC
,
LPRECT
lprect
,
HWND
hwnd
,
BOOL
suppress_draw
);
extern
UINT
MENU_FindSubMenu
(
HMENU
*
hmenu
,
HMENU
hSubTarget
);
HWND
hwnd
,
BOOL
suppress_draw
)
DECLSPEC_HIDDEN
;
extern
UINT
MENU_FindSubMenu
(
HMENU
*
hmenu
,
HMENU
hSubTarget
)
DECLSPEC_HIDDEN
;
/* nonclient area */
extern
LRESULT
NC_HandleNCPaint
(
HWND
hwnd
,
HRGN
clip
);
extern
LRESULT
NC_HandleNCActivate
(
HWND
hwnd
,
WPARAM
wParam
);
extern
LRESULT
NC_HandleNCCalcSize
(
HWND
hwnd
,
RECT
*
winRect
);
extern
LRESULT
NC_HandleNCHitTest
(
HWND
hwnd
,
POINT
pt
);
extern
LRESULT
NC_HandleNCLButtonDown
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
LRESULT
NC_HandleNCLButtonDblClk
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
LRESULT
NC_HandleSysCommand
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
LRESULT
NC_HandleSetCursor
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
BOOL
NC_DrawSysButton
(
HWND
hwnd
,
HDC
hdc
,
BOOL
down
);
extern
void
NC_GetSysPopupPos
(
HWND
hwnd
,
RECT
*
rect
);
extern
LRESULT
NC_HandleNCPaint
(
HWND
hwnd
,
HRGN
clip
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleNCActivate
(
HWND
hwnd
,
WPARAM
wParam
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleNCCalcSize
(
HWND
hwnd
,
RECT
*
winRect
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleNCHitTest
(
HWND
hwnd
,
POINT
pt
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleNCLButtonDown
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleNCLButtonDblClk
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleSysCommand
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleSetCursor
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
BOOL
NC_DrawSysButton
(
HWND
hwnd
,
HDC
hdc
,
BOOL
down
)
DECLSPEC_HIDDEN
;
extern
void
NC_GetSysPopupPos
(
HWND
hwnd
,
RECT
*
rect
)
DECLSPEC_HIDDEN
;
/* scrollbar */
extern
void
SCROLL_DrawScrollBar
(
HWND
hwnd
,
HDC
hdc
,
INT
nBar
,
BOOL
arrows
,
BOOL
interior
);
extern
void
SCROLL_TrackScrollBar
(
HWND
hwnd
,
INT
scrollbar
,
POINT
pt
);
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
)
DECLSPEC_HIDDEN
;
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 */
...
...
@@ -131,7 +144,7 @@ typedef struct
INT
editHeight
;
/* explicitly */
}
HEADCOMBO
,
*
LPHEADCOMBO
;
extern
BOOL
COMBO_FlipListbox
(
LPHEADCOMBO
,
BOOL
,
BOOL
);
extern
BOOL
COMBO_FlipListbox
(
LPHEADCOMBO
,
BOOL
,
BOOL
)
DECLSPEC_HIDDEN
;
/* Dialog info structure */
typedef
struct
...
...
@@ -152,9 +165,9 @@ typedef struct
/* offset of DIALOGINFO ptr in dialog extra bytes */
#define DWLP_WINE_DIALOGINFO (DWLP_USER+sizeof(ULONG_PTR))
extern
DIALOGINFO
*
DIALOG_get_info
(
HWND
hwnd
,
BOOL
create
);
extern
void
DIALOG_EnableOwner
(
HWND
hOwner
);
extern
BOOL
DIALOG_DisableOwner
(
HWND
hOwner
);
extern
INT
DIALOG_DoDialogBox
(
HWND
hwnd
,
HWND
owner
);
extern
DIALOGINFO
*
DIALOG_get_info
(
HWND
hwnd
,
BOOL
create
)
DECLSPEC_HIDDEN
;
extern
void
DIALOG_EnableOwner
(
HWND
hOwner
)
DECLSPEC_HIDDEN
;
extern
BOOL
DIALOG_DisableOwner
(
HWND
hOwner
)
DECLSPEC_HIDDEN
;
extern
INT
DIALOG_DoDialogBox
(
HWND
hwnd
,
HWND
owner
)
DECLSPEC_HIDDEN
;
#endif
/* __WINE_CONTROLS_H */
dlls/user32/dde_private.h
View file @
c57b5057
...
...
@@ -188,69 +188,69 @@ typedef enum {
extern
HDDEDATA
WDML_InvokeCallback
(
WDML_INSTANCE
*
pInst
,
UINT
uType
,
UINT
uFmt
,
HCONV
hConv
,
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
,
HSZ
hsz1
,
HSZ
hsz2
,
HDDEDATA
hdata
,
DWORD
dwData1
,
DWORD
dwData2
);
extern
WDML_SERVER
*
WDML_AddServer
(
WDML_INSTANCE
*
pInstance
,
HSZ
hszService
,
HSZ
hszTopic
);
extern
void
WDML_RemoveServer
(
WDML_INSTANCE
*
pInstance
,
HSZ
hszService
,
HSZ
hszTopic
);
extern
WDML_SERVER
*
WDML_FindServer
(
WDML_INSTANCE
*
pInstance
,
HSZ
hszService
,
HSZ
hszTopic
);
DWORD
dwData1
,
DWORD
dwData2
)
DECLSPEC_HIDDEN
;
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
)
DECLSPEC_HIDDEN
;
extern
WDML_SERVER
*
WDML_FindServer
(
WDML_INSTANCE
*
pInstance
,
HSZ
hszService
,
HSZ
hszTopic
)
DECLSPEC_HIDDEN
;
/* 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 */
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. */
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
,
HSZ
hszService
,
HSZ
hszTopic
,
HWND
hwndClient
,
HWND
hwndServer
);
extern
void
WDML_RemoveConv
(
WDML_CONV
*
pConv
,
WDML_SIDE
side
);
extern
WDML_CONV
*
WDML_GetConv
(
HCONV
hConv
,
BOOL
checkConnected
);
extern
WDML_CONV
*
WDML_GetConvFromWnd
(
HWND
hWnd
);
HSZ
hszService
,
HSZ
hszTopic
,
HWND
hwndClient
,
HWND
hwndServer
)
DECLSPEC_HIDDEN
;
extern
void
WDML_RemoveConv
(
WDML_CONV
*
pConv
,
WDML_SIDE
side
)
DECLSPEC_HIDDEN
;
extern
WDML_CONV
*
WDML_GetConv
(
HCONV
hConv
,
BOOL
checkConnected
)
DECLSPEC_HIDDEN
;
extern
WDML_CONV
*
WDML_GetConvFromWnd
(
HWND
hWnd
)
DECLSPEC_HIDDEN
;
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
,
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
,
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
,
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
,
HSZ
hszItem
,
UINT
wFmt
);
extern
void
WDML_RemoveAllLinks
(
WDML_INSTANCE
*
pInstance
,
WDML_CONV
*
pConv
,
WDML_SIDE
side
);
HSZ
hszItem
,
UINT
wFmt
)
DECLSPEC_HIDDEN
;
extern
void
WDML_RemoveAllLinks
(
WDML_INSTANCE
*
pInstance
,
WDML_CONV
*
pConv
,
WDML_SIDE
side
)
DECLSPEC_HIDDEN
;
/* string internals */
extern
void
WDML_FreeAllHSZ
(
WDML_INSTANCE
*
pInstance
);
extern
BOOL
WDML_DecHSZ
(
WDML_INSTANCE
*
pInstance
,
HSZ
hsz
);
extern
BOOL
WDML_IncHSZ
(
WDML_INSTANCE
*
pInstance
,
HSZ
hsz
);
extern
ATOM
WDML_MakeAtomFromHsz
(
HSZ
hsz
);
extern
HSZ
WDML_MakeHszFromAtom
(
WDML_INSTANCE
*
pInstance
,
ATOM
atom
);
extern
void
WDML_FreeAllHSZ
(
WDML_INSTANCE
*
pInstance
)
DECLSPEC_HIDDEN
;
extern
BOOL
WDML_DecHSZ
(
WDML_INSTANCE
*
pInstance
,
HSZ
hsz
)
DECLSPEC_HIDDEN
;
extern
BOOL
WDML_IncHSZ
(
WDML_INSTANCE
*
pInstance
,
HSZ
hsz
)
DECLSPEC_HIDDEN
;
extern
ATOM
WDML_MakeAtomFromHsz
(
HSZ
hsz
)
DECLSPEC_HIDDEN
;
extern
HSZ
WDML_MakeHszFromAtom
(
WDML_INSTANCE
*
pInstance
,
ATOM
atom
)
DECLSPEC_HIDDEN
;
/* client calls these */
extern
WDML_XACT
*
WDML_AllocTransaction
(
WDML_INSTANCE
*
pInstance
,
UINT
ddeMsg
,
UINT
wFmt
,
HSZ
hszItem
);
extern
void
WDML_QueueTransaction
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
);
extern
BOOL
WDML_UnQueueTransaction
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
);
extern
void
WDML_FreeTransaction
(
WDML_INSTANCE
*
pInstance
,
WDML_XACT
*
pXAct
,
BOOL
doFreePmt
);
extern
WDML_XACT
*
WDML_FindTransaction
(
WDML_CONV
*
pConv
,
DWORD
tid
);
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
)
DECLSPEC_HIDDEN
;
extern
BOOL
WDML_UnQueueTransaction
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
)
DECLSPEC_HIDDEN
;
extern
void
WDML_FreeTransaction
(
WDML_INSTANCE
*
pInstance
,
WDML_XACT
*
pXAct
,
BOOL
doFreePmt
)
DECLSPEC_HIDDEN
;
extern
WDML_XACT
*
WDML_FindTransaction
(
WDML_CONV
*
pConv
,
DWORD
tid
)
DECLSPEC_HIDDEN
;
extern
HGLOBAL
WDML_DataHandle2Global
(
HDDEDATA
hDdeData
,
BOOL
fResponse
,
BOOL
fRelease
,
BOOL
fDeferUpd
,
BOOL
dAckReq
);
extern
HDDEDATA
WDML_Global2DataHandle
(
HGLOBAL
hMem
,
WINE_DDEHEAD
*
da
);
extern
BOOL
WDML_IsAppOwned
(
HDDEDATA
hDdeData
);
extern
WDML_INSTANCE
*
WDML_GetInstance
(
DWORD
InstId
);
extern
WDML_INSTANCE
*
WDML_GetInstanceFromWnd
(
HWND
hWnd
);
BOOL
fDeferUpd
,
BOOL
dAckReq
)
DECLSPEC_HIDDEN
;
extern
HDDEDATA
WDML_Global2DataHandle
(
HGLOBAL
hMem
,
WINE_DDEHEAD
*
da
)
DECLSPEC_HIDDEN
;
extern
BOOL
WDML_IsAppOwned
(
HDDEDATA
hDdeData
)
DECLSPEC_HIDDEN
;
extern
WDML_INSTANCE
*
WDML_GetInstance
(
DWORD
InstId
)
DECLSPEC_HIDDEN
;
extern
WDML_INSTANCE
*
WDML_GetInstanceFromWnd
(
HWND
hWnd
)
DECLSPEC_HIDDEN
;
/* broadcasting to DDE windows */
extern
void
WDML_BroadcastDDEWindows
(
LPCWSTR
clsName
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
void
WDML_NotifyThreadExit
(
DWORD
tid
);
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
void
WDML_NotifyThreadExit
(
DWORD
tid
)
DECLSPEC_HIDDEN
;
static
inline
void
WDML_ExtractAck
(
WORD
status
,
DDEACK
*
da
)
{
*
da
=
*
((
DDEACK
*
)
&
status
);
}
extern
const
WCHAR
WDML_szEventClass
[];
/* class of window for events (aka instance) */
extern
const
char
WDML_szServerConvClassA
[];
/* ANSI class of window for server side conv */
extern
const
WCHAR
WDML_szServerConvClassW
[];
/* unicode class of window for server side conv */
extern
const
char
WDML_szClientConvClassA
[];
/* 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_szEventClass
[]
DECLSPEC_HIDDEN
;
/* class of window for events (aka instance) */
extern
const
char
WDML_szServerConvClassA
[]
DECLSPEC_HIDDEN
;
/* ANSI 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
[]
DECLSPEC_HIDDEN
;
/* ANSI 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_UNREGISTER (WM_USER + 0x201)
...
...
dlls/user32/user_private.h
View file @
c57b5057
...
...
@@ -31,7 +31,7 @@
#include "wine/windef16.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
)
{
...
...
@@ -161,9 +161,9 @@ typedef struct tagUSER_DRIVER {
LRESULT
(
*
pWindowMessage
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
}
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
hook16_queue_info
;
...
...
@@ -227,50 +227,50 @@ static inline BOOL is_broadcast( HWND hwnd )
return
(
hwnd
==
HWND_BROADCAST
||
hwnd
==
HWND_TOPMOST
);
}
extern
HMODULE
user32_module
;
extern
DWORD
USER16_AlertableWait
;
extern
HBRUSH
SYSCOLOR_55AABrush
;
extern
HMODULE
user32_module
DECLSPEC_HIDDEN
;
extern
DWORD
USER16_AlertableWait
DECLSPEC_HIDDEN
;
extern
HBRUSH
SYSCOLOR_55AABrush
DECLSPEC_HIDDEN
;
extern
BOOL
CLIPBOARD_ReleaseOwner
(
void
);
extern
BOOL
FOCUS_MouseActivate
(
HWND
hwnd
);
extern
BOOL
HOOK_IsHooked
(
INT
id
);
extern
void
erase_now
(
HWND
hwnd
,
UINT
rdw_flags
);
extern
LRESULT
call_current_hook
(
HHOOK
hhook
,
INT
code
,
WPARAM
wparam
,
LPARAM
lparam
);
extern
BOOL
map_wparam_AtoW
(
UINT
message
,
WPARAM
*
wparam
,
enum
wm_char_mapping
mapping
);
extern
BOOL
CLIPBOARD_ReleaseOwner
(
void
)
DECLSPEC_HIDDEN
;
extern
BOOL
FOCUS_MouseActivate
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
BOOL
HOOK_IsHooked
(
INT
id
)
DECLSPEC_HIDDEN
;
extern
void
erase_now
(
HWND
hwnd
,
UINT
rdw_flags
)
DECLSPEC_HIDDEN
;
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
)
DECLSPEC_HIDDEN
;
extern
LRESULT
MSG_SendInternalMessageTimeout
(
DWORD
dest_pid
,
DWORD
dest_tid
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
,
UINT
flags
,
UINT
timeout
,
PDWORD_PTR
res_ptr
);
extern
HPEN
SYSCOLOR_GetPen
(
INT
index
);
extern
void
SYSPARAMS_Init
(
void
);
extern
void
USER_CheckNotLock
(
void
);
extern
BOOL
USER_IsExitingThread
(
DWORD
tid
);
UINT
flags
,
UINT
timeout
,
PDWORD_PTR
res_ptr
)
DECLSPEC_HIDDEN
;
extern
HPEN
SYSCOLOR_GetPen
(
INT
index
)
DECLSPEC_HIDDEN
;
extern
void
SYSPARAMS_Init
(
void
)
DECLSPEC_HIDDEN
;
extern
void
USER_CheckNotLock
(
void
)
DECLSPEC_HIDDEN
;
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
,
LRESULT
*
result
,
void
*
arg
);
typedef
LRESULT
(
*
winproc_callback16_t
)(
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wp
,
LPARAM
lp
,
LRESULT
*
result
,
void
*
arg
);
extern
WNDPROC16
WINPROC_GetProc16
(
WNDPROC
proc
,
BOOL
unicode
);
extern
WNDPROC
WINPROC_AllocProc16
(
WNDPROC16
func
);
extern
WNDPROC
WINPROC_GetProc
(
WNDPROC
proc
,
BOOL
unicode
);
extern
WNDPROC
WINPROC_AllocProc
(
WNDPROC
funcA
,
WNDPROC
funcW
);
extern
BOOL
WINPROC_IsUnicode
(
WNDPROC
proc
,
BOOL
def_val
);
extern
WNDPROC16
WINPROC_GetProc16
(
WNDPROC
proc
,
BOOL
unicode
)
DECLSPEC_HIDDEN
;
extern
WNDPROC
WINPROC_AllocProc16
(
WNDPROC16
func
)
DECLSPEC_HIDDEN
;
extern
WNDPROC
WINPROC_GetProc
(
WNDPROC
proc
,
BOOL
unicode
)
DECLSPEC_HIDDEN
;
extern
WNDPROC
WINPROC_AllocProc
(
WNDPROC
funcA
,
WNDPROC
funcW
)
DECLSPEC_HIDDEN
;
extern
BOOL
WINPROC_IsUnicode
(
WNDPROC
proc
,
BOOL
def_val
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WINPROC_CallProcAtoW
(
winproc_callback_t
callback
,
HWND
hwnd
,
UINT
msg
,
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
,
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
,
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_CallDlgProcA
(
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
);
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
)
DECLSPEC_HIDDEN
;
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
,
LRESULT
*
result
,
BOOL
unicode
,
enum
wm_char_mapping
mapping
);
LRESULT
*
result
,
BOOL
unicode
,
enum
wm_char_mapping
mapping
)
DECLSPEC_HIDDEN
;
/* message spy definitions */
...
...
@@ -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_DEFWND 0x0005
extern
const
char
*
SPY_GetClassLongOffsetName
(
INT
offset
);
extern
const
char
*
SPY_GetMsgName
(
UINT
msg
,
HWND
hWnd
);
extern
const
char
*
SPY_GetVKeyName
(
WPARAM
wParam
);
extern
void
SPY_EnterMessage
(
INT
iFlag
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
const
char
*
SPY_GetClassLongOffsetName
(
INT
offset
)
DECLSPEC_HIDDEN
;
extern
const
char
*
SPY_GetMsgName
(
UINT
msg
,
HWND
hWnd
)
DECLSPEC_HIDDEN
;
extern
const
char
*
SPY_GetVKeyName
(
WPARAM
wParam
)
DECLSPEC_HIDDEN
;
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
,
LRESULT
lReturn
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
int
SPY_Init
(
void
);
LRESULT
lReturn
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
int
SPY_Init
(
void
)
DECLSPEC_HIDDEN
;
/* HANDLE16 <-> HANDLE conversions */
#define HCURSOR_16(h32) (LOWORD(h32))
...
...
@@ -343,6 +343,6 @@ typedef struct
#include "poppack.h"
extern
void
CURSORICON_FreeModuleIcons
(
HMODULE16
hModule
);
extern
void
CURSORICON_FreeModuleIcons
(
HMODULE16
hModule
)
DECLSPEC_HIDDEN
;
#endif
/* __WINE_USER_PRIVATE_H */
include/win.h
View file @
c57b5057
...
...
@@ -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 */
/* Window functions */
extern
WND
*
WIN_GetPtr
(
HWND
hwnd
);
extern
HWND
WIN_Handle32
(
HWND16
hwnd16
);
extern
HWND
WIN_IsCurrentProcess
(
HWND
hwnd
);
extern
HWND
WIN_IsCurrentThread
(
HWND
hwnd
);
extern
HWND
WIN_SetOwner
(
HWND
hwnd
,
HWND
owner
);
extern
ULONG
WIN_SetStyle
(
HWND
hwnd
,
ULONG
set_bits
,
ULONG
clear_bits
);
extern
BOOL
WIN_GetRectangles
(
HWND
hwnd
,
RECT
*
rectWindow
,
RECT
*
rectClient
);
extern
LRESULT
WIN_DestroyWindow
(
HWND
hwnd
);
extern
void
WIN_DestroyThreadWindows
(
HWND
hwnd
);
extern
BOOL
WIN_IsWindowDrawable
(
HWND
hwnd
,
BOOL
);
extern
HWND
*
WIN_ListChildren
(
HWND
hwnd
);
extern
LONG_PTR
WIN_SetWindowLong
(
HWND
hwnd
,
INT
offset
,
UINT
size
,
LONG_PTR
newval
,
BOOL
unicode
);
extern
void
MDI_CalcDefaultChildPos
(
HWND
hwndClient
,
INT
total
,
LPPOINT
lpPos
,
INT
delta
,
UINT
*
id
);
extern
WND
*
WIN_GetPtr
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
HWND
WIN_Handle32
(
HWND16
hwnd16
)
DECLSPEC_HIDDEN
;
extern
HWND
WIN_IsCurrentProcess
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
HWND
WIN_IsCurrentThread
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
HWND
WIN_SetOwner
(
HWND
hwnd
,
HWND
owner
)
DECLSPEC_HIDDEN
;
extern
ULONG
WIN_SetStyle
(
HWND
hwnd
,
ULONG
set_bits
,
ULONG
clear_bits
)
DECLSPEC_HIDDEN
;
extern
BOOL
WIN_GetRectangles
(
HWND
hwnd
,
RECT
*
rectWindow
,
RECT
*
rectClient
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WIN_DestroyWindow
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
void
WIN_DestroyThreadWindows
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
BOOL
WIN_IsWindowDrawable
(
HWND
hwnd
,
BOOL
)
DECLSPEC_HIDDEN
;
extern
HWND
*
WIN_ListChildren
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
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
)
DECLSPEC_HIDDEN
;
/* user lock */
extern
void
USER_Lock
(
void
);
extern
void
USER_Unlock
(
void
);
extern
void
USER_Lock
(
void
)
DECLSPEC_HIDDEN
;
extern
void
USER_Unlock
(
void
)
DECLSPEC_HIDDEN
;
static
inline
HWND
WIN_GetFullHandle
(
HWND
hwnd
)
{
...
...
@@ -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_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_ShowIconTitle
(
HWND
hwnd
,
BOOL
bShow
);
extern
BOOL
WINPOS_RedrawIconTitle
(
HWND
hWnd
)
DECLSPEC_HIDDEN
;
extern
BOOL
WINPOS_ShowIconTitle
(
HWND
hwnd
,
BOOL
bShow
)
DECLSPEC_HIDDEN
;
extern
void
WINPOS_GetMinMaxInfo
(
HWND
hwnd
,
POINT
*
maxSize
,
POINT
*
maxPos
,
POINT
*
minTrack
,
POINT
*
maxTrack
);
extern
LONG
WINPOS_HandleWindowPosChanging
(
HWND
hwnd
,
WINDOWPOS
*
winpos
);
extern
HWND
WINPOS_WindowFromPoint
(
HWND
hwndScope
,
POINT
pt
,
INT
*
hittest
);
extern
void
WINPOS_CheckInternalPos
(
HWND
hwnd
);
extern
void
WINPOS_ActivateOtherWindow
(
HWND
hwnd
);
POINT
*
maxTrack
)
DECLSPEC_HIDDEN
;
extern
LONG
WINPOS_HandleWindowPosChanging
(
HWND
hwnd
,
WINDOWPOS
*
winpos
)
DECLSPEC_HIDDEN
;
extern
HWND
WINPOS_WindowFromPoint
(
HWND
hwndScope
,
POINT
pt
,
INT
*
hittest
)
DECLSPEC_HIDDEN
;
extern
void
WINPOS_CheckInternalPos
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
void
WINPOS_ActivateOtherWindow
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
#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