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
bda36798
Commit
bda36798
authored
Oct 18, 2006
by
Huw Davies
Committed by
Alexandre Julliard
Oct 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledlg: Register a couple of messages.
parent
f07bbbd4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
oledlg_main.c
dlls/oledlg/oledlg_main.c
+10
-0
oledlg_private.h
dlls/oledlg/oledlg_private.h
+3
-0
No files found.
dlls/oledlg/oledlg_main.c
View file @
bda36798
...
@@ -45,6 +45,9 @@ UINT cf_ownerlink;
...
@@ -45,6 +45,9 @@ UINT cf_ownerlink;
UINT
cf_filename
;
UINT
cf_filename
;
UINT
cf_filenamew
;
UINT
cf_filenamew
;
UINT
oleui_msg_help
;
UINT
oleui_msg_enddialog
;
static
void
register_clipboard_formats
(
void
)
static
void
register_clipboard_formats
(
void
)
{
{
/* These used to be declared in olestd.h, but that seems to have been removed from the api */
/* These used to be declared in olestd.h, but that seems to have been removed from the api */
...
@@ -68,6 +71,12 @@ static void register_clipboard_formats(void)
...
@@ -68,6 +71,12 @@ static void register_clipboard_formats(void)
cf_filenamew
=
RegisterClipboardFormatW
(
CF_FILENAMEWW
);
cf_filenamew
=
RegisterClipboardFormatW
(
CF_FILENAMEWW
);
}
}
static
void
register_messages
(
void
)
{
oleui_msg_help
=
RegisterWindowMessageW
(
SZOLEUI_MSG_HELPW
);
oleui_msg_enddialog
=
RegisterWindowMessageW
(
SZOLEUI_MSG_ENDDIALOGW
);
}
/***********************************************************************
/***********************************************************************
* DllMain
* DllMain
*/
*/
...
@@ -80,6 +89,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
...
@@ -80,6 +89,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
DisableThreadLibraryCalls
(
hinstDLL
);
DisableThreadLibraryCalls
(
hinstDLL
);
OLEDLG_hInstance
=
hinstDLL
;
OLEDLG_hInstance
=
hinstDLL
;
register_clipboard_formats
();
register_clipboard_formats
();
register_messages
();
break
;
break
;
case
DLL_PROCESS_DETACH
:
case
DLL_PROCESS_DETACH
:
...
...
dlls/oledlg/oledlg_private.h
View file @
bda36798
...
@@ -32,4 +32,7 @@ extern UINT cf_ownerlink;
...
@@ -32,4 +32,7 @@ extern UINT cf_ownerlink;
extern
UINT
cf_filename
;
extern
UINT
cf_filename
;
extern
UINT
cf_filenamew
;
extern
UINT
cf_filenamew
;
extern
UINT
oleui_msg_help
;
extern
UINT
oleui_msg_enddialog
;
#endif
/* __OLEDLG_PRIVATE_H__ */
#endif
/* __OLEDLG_PRIVATE_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