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
a67369ea
Commit
a67369ea
authored
Dec 12, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed LoadImage16 to take an LPCSTR instead of a SEGPTR.
parent
bf67259a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
user.spec
dlls/user/user.spec
+1
-1
resource.c
loader/ne/resource.c
+1
-3
cursoricon.c
windows/cursoricon.c
+1
-3
No files found.
dlls/user/user.spec
View file @
a67369ea
...
...
@@ -372,7 +372,7 @@ owner user32
383 stub GetWindowContextHelpID
384 pascal16 SetMenuContextHelpId(word word) SetMenuContextHelpId16
385 pascal16 GetMenuContextHelpId(word) GetMenuContextHelpId16
389 pascal LoadImage(word s
egs
tr word word word word) LoadImage16
389 pascal LoadImage(word str word word word word) LoadImage16
390 pascal16 CopyImage(word word word word word) CopyImage16
391 pascal16 SignalProc32(long long long word) UserSignalProc
394 pascal16 DrawIconEx(word word word word word word word word word) DrawIconEx16
...
...
loader/ne/resource.c
View file @
a67369ea
...
...
@@ -305,9 +305,7 @@ HRSRC16 NE_FindResource( NE_MODULE *pModule, LPCSTR name, LPCSTR type )
if
(
!
pModule
||
!
pModule
->
res_table
)
return
0
;
TRACE
(
"module=%04x name=%s type=%s
\n
"
,
pModule
->
self
,
debugres_a
(
PTR_SEG_TO_LIN
(
name
)),
debugres_a
(
PTR_SEG_TO_LIN
(
type
))
);
TRACE
(
"module=%04x name=%s type=%s
\n
"
,
pModule
->
self
,
debugres_a
(
name
),
debugres_a
(
type
)
);
if
(
HIWORD
(
name
))
/* Check for '#xxx' name */
{
...
...
windows/cursoricon.c
View file @
a67369ea
...
...
@@ -2144,9 +2144,7 @@ static HBITMAP BITMAP_Load( HINSTANCE instance,LPCWSTR name, UINT loadflags )
HANDLE16
WINAPI
LoadImage16
(
HINSTANCE16
hinst
,
LPCSTR
name
,
UINT16
type
,
INT16
desiredx
,
INT16
desiredy
,
UINT16
loadflags
)
{
LPCSTR
nameStr
=
HIWORD
(
name
)
?
PTR_SEG_TO_LIN
(
name
)
:
(
LPCSTR
)
name
;
return
LoadImageA
(
hinst
,
nameStr
,
type
,
desiredx
,
desiredy
,
loadflags
);
return
LoadImageA
(
hinst
,
name
,
type
,
desiredx
,
desiredy
,
loadflags
);
}
/**********************************************************************
...
...
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