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
593b9735
Commit
593b9735
authored
Dec 28, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user.exe: Reimplement CopyImage16 for cursors and icons.
parent
2ced4102
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
user.c
dlls/user.exe16/user.c
+12
-2
No files found.
dlls/user.exe16/user.c
View file @
593b9735
...
...
@@ -2076,8 +2076,18 @@ HANDLE16 WINAPI LoadImage16(HINSTANCE16 hinst, LPCSTR name, UINT16 type, INT16 c
HICON16
WINAPI
CopyImage16
(
HANDLE16
hnd
,
UINT16
type
,
INT16
desiredx
,
INT16
desiredy
,
UINT16
flags
)
{
return
HICON_16
(
CopyImage
(
HANDLE_32
(
hnd
),
(
UINT
)
type
,
(
INT
)
desiredx
,
(
INT
)
desiredy
,
(
UINT
)
flags
));
if
(
flags
&
LR_COPYFROMRESOURCE
)
FIXME
(
"LR_COPYFROMRESOURCE not supported
\n
"
);
switch
(
type
)
{
case
IMAGE_BITMAP
:
return
HBITMAP_16
(
CopyImage
(
HBITMAP_32
(
hnd
),
type
,
desiredx
,
desiredy
,
flags
));
case
IMAGE_ICON
:
case
IMAGE_CURSOR
:
return
CopyIcon16
(
FarGetOwner16
(
hnd
),
hnd
);
default:
return
0
;
}
}
/**********************************************************************
...
...
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