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
fbbcd2b3
Commit
fbbcd2b3
authored
Sep 13, 2023
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Sep 13, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Remove DECLSPEC_HIDDEN usage.
parent
016c29ad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
99 additions
and
99 deletions
+99
-99
controls.h
dlls/user32/controls.h
+24
-24
dde_private.h
dlls/user32/dde_private.h
+36
-36
user_private.h
dlls/user32/user_private.h
+39
-39
No files found.
dlls/user32/controls.h
View file @
fbbcd2b3
...
...
@@ -23,12 +23,12 @@
#include "ntuser.h"
extern
LRESULT
WINAPI
ImeWndProcA
(
HWND
,
UINT
,
WPARAM
,
LPARAM
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WINAPI
ImeWndProcW
(
HWND
,
UINT
,
WPARAM
,
LPARAM
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WINAPI
DesktopWndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WINAPI
IconTitleWndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WINAPI
PopupMenuWndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WINAPI
MessageWndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WINAPI
ImeWndProcA
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
extern
LRESULT
WINAPI
ImeWndProcW
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
extern
LRESULT
WINAPI
DesktopWndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
extern
LRESULT
WINAPI
IconTitleWndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
extern
LRESULT
WINAPI
PopupMenuWndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
extern
LRESULT
WINAPI
MessageWndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
/* Wow handlers */
...
...
@@ -63,32 +63,32 @@ struct wow_handlers32
INT
(
*
dialog_box_loop
)(
HWND
,
HWND
);
};
extern
struct
wow_handlers16
wow_handlers
DECLSPEC_HIDDEN
;
extern
struct
wow_handlers16
wow_handlers
;
extern
LRESULT
ButtonWndProc_common
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
)
DECLSPEC_HIDDEN
;
extern
LRESULT
ComboWndProc_common
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
)
DECLSPEC_HIDDEN
;
extern
LRESULT
EditWndProc_common
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
)
DECLSPEC_HIDDEN
;
extern
LRESULT
ListBoxWndProc_common
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
)
DECLSPEC_HIDDEN
;
extern
LRESULT
MDIClientWndProc_common
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
)
DECLSPEC_HIDDEN
;
extern
LRESULT
ScrollBarWndProc_common
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
)
DECLSPEC_HIDDEN
;
extern
LRESULT
StaticWndProc_common
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
)
DECLSPEC_HIDDEN
;
extern
LRESULT
ButtonWndProc_common
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
);
extern
LRESULT
ComboWndProc_common
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
);
extern
LRESULT
EditWndProc_common
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
);
extern
LRESULT
ListBoxWndProc_common
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
);
extern
LRESULT
MDIClientWndProc_common
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
);
extern
LRESULT
ScrollBarWndProc_common
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
);
extern
LRESULT
StaticWndProc_common
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
);
/* Class functions */
extern
ATOM
get_int_atom_value
(
UNICODE_STRING
*
name
)
DECLSPEC_HIDDEN
;
extern
ATOM
get_int_atom_value
(
UNICODE_STRING
*
name
);
/* desktop */
extern
BOOL
update_wallpaper
(
const
WCHAR
*
wallpaper
,
const
WCHAR
*
pattern
)
DECLSPEC_HIDDEN
;
extern
BOOL
update_wallpaper
(
const
WCHAR
*
wallpaper
,
const
WCHAR
*
pattern
);
/* nonclient area */
extern
LRESULT
NC_HandleSysCommand
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
LRESULT
NC_HandleSysCommand
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
);
/* scrollbar */
extern
void
SCROLL_DrawScrollBar
(
HWND
hwnd
,
HDC
hdc
,
INT
nBar
,
enum
SCROLL_HITTEST
hit_test
,
const
struct
SCROLL_TRACKING_INFO
*
tracking_info
,
BOOL
arrows
,
BOOL
interior
)
DECLSPEC_HIDDEN
;
extern
void
SCROLL_HandleScrollEvent
(
HWND
hwnd
,
INT
nBar
,
UINT
msg
,
POINT
pt
)
DECLSPEC_HIDDEN
;
extern
void
SCROLL_TrackScrollBar
(
HWND
hwnd
,
INT
scrollbar
,
POINT
pt
)
DECLSPEC_HIDDEN
;
BOOL
interior
);
extern
void
SCROLL_HandleScrollEvent
(
HWND
hwnd
,
INT
nBar
,
UINT
msg
,
POINT
pt
);
extern
void
SCROLL_TrackScrollBar
(
HWND
hwnd
,
INT
scrollbar
,
POINT
pt
);
/* combo box */
...
...
@@ -131,7 +131,7 @@ typedef struct
INT
item_height
;
}
HEADCOMBO
,
*
LPHEADCOMBO
;
extern
BOOL
COMBO_FlipListbox
(
LPHEADCOMBO
,
BOOL
,
BOOL
)
DECLSPEC_HIDDEN
;
extern
BOOL
COMBO_FlipListbox
(
LPHEADCOMBO
,
BOOL
,
BOOL
);
/* Dialog info structure (note: shared with user.exe) */
typedef
struct
tagDIALOGINFO
...
...
@@ -147,9 +147,9 @@ typedef struct tagDIALOGINFO
#define DF_END 0x0001
extern
DIALOGINFO
*
DIALOG_get_info
(
HWND
hwnd
,
BOOL
create
)
DECLSPEC_HIDDEN
;
extern
INT
DIALOG_DoDialogBox
(
HWND
hwnd
,
HWND
owner
)
DECLSPEC_HIDDEN
;
extern
DIALOGINFO
*
DIALOG_get_info
(
HWND
hwnd
,
BOOL
create
);
extern
INT
DIALOG_DoDialogBox
(
HWND
hwnd
,
HWND
owner
);
HRGN
set_control_clipping
(
HDC
hdc
,
const
RECT
*
rect
)
DECLSPEC_HIDDEN
;
HRGN
set_control_clipping
(
HDC
hdc
,
const
RECT
*
rect
);
#endif
/* __WINE_CONTROLS_H */
dlls/user32/dde_private.h
View file @
fbbcd2b3
...
...
@@ -190,51 +190,51 @@ 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
)
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
;
ULONG_PTR
dwData1
,
ULONG_PTR
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
);
/* transaction handler on the server side */
extern
WDML_QUEUE_STATE
WDML_ServerHandle
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
)
DECLSPEC_HIDDEN
;
extern
WDML_QUEUE_STATE
WDML_ServerHandle
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
);
/* transaction handler on the client side */
HDDEDATA
WDML_ClientHandle
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
,
DWORD
dwTimeout
,
LPDWORD
pdwResult
)
DECLSPEC_HIDDEN
;
HDDEDATA
WDML_ClientHandle
(
WDML_CONV
*
pConv
,
WDML_XACT
*
pXAct
,
DWORD
dwTimeout
,
LPDWORD
pdwResult
);
/* called both in DdeClientTransaction and server side. */
extern
WDML_CONV
*
WDML_AddConv
(
WDML_INSTANCE
*
pInstance
,
WDML_SIDE
side
,
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
;
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
);
extern
WDML_CONV
*
WDML_FindConv
(
WDML_INSTANCE
*
pInstance
,
WDML_SIDE
side
,
HSZ
hszService
,
HSZ
hszTopic
)
DECLSPEC_HIDDEN
;
HSZ
hszService
,
HSZ
hszTopic
);
extern
BOOL
WDML_PostAck
(
WDML_CONV
*
pConv
,
WDML_SIDE
side
,
WORD
appRetCode
,
BOOL
fBusy
,
BOOL
fAck
,
UINT_PTR
pmt
,
LPARAM
lParam
,
UINT
oldMsg
)
DECLSPEC_HIDDEN
;
BOOL
fBusy
,
BOOL
fAck
,
UINT_PTR
pmt
,
LPARAM
lParam
,
UINT
oldMsg
);
extern
void
WDML_AddLink
(
WDML_INSTANCE
*
pInstance
,
HCONV
hConv
,
WDML_SIDE
side
,
UINT
wType
,
HSZ
hszItem
,
UINT
wFmt
)
DECLSPEC_HIDDEN
;
UINT
wType
,
HSZ
hszItem
,
UINT
wFmt
);
extern
WDML_LINK
*
WDML_FindLink
(
WDML_INSTANCE
*
pInstance
,
HCONV
hConv
,
WDML_SIDE
side
,
HSZ
hszItem
,
BOOL
use_fmt
,
UINT
uFmt
)
DECLSPEC_HIDDEN
;
HSZ
hszItem
,
BOOL
use_fmt
,
UINT
uFmt
);
extern
void
WDML_RemoveLink
(
WDML_INSTANCE
*
pInstance
,
HCONV
hConv
,
WDML_SIDE
side
,
HSZ
hszItem
,
UINT
wFmt
)
DECLSPEC_HIDDEN
;
HSZ
hszItem
,
UINT
wFmt
);
/* string internals */
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
(
const
WDML_INSTANCE
*
pInstance
,
ATOM
atom
)
DECLSPEC_HIDDEN
;
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
(
const
WDML_INSTANCE
*
pInstance
,
ATOM
atom
);
/* client calls these */
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_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
HGLOBAL
WDML_DataHandle2Global
(
HDDEDATA
hDdeData
,
BOOL
fResponse
,
BOOL
fRelease
,
BOOL
fDeferUpd
,
BOOL
dAckReq
)
DECLSPEC_HIDDEN
;
extern
HDDEDATA
WDML_Global2DataHandle
(
WDML_CONV
*
pConv
,
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
;
BOOL
fDeferUpd
,
BOOL
dAckReq
);
extern
HDDEDATA
WDML_Global2DataHandle
(
WDML_CONV
*
pConv
,
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
);
/* broadcasting to DDE windows */
extern
void
WDML_BroadcastDDEWindows
(
LPCWSTR
clsName
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
void
WDML_NotifyThreadExit
(
DWORD
tid
)
DECLSPEC_HIDDEN
;
extern
void
WDML_NotifyThreadDetach
(
void
)
DECLSPEC_HIDDEN
;
WPARAM
wParam
,
LPARAM
lParam
);
extern
void
WDML_NotifyThreadExit
(
DWORD
tid
);
extern
void
WDML_NotifyThreadDetach
(
void
);
static
inline
void
WDML_ExtractAck
(
WORD
status
,
DDEACK
*
da
)
...
...
@@ -242,11 +242,11 @@ static inline void WDML_ExtractAck(WORD status, DDEACK* da)
*
da
=
*
((
DDEACK
*
)
&
status
);
}
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 */
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 */
#define WM_WDML_REGISTER (WM_USER + 0x200)
#define WM_WDML_UNREGISTER (WM_USER + 0x201)
...
...
dlls/user32/user_private.h
View file @
fbbcd2b3
...
...
@@ -43,41 +43,41 @@ struct wm_char_mapping_data
MSG
get_msg
;
};
extern
HMODULE
user32_module
DECLSPEC_HIDDEN
;
extern
HMODULE
user32_module
;
extern
BOOL
post_dde_message
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
,
DWORD
dest_tid
,
DWORD
type
)
DECLSPEC_HIDDEN
;
DWORD
type
);
extern
BOOL
unpack_dde_message
(
HWND
hwnd
,
UINT
message
,
WPARAM
*
wparam
,
LPARAM
*
lparam
,
const
void
*
buffer
,
size_t
size
)
DECLSPEC_HIDDEN
;
extern
void
free_cached_data
(
UINT
format
,
HANDLE
handle
)
DECLSPEC_HIDDEN
;
extern
HANDLE
render_synthesized_format
(
UINT
format
,
UINT
from
)
DECLSPEC_HIDDEN
;
const
void
*
buffer
,
size_t
size
);
extern
void
free_cached_data
(
UINT
format
,
HANDLE
handle
);
extern
HANDLE
render_synthesized_format
(
UINT
format
,
UINT
from
);
extern
void
unpack_message
(
HWND
hwnd
,
UINT
message
,
WPARAM
*
wparam
,
LPARAM
*
lparam
,
void
*
buffer
,
size_t
size
,
BOOL
ansi
);
extern
void
CLIPBOARD_ReleaseOwner
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
HDC
get_display_dc
(
void
)
DECLSPEC_HIDDEN
;
extern
void
release_display_dc
(
HDC
hdc
)
DECLSPEC_HIDDEN
;
extern
void
*
get_hook_proc
(
void
*
proc
,
const
WCHAR
*
module
,
HMODULE
*
free_module
)
DECLSPEC_HIDDEN
;
extern
DWORD
get_input_codepage
(
void
)
DECLSPEC_HIDDEN
;
extern
BOOL
map_wparam_AtoW
(
UINT
message
,
WPARAM
*
wparam
,
enum
wm_char_mapping
mapping
)
DECLSPEC_HIDDEN
;
extern
HPEN
SYSCOLOR_GetPen
(
INT
index
)
DECLSPEC_HIDDEN
;
extern
HBRUSH
SYSCOLOR_Get55AABrush
(
void
)
DECLSPEC_HIDDEN
;
extern
void
SYSPARAMS_Init
(
void
)
DECLSPEC_HIDDEN
;
extern
void
CLIPBOARD_ReleaseOwner
(
HWND
hwnd
);
extern
HDC
get_display_dc
(
void
);
extern
void
release_display_dc
(
HDC
hdc
);
extern
void
*
get_hook_proc
(
void
*
proc
,
const
WCHAR
*
module
,
HMODULE
*
free_module
);
extern
DWORD
get_input_codepage
(
void
);
extern
BOOL
map_wparam_AtoW
(
UINT
message
,
WPARAM
*
wparam
,
enum
wm_char_mapping
mapping
);
extern
HPEN
SYSCOLOR_GetPen
(
INT
index
);
extern
HBRUSH
SYSCOLOR_Get55AABrush
(
void
);
extern
void
SYSPARAMS_Init
(
void
);
typedef
LRESULT
(
*
winproc_callback_t
)(
HWND
hwnd
,
UINT
msg
,
WPARAM
wp
,
LPARAM
lp
,
LRESULT
*
result
,
void
*
arg
);
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
)
DECLSPEC_HIDDEN
;
enum
wm_char_mapping
mapping
);
extern
INT_PTR
WINPROC_CallDlgProcA
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
INT_PTR
WINPROC_CallDlgProcW
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
void
winproc_init
(
void
)
DECLSPEC_HIDDEN
;
extern
LRESULT
dispatch_win_proc_params
(
struct
win_proc_params
*
params
)
DECLSPEC_HIDDEN
;
extern
INT_PTR
WINPROC_CallDlgProcA
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
INT_PTR
WINPROC_CallDlgProcW
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
void
winproc_init
(
void
);
extern
LRESULT
dispatch_win_proc_params
(
struct
win_proc_params
*
params
);
extern
ATOM
get_class_info
(
HINSTANCE
instance
,
const
WCHAR
*
name
,
WNDCLASSEXW
*
info
,
UNICODE_STRING
*
name_str
,
BOOL
ansi
)
DECLSPEC_HIDDEN
;
UNICODE_STRING
*
name_str
,
BOOL
ansi
);
/* kernel callbacks */
...
...
@@ -90,10 +90,10 @@ BOOL WINAPI User32InitBuiltinClasses( const struct win_hook_params *params, ULON
/* message spy definitions */
extern
const
char
*
SPY_GetMsgName
(
UINT
msg
,
HWND
hWnd
)
DECLSPEC_HIDDEN
;
extern
void
SPY_EnterMessage
(
INT
iFlag
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
extern
const
char
*
SPY_GetMsgName
(
UINT
msg
,
HWND
hWnd
);
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
,
WPARAM
wParam
,
LPARAM
lParam
)
DECLSPEC_HIDDEN
;
LRESULT
lReturn
,
WPARAM
wParam
,
LPARAM
lParam
);
#include "pshpack1.h"
...
...
@@ -151,29 +151,29 @@ typedef struct
#include "poppack.h"
extern
int
bitmap_info_size
(
const
BITMAPINFO
*
info
,
WORD
coloruse
)
DECLSPEC_HIDDEN
;
extern
BOOL
get_icon_size
(
HICON
handle
,
SIZE
*
size
)
DECLSPEC_HIDDEN
;
extern
int
bitmap_info_size
(
const
BITMAPINFO
*
info
,
WORD
coloruse
);
extern
BOOL
get_icon_size
(
HICON
handle
,
SIZE
*
size
);
extern
struct
user_api_hook
*
user_api
DECLSPEC_HIDDEN
;
LRESULT
WINAPI
USER_DefDlgProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
)
DECLSPEC_HIDDEN
;
LRESULT
WINAPI
USER_ScrollBarProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
)
DECLSPEC_HIDDEN
;
void
WINAPI
USER_NonClientButtonDraw
(
HWND
,
HDC
,
enum
NONCLIENT_BUTTON_TYPE
,
RECT
,
BOOL
,
BOOL
)
DECLSPEC_HIDDEN
;
extern
struct
user_api_hook
*
user_api
;
LRESULT
WINAPI
USER_DefDlgProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
);
LRESULT
WINAPI
USER_ScrollBarProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
BOOL
);
void
WINAPI
USER_NonClientButtonDraw
(
HWND
,
HDC
,
enum
NONCLIENT_BUTTON_TYPE
,
RECT
,
BOOL
,
BOOL
);
void
WINAPI
USER_ScrollBarDraw
(
HWND
,
HDC
,
INT
,
enum
SCROLL_HITTEST
,
const
struct
SCROLL_TRACKING_INFO
*
,
BOOL
,
BOOL
,
RECT
*
,
UINT
,
INT
,
INT
,
INT
,
BOOL
)
DECLSPEC_HIDDEN
;
INT
,
INT
,
INT
,
BOOL
);
struct
scroll_info
*
SCROLL_GetInternalInfo
(
HWND
hwnd
,
INT
nBar
,
BOOL
alloc
);
/* Window functions */
BOOL
is_desktop_window
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
HWND
WIN_GetFullHandle
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
HWND
WIN_IsCurrentProcess
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
HWND
WIN_IsCurrentThread
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
ULONG
WIN_SetStyle
(
HWND
hwnd
,
ULONG
set_bits
,
ULONG
clear_bits
)
DECLSPEC_HIDDEN
;
HWND
WIN_CreateWindowEx
(
CREATESTRUCTW
*
cs
,
LPCWSTR
className
,
HINSTANCE
module
,
BOOL
unicode
)
DECLSPEC_HIDDEN
;
HWND
*
WIN_ListChildren
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
void
MDI_CalcDefaultChildPos
(
HWND
hwndClient
,
INT
total
,
LPPOINT
lpPos
,
INT
delta
,
UINT
*
id
)
DECLSPEC_HIDDEN
;
BOOL
is_desktop_window
(
HWND
hwnd
);
HWND
WIN_GetFullHandle
(
HWND
hwnd
);
HWND
WIN_IsCurrentProcess
(
HWND
hwnd
);
HWND
WIN_IsCurrentThread
(
HWND
hwnd
);
ULONG
WIN_SetStyle
(
HWND
hwnd
,
ULONG
set_bits
,
ULONG
clear_bits
);
HWND
WIN_CreateWindowEx
(
CREATESTRUCTW
*
cs
,
LPCWSTR
className
,
HINSTANCE
module
,
BOOL
unicode
);
HWND
*
WIN_ListChildren
(
HWND
hwnd
);
void
MDI_CalcDefaultChildPos
(
HWND
hwndClient
,
INT
total
,
LPPOINT
lpPos
,
INT
delta
,
UINT
*
id
);
HDESK
open_winstation_desktop
(
HWINSTA
hwinsta
,
LPCWSTR
name
,
DWORD
flags
,
BOOL
inherit
,
ACCESS_MASK
access
)
DECLSPEC_HIDDEN
;
ACCESS_MASK
access
);
static
inline
void
mirror_rect
(
const
RECT
*
window_rect
,
RECT
*
rect
)
{
...
...
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