Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e77ab142
Commit
e77ab142
authored
Mar 17, 2009
by
Huw Davies
Committed by
Alexandre Julliard
Mar 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Register DataObject clipboard format.
parent
c0fbbe7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
clipboard.c
dlls/ole32/clipboard.c
+12
-3
No files found.
dlls/ole32/clipboard.c
View file @
e77ab142
...
@@ -150,6 +150,8 @@ static ole_clipbrd* theOleClipboard;
...
@@ -150,6 +150,8 @@ static ole_clipbrd* theOleClipboard;
*/
*/
static
const
CHAR
OLEClipbrd_WNDCLASS
[]
=
"CLIPBRDWNDCLASS"
;
static
const
CHAR
OLEClipbrd_WNDCLASS
[]
=
"CLIPBRDWNDCLASS"
;
static
UINT
dataobject_clipboard_format
;
/*
/*
* If we need to store state info we can store it here.
* If we need to store state info we can store it here.
* For now we don't need this functionality.
* For now we don't need this functionality.
...
@@ -1175,15 +1177,22 @@ static ole_clipbrd* OLEClipbrd_Construct(void)
...
@@ -1175,15 +1177,22 @@ static ole_clipbrd* OLEClipbrd_Construct(void)
return
This
;
return
This
;
}
}
static
void
register_clipboard_formats
(
void
)
{
static
const
WCHAR
DataObjectW
[]
=
{
'D'
,
'a'
,
't'
,
'a'
,
'O'
,
'b'
,
'j'
,
'e'
,
'c'
,
't'
,
0
};
if
(
!
dataobject_clipboard_format
)
dataobject_clipboard_format
=
RegisterClipboardFormatW
(
DataObjectW
);
}
/***********************************************************************
/***********************************************************************
* OLEClipbrd_Initialize()
* OLEClipbrd_Initialize()
* Initializes the OLE clipboard.
* Initializes the OLE clipboard.
*/
*/
void
OLEClipbrd_Initialize
(
void
)
void
OLEClipbrd_Initialize
(
void
)
{
{
/*
register_clipboard_formats
();
* Create the clipboard if necessary
*/
if
(
!
theOleClipboard
)
if
(
!
theOleClipboard
)
{
{
TRACE
(
"()
\n
"
);
TRACE
(
"()
\n
"
);
...
...
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