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
350c04b5
Commit
350c04b5
authored
Aug 25, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a couple of WINAPI issues with 16-bit spec files (thanks to
Marcus Meissner).
parent
ef6dca5c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
3 deletions
+21
-3
kernel.spec
dlls/kernel/kernel.spec
+2
-2
lstr.c
dlls/user/lstr.c
+9
-0
user.spec
dlls/user/user.spec
+1
-1
string.c
memory/string.c
+9
-0
No files found.
dlls/kernel/kernel.spec
View file @
350c04b5
...
...
@@ -93,7 +93,7 @@ owner kernel32
84 pascal _llseek(word long word) _llseek16
85 pascal16 _lopen(str word) _lopen16
86 pascal16 _lwrite(word ptr word) _lwrite16
87
pascal16 Reserved5(str str) strcmp
87
stub Reserved5 #lstrcmp16
88 pascal lstrcpy(segptr str) lstrcpy16
89 pascal lstrcat(segstr str) lstrcat16
90 pascal16 lstrlen(str) lstrlen16
...
...
@@ -291,7 +291,7 @@ owner kernel32
345 pascal16 IsSharedSelector(word) IsSharedSelector16
346 pascal16 IsBadHugeReadPtr(segptr long) IsBadHugeReadPtr16
347 pascal16 IsBadHugeWritePtr(segptr long) IsBadHugeWritePtr16
348 pascal16 hmemcpy(ptr ptr long)
memcpy
348 pascal16 hmemcpy(ptr ptr long)
hmemcpy16
349 pascal _hread(word segptr long) WIN16_hread
350 pascal _hwrite(word ptr long) _hwrite16
351 pascal16 BUNNY_351() KERNEL_nop
...
...
dlls/user/lstr.c
View file @
350c04b5
...
...
@@ -63,6 +63,15 @@ void WINAPI OemToAnsiBuff16( LPCSTR s, LPSTR d, UINT16 len )
/***********************************************************************
* lstrcmp16 (USER.430)
*/
INT16
WINAPI
lstrcmp16
(
LPCSTR
str1
,
LPCSTR
str2
)
{
return
(
INT16
)
strcmp
(
str1
,
str2
);
}
/***********************************************************************
* AnsiUpper16 (USER.431)
*/
SEGPTR
WINAPI
AnsiUpper16
(
SEGPTR
strOrChar
)
...
...
dlls/user/user.spec
View file @
350c04b5
...
...
@@ -405,7 +405,7 @@ owner user32
427 pascal16 FindWindowEx(word word str str) FindWindowEx16
428 stub TileWindows
429 stub CascadeWindows
430 pascal16 lstrcmp(str str)
strcmp
430 pascal16 lstrcmp(str str)
lstrcmp16
431 pascal AnsiUpper(segstr) AnsiUpper16
432 pascal AnsiLower(segstr) AnsiLower16
433 pascal16 IsCharAlpha(word) IsCharAlphaA
...
...
memory/string.c
View file @
350c04b5
...
...
@@ -30,6 +30,15 @@ static WINE_EXCEPTION_FILTER(page_fault)
/***********************************************************************
* hmemcpy16 (KERNEL.348)
*/
void
WINAPI
hmemcpy16
(
LPVOID
dst
,
LPCVOID
src
,
LONG
count
)
{
memcpy
(
dst
,
src
,
count
);
}
/***********************************************************************
* lstrcat16 (KERNEL.89)
*/
SEGPTR
WINAPI
lstrcat16
(
SEGPTR
dst
,
LPCSTR
src
)
...
...
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