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
b5e5555c
Commit
b5e5555c
authored
Dec 01, 2000
by
Patrik Stridvall
Committed by
Alexandre Julliard
Dec 01, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Win16 documentation not fixed because of a bug in winapi_check.
parent
7a4e5997
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
71 additions
and
6 deletions
+71
-6
kernel_main.c
dlls/kernel/kernel_main.c
+14
-1
thunk.c
dlls/kernel/thunk.c
+1
-1
msvideo_main.c
dlls/msvideo/msvideo_main.c
+33
-0
setupx_main.c
dlls/setupapi/setupx_main.c
+20
-4
module.c
loader/ne/module.c
+3
-0
No files found.
dlls/kernel/kernel_main.c
View file @
b5e5555c
...
...
@@ -118,16 +118,26 @@ LONG WINAPI KERNEL_nop(void) { return 0; }
*
* We rather want to implement them here instead of doing Callouts
*/
/***********************************************************************
* KERNEL_AnsiNext16
*/
SEGPTR
WINAPI
KERNEL_AnsiNext16
(
SEGPTR
current
)
{
return
(
*
(
char
*
)
PTR_SEG_TO_LIN
(
current
))
?
current
+
1
:
current
;
}
/***********************************************************************
* KERNEL_AnsiPrev16
*/
SEGPTR
WINAPI
KERNEL_AnsiPrev16
(
SEGPTR
start
,
SEGPTR
current
)
{
return
(
current
==
start
)
?
start
:
current
-
1
;
}
/***********************************************************************
* KERNEL_AnsiUpper16
*/
SEGPTR
WINAPI
KERNEL_AnsiUpper16
(
SEGPTR
strOrChar
)
{
/* uppercase only one char if strOrChar < 0x10000 */
...
...
@@ -143,6 +153,9 @@ SEGPTR WINAPI KERNEL_AnsiUpper16( SEGPTR strOrChar )
else
return
toupper
((
char
)
strOrChar
);
}
/***********************************************************************
* KERNEL_AnsiLower16
*/
SEGPTR
WINAPI
KERNEL_AnsiLower16
(
SEGPTR
strOrChar
)
{
/* lowercase only one char if strOrChar < 0x10000 */
...
...
dlls/kernel/thunk.c
View file @
b5e5555c
...
...
@@ -1037,7 +1037,7 @@ void WINAPI GetTEBSelectorFS16(void)
}
/**********************************************************************
*
KERNEL_431
(KERNEL.431)
*
IsPeFormat
(KERNEL.431)
* Checks the passed filename if it is a PE format executeable
* RETURNS
* TRUE, if it is.
...
...
dlls/msvideo/msvideo_main.c
View file @
b5e5555c
...
...
@@ -204,10 +204,16 @@ HIC VFWAPI ICOpenFunction(DWORD fccType, DWORD fccHandler, UINT wMode, FARPROC l
return
MSVIDEO_OpenFunc
(
fccType
,
fccHandler
,
wMode
,
lpfnHandler
,
TRUE
);
}
/***********************************************************************
* ICOpen [MSVIDEO.203]
*/
HIC16
VFWAPI
ICOpen16
(
DWORD
fccType
,
DWORD
fccHandler
,
UINT16
wMode
)
{
return
(
HIC16
)
ICOpen
(
fccType
,
fccHandler
,
wMode
);
}
/***********************************************************************
* ICOpenFunction [MSVIDEO.206]
*/
HIC16
VFWAPI
ICOpenFunction16
(
DWORD
fccType
,
DWORD
fccHandler
,
UINT16
wMode
,
FARPROC16
lpfnHandler
)
{
return
MSVIDEO_OpenFunc
(
fccType
,
fccHandler
,
wMode
,
lpfnHandler
,
FALSE
);
}
...
...
@@ -224,6 +230,9 @@ LRESULT VFWAPI ICGetInfo(HIC hic,ICINFO *picinfo,DWORD cb) {
return
ret
;
}
/***********************************************************************
* ICGetInfo [MSVIDEO.212]
*/
LRESULT
VFWAPI
ICGetInfo16
(
HIC16
hic
,
ICINFO16
*
picinfo
,
DWORD
cb
)
{
LRESULT
ret
;
...
...
@@ -313,6 +322,9 @@ HIC VFWAPI ICLocate(
return
0
;
}
/***********************************************************************
* ICLocate [MSVIDEO.213]
*/
HIC16
VFWAPI
ICLocate16
(
DWORD
fccType
,
DWORD
fccHandler
,
LPBITMAPINFOHEADER
lpbiIn
,
LPBITMAPINFOHEADER
lpbiOut
,
WORD
wFlags
)
{
return
(
HIC16
)
ICLocate
(
fccType
,
fccHandler
,
lpbiIn
,
lpbiOut
,
wFlags
);
...
...
@@ -402,6 +414,9 @@ ICCompress(
return
ICSendMessage
(
hic
,
ICM_COMPRESS
,(
DWORD
)
&
iccmp
,
sizeof
(
iccmp
));
}
/***********************************************************************
* _ICCompress [MSVIDEO.224]
*/
DWORD
VFWAPIV
ICCompress16
(
HIC16
hic
,
DWORD
dwFlags
,
LPBITMAPINFOHEADER
lpbiOutput
,
LPVOID
lpData
,
LPBITMAPINFOHEADER
lpbiInput
,
LPVOID
lpBits
,
LPDWORD
lpckid
,
LPDWORD
lpdwFlags
,
LONG
lFrameNum
,
DWORD
dwFrameSize
,
DWORD
dwQuality
,
...
...
@@ -460,6 +475,9 @@ DWORD VFWAPIV ICDecompress(HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiFormat,
return
ret
;
}
/***********************************************************************
* _ICDecompress [MSVIDEO.230]
*/
DWORD
VFWAPIV
ICDecompress16
(
HIC16
hic
,
DWORD
dwFlags
,
LPBITMAPINFOHEADER
lpbiFormat
,
LPVOID
lpData
,
LPBITMAPINFOHEADER
lpbi
,
LPVOID
lpBits
)
{
...
...
@@ -869,10 +887,16 @@ LRESULT VFWAPI ICSendMessage(HIC hic, UINT msg, DWORD lParam1, DWORD lParam2) {
return
MSVIDEO_SendMessage
(
hic
,
msg
,
lParam1
,
lParam2
,
TRUE
);
}
/***********************************************************************
* ICSendMessage [MSVIDEO.205]
*/
LRESULT
VFWAPI
ICSendMessage16
(
HIC16
hic
,
UINT16
msg
,
DWORD
lParam1
,
DWORD
lParam2
)
{
return
MSVIDEO_SendMessage
(
hic
,
msg
,
lParam1
,
lParam2
,
FALSE
);
}
/***********************************************************************
* _ICMessage [MSVIDEO.207]
*/
LRESULT
VFWAPIV
ICMessage16
(
void
)
{
HIC16
hic
;
UINT16
msg
;
...
...
@@ -948,6 +972,9 @@ DWORD VFWAPIV ICDrawBegin(
return
ICSendMessage
(
hic
,
ICM_DRAW_BEGIN
,(
DWORD
)
&
icdb
,
sizeof
(
icdb
));
}
/***********************************************************************
* _ICDrawBegin [MSVIDEO.232]
*/
DWORD
VFWAPIV
ICDrawBegin16
(
HIC16
hic
,
DWORD
dwFlags
,
/* flags */
...
...
@@ -1011,6 +1038,9 @@ DWORD VFWAPIV ICDraw(HIC hic, DWORD dwFlags, LPVOID lpFormat, LPVOID lpData, DWO
return
ICSendMessage
(
hic
,
ICM_DRAW
,(
DWORD
)
&
icd
,
sizeof
(
icd
));
}
/***********************************************************************
* _ICDraw [MSVIDEO.234]
*/
DWORD
VFWAPIV
ICDraw16
(
HIC16
hic
,
DWORD
dwFlags
,
LPVOID
/*SEGPTR*/
lpFormat
,
LPVOID
/*SEGPTR*/
lpData
,
DWORD
cbData
,
LONG
lTime
)
{
...
...
@@ -1045,6 +1075,9 @@ LRESULT WINAPI ICClose(HIC hic) {
return
0
;
}
/***********************************************************************
* ICClose [MSVIDEO.204]
*/
LRESULT
WINAPI
ICClose16
(
HIC16
hic
)
{
return
ICClose
(
hic
);
}
...
...
dlls/setupapi/setupx_main.c
View file @
b5e5555c
...
...
@@ -54,7 +54,9 @@ DWORD WINAPI SURegQueryValueEx( HKEY hkey, LPSTR lpszValueName,
lpbData
,
lpcbData
);
}
/*
/***********************************************************************
* InstallHinfSection
*
* hwnd = parent window
* hinst = instance of SETUPX.DLL
* lpszCmdLine = e.g. "DefaultInstall 132 C:\MYINSTALL\MYDEV.INF"
...
...
@@ -472,8 +474,8 @@ static BOOL SETUPX_TranslateLDID(int ldid, LPSTR buffer, WORD buflen, HINF16 hIn
return
handled
;
}
/*
*
GenFormStrWithoutPlaceHolders
/*
**********************************************************************
*
GenFormStrWithoutPlaceHolders
*/
void
WINAPI
GenFormStrWithoutPlaceHolders16
(
LPSTR
szDst
,
LPCSTR
szSrc
,
HINF16
hInf
)
{
...
...
@@ -546,6 +548,9 @@ void WINAPI GenFormStrWithoutPlaceHolders16( LPSTR szDst, LPCSTR szSrc, HINF16 h
TRACE
(
"ret '%s'
\n
"
,
szDst
);
}
/***********************************************************************
* CtlGetLddPath
*/
RETERR16
WINAPI
CtlGetLddPath16
(
LOGDISKID16
ldid
,
LPSTR
szPath
)
{
FIXME
(
"(%04x, %p), stub.
\n
"
,
ldid
,
szPath
);
...
...
@@ -553,13 +558,18 @@ RETERR16 WINAPI CtlGetLddPath16(LOGDISKID16 ldid, LPSTR szPath)
return
OK
;
}
/***********************************************************************
* CtlSetLddPath
*/
RETERR16
WINAPI
CtlSetLddPath16
(
LOGDISKID16
ldid
,
LPSTR
szPath
)
{
FIXME
(
"(%04x, '%s'), stub.
\n
"
,
ldid
,
szPath
);
return
OK
;
}
/*
/***********************************************************************
* vcpOpen
*
* p2 is "\001" for Netmeeting.
*/
RETERR16
WINAPI
vcpOpen16
(
LPWORD
p1
,
LPWORD
p2
)
...
...
@@ -568,12 +578,18 @@ RETERR16 WINAPI vcpOpen16(LPWORD p1, LPWORD p2)
return
OK
;
}
/***********************************************************************
* vcpClose
*/
RETERR16
WINAPI
vcpClose16
(
WORD
w1
,
WORD
w2
,
WORD
w3
)
{
FIXME
(
"(%04x, %04x %04x), stub.
\n
"
,
w1
,
w2
,
w3
);
return
OK
;
}
/***********************************************************************
* GenInstall
*/
RETERR16
WINAPI
GenInstall16
(
HINF16
hInfFile
,
LPCSTR
szInstallSection
,
WORD
wFlags
)
{
FIXME
(
"(%04x, '%s', %04x), stub. This doesn't install anything yet ! Use native SETUPX.DLL instead !!
\n
"
,
hInfFile
,
szInstallSection
,
wFlags
);
...
...
loader/ne/module.c
View file @
b5e5555c
...
...
@@ -1427,6 +1427,9 @@ DWORD WINAPI WIN16_GetModuleHandle( SEGPTR name )
return
MAKELONG
(
GetModuleHandle16
(
PTR_SEG_TO_LIN
(
name
)),
hFirstModule
);
}
/***********************************************************************
* GetModuleHandle16 (KERNEL but also exported from KERNEL32 in Wine)
*/
HMODULE16
WINAPI
GetModuleHandle16
(
LPCSTR
name
)
{
HMODULE16
hModule
=
hFirstModule
;
...
...
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