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
1c35daed
Commit
1c35daed
authored
Feb 07, 2000
by
Juergen Schmied
Committed by
Alexandre Julliard
Feb 07, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added CF_HDROP.
parent
8f22c91b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
clipboard.c
windows/clipboard.c
+7
-6
No files found.
windows/clipboard.c
View file @
1c35daed
...
...
@@ -58,7 +58,7 @@ static WORD LastRegFormat = CF_REGFORMATBASE;
* WARNING: This data ordering is dependendent on the WINE_CLIPFORMAT structure
* declared in clipboard.h
*/
WINE_CLIPFORMAT
ClipFormats
[
1
6
]
=
{
WINE_CLIPFORMAT
ClipFormats
[
1
7
]
=
{
{
CF_TEXT
,
1
,
0
,
"Text"
,
(
HANDLE16
)
NULL
,
(
HANDLE
)
NULL
,
(
HANDLE
)
NULL
,
0
,
NULL
,
&
ClipFormats
[
1
]},
{
CF_BITMAP
,
1
,
0
,
"Bitmap"
,
(
HANDLE16
)
NULL
,
(
HANDLE
)
NULL
,
(
HANDLE
)
NULL
,
0
,
&
ClipFormats
[
0
],
&
ClipFormats
[
2
]},
{
CF_METAFILEPICT
,
1
,
0
,
"MetaFile Picture"
,
(
HANDLE16
)
NULL
,
(
HANDLE
)
NULL
,
(
HANDLE
)
NULL
,
0
,
&
ClipFormats
[
1
],
&
ClipFormats
[
3
]},
...
...
@@ -74,7 +74,8 @@ WINE_CLIPFORMAT ClipFormats[16] = {
{
CF_OWNERDISPLAY
,
1
,
0
,
"Owner Display"
,
(
HANDLE16
)
NULL
,
(
HANDLE
)
NULL
,
(
HANDLE
)
NULL
,
0
,
&
ClipFormats
[
11
],
&
ClipFormats
[
13
]},
{
CF_DSPTEXT
,
1
,
0
,
"DSPText"
,
(
HANDLE16
)
NULL
,
(
HANDLE
)
NULL
,
(
HANDLE
)
NULL
,
0
,
&
ClipFormats
[
12
],
&
ClipFormats
[
14
]},
{
CF_DSPMETAFILEPICT
,
1
,
0
,
"DSPMetaFile Picture"
,
(
HANDLE16
)
NULL
,
(
HANDLE
)
NULL
,
(
HANDLE
)
NULL
,
0
,
&
ClipFormats
[
13
],
&
ClipFormats
[
15
]},
{
CF_DSPBITMAP
,
1
,
0
,
"DSPBitmap"
,
(
HANDLE16
)
NULL
,
(
HANDLE
)
NULL
,
(
HANDLE
)
NULL
,
0
,
&
ClipFormats
[
14
],
NULL
}
{
CF_DSPBITMAP
,
1
,
0
,
"DSPBitmap"
,
(
HANDLE16
)
NULL
,
(
HANDLE
)
NULL
,
(
HANDLE
)
NULL
,
0
,
&
ClipFormats
[
14
],
&
ClipFormats
[
16
]},
{
CF_HDROP
,
1
,
0
,
"HDROP"
,
(
HANDLE16
)
NULL
,
(
HANDLE
)
NULL
,
(
HANDLE
)
NULL
,
0
,
&
ClipFormats
[
15
],
NULL
}
};
...
...
@@ -666,7 +667,7 @@ HANDLE16 WINAPI SetClipboardData16( UINT16 wFormat, HANDLE16 hData )
if
(
CLIPBOARD_IsLocked
()
||
!
lpFormat
||
(
!
hData
&&
(
!
hWndClipOwner
||
(
hWndClipOwner
!=
hWndClipWindow
)))
)
{
WARN
(
"Invalid hData or clipboard not opened by calling task!"
);
WARN
(
"Invalid hData or clipboard not opened by calling task!
\n
"
);
return
0
;
}
...
...
@@ -719,7 +720,7 @@ HANDLE WINAPI SetClipboardData( UINT wFormat, HANDLE hData )
if
(
CLIPBOARD_IsLocked
()
||
!
lpFormat
||
(
!
hData
&&
(
!
hWndClipOwner
||
(
hWndClipOwner
!=
hWndClipWindow
)))
)
{
WARN
(
"Invalid hData or clipboard not opened by calling task!"
);
WARN
(
"Invalid hData or clipboard not opened by calling task!
\n
"
);
return
0
;
}
...
...
@@ -775,7 +776,7 @@ HANDLE16 WINAPI GetClipboardData16( UINT16 wFormat )
if
(
CLIPBOARD_IsLocked
())
{
WARN
(
"Clipboard not opened by calling task!"
);
WARN
(
"Clipboard not opened by calling task!
\n
"
);
return
0
;
}
...
...
@@ -928,7 +929,7 @@ INT WINAPI CountClipboardFormats(void)
(
!
CLIPBOARD_Driver
->
pIsSelectionOwner
()
&&
CLIPBOARD_Driver
->
pIsFormatAvailable
(
lpFormat
->
wFormatID
)
)
)
{
TRACE
(
"
\t
data found for format
%i
(%s)
\n
"
,
TRACE
(
"
\t
data found for format
0x%04x
(%s)
\n
"
,
lpFormat
->
wFormatID
,
CLIPBOARD_GetFormatName
(
lpFormat
->
wFormatID
));
FormatCount
++
;
}
...
...
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