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
f0deb8a1
Commit
f0deb8a1
authored
Apr 15, 2000
by
Patrik Stridvall
Committed by
Alexandre Julliard
Apr 15, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some issues reported by winapi_check.
parent
1932d402
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
63 additions
and
43 deletions
+63
-43
main.c
dlls/ddraw/main.c
+3
-0
x11.c
dlls/ddraw/x11.c
+1
-0
dinput_main.c
dlls/dinput/dinput_main.c
+1
-1
dplayx.spec
dlls/dplayx/dplayx.spec
+1
-1
icmp_main.c
dlls/icmp/icmp_main.c
+3
-0
om.c
dlls/ntdll/om.c
+1
-1
shlwapi.spec
dlls/shell32/shlwapi.spec
+1
-1
emulate.c
dlls/win87em/emulate.c
+3
-0
ftp.c
dlls/wininet/ftp.c
+25
-21
internet.c
dlls/wininet/internet.c
+14
-10
mcianim.c
dlls/winmm/mcianim/mcianim.c
+0
-0
palette.c
graphics/ttydrv/palette.c
+1
-0
winbase16.h
include/wine/winbase16.h
+5
-6
utthunk.c
relay32/utthunk.c
+4
-2
No files found.
dlls/ddraw/main.c
View file @
f0deb8a1
...
...
@@ -244,6 +244,9 @@ static LRESULT WINAPI DDWndProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam)
return
DefWindowProcA
(
hwnd
,
msg
,
wParam
,
lParam
);
}
/***********************************************************************
* DirectDrawCreate
*/
HRESULT
WINAPI
DirectDrawCreate
(
LPGUID
lpGUID
,
LPDIRECTDRAW
*
lplpDD
,
LPUNKNOWN
pUnkOuter
)
{
...
...
dlls/ddraw/x11.c
View file @
f0deb8a1
...
...
@@ -112,5 +112,6 @@ static void __asm__dummy_dll_init(void) {
asm
(
"
\t
.section .init ,
\"
ax
\"\n
"
"
\t
call X11_register
\n
"
"
\t
.previous
\n
"
);
}
#endif
/* defined(__GNUC__) */
static
void
X11_register
(
void
)
{
ddraw_register_driver
(
&
x11_driver
);
}
dlls/dinput/dinput_main.c
View file @
f0deb8a1
...
...
@@ -480,7 +480,7 @@ static DataFormat *create_DataFormat(DIDATAFORMAT *wine_format, DIDATAFORMAT *as
}
/******************************************************************************
* DirectInputCreate
32
A
* DirectInputCreateA
*/
HRESULT
WINAPI
DirectInputCreateA
(
HINSTANCE
hinst
,
DWORD
dwVersion
,
LPDIRECTINPUTA
*
ppDI
,
LPUNKNOWN
punkOuter
)
{
...
...
dlls/dplayx/dplayx.spec
View file @
f0deb8a1
...
...
@@ -2,7 +2,7 @@ name dplayx
type win32
init DPLAYX_LibMain
1 stdcall DirectPlayCreate(ptr ptr ptr
ptr
) DirectPlayCreate
1 stdcall DirectPlayCreate(ptr ptr ptr) DirectPlayCreate
2 stdcall DirectPlayEnumerateA(ptr ptr) DirectPlayEnumerateA
3 stdcall DirectPlayEnumerateW(ptr ptr) DirectPlayEnumerateW
4 stdcall DirectPlayLobbyCreateA(ptr ptr ptr ptr long) DirectPlayLobbyCreateA
...
...
dlls/icmp/icmp_main.c
View file @
f0deb8a1
...
...
@@ -182,6 +182,9 @@ HANDLE WINAPI IcmpCreateFile(VOID)
}
/***********************************************************************
* IcmpCloseHandle
*/
BOOL
WINAPI
IcmpCloseHandle
(
HANDLE
IcmpHandle
)
{
icmp_t
*
icp
=
(
icmp_t
*
)
IcmpHandle
;
...
...
dlls/ntdll/om.c
View file @
f0deb8a1
...
...
@@ -353,7 +353,7 @@ NTSTATUS WINAPI NtQuerySymbolicLinkObject(
*/
NTSTATUS
WINAPI
NtAllocateUuids
(
LPDWORD
lpdwCount
,
LPDWORD
*
p2
,
LPDWORD
*
p3
)
{
FIXME
(
"(%p[%d],%p,%p), stub.
\n
"
,
lpdwCount
,
FIXME
(
"(%p[%
l
d],%p,%p), stub.
\n
"
,
lpdwCount
,
lpdwCount
?
*
lpdwCount
:
0
,
p2
,
p3
);
return
0
;
...
...
dlls/shell32/shlwapi.spec
View file @
f0deb8a1
...
...
@@ -239,7 +239,7 @@ type win32
@ stdcall PathMatchSpecW (str str) PathMatchSpecW
@ stub PathParseIconLocationA
@ stub PathParseIconLocationW
@ stdcall PathQuoteSpacesA (ptr) PathQuoteSpaces
W
@ stdcall PathQuoteSpacesA (ptr) PathQuoteSpaces
A
@ stdcall PathQuoteSpacesW (ptr) PathQuoteSpacesW
@ stub PathRelativePathToA
@ stub PathRelativePathToW
...
...
dlls/win87em/emulate.c
View file @
f0deb8a1
...
...
@@ -78,6 +78,9 @@ void WIN87_Init( CONTEXT86 *context )
WIN87_ClearCtrlWord
(
context
);
}
/***********************************************************************
* WIN87_fpmath
*/
void
WINAPI
WIN87_fpmath
(
CONTEXT86
*
context
)
{
TRACE
(
"(cs:eip=%x:%lx es=%x bx=%04x ax=%04x dx==%04x)
\n
"
,
...
...
dlls/wininet/ftp.c
View file @
f0deb8a1
...
...
@@ -7,12 +7,16 @@
* Noureddine Jemmali
*/
#include "config.h"
#include <errno.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
...
...
@@ -112,7 +116,7 @@ DWORD FTP_SetResponseError(DWORD dwResponse);
* FALSE on failure
*
*/
BOOLAPI
FtpPutFileA
(
HINTERNET
hConnect
,
LPCSTR
lpszLocalFile
,
BOOL
WIN
API
FtpPutFileA
(
HINTERNET
hConnect
,
LPCSTR
lpszLocalFile
,
LPCSTR
lpszNewRemoteFile
,
DWORD
dwFlags
,
DWORD
dwContext
)
{
LPWININETFTPSESSIONA
lpwfs
=
(
LPWININETFTPSESSIONA
)
hConnect
;
...
...
@@ -155,7 +159,7 @@ BOOLAPI FtpPutFileA(HINTERNET hConnect, LPCSTR lpszLocalFile,
* FALSE on failure
*
*/
BOOLAPI
FTP_FtpPutFileA
(
HINTERNET
hConnect
,
LPCSTR
lpszLocalFile
,
BOOL
WIN
API
FTP_FtpPutFileA
(
HINTERNET
hConnect
,
LPCSTR
lpszLocalFile
,
LPCSTR
lpszNewRemoteFile
,
DWORD
dwFlags
,
DWORD
dwContext
)
{
HANDLE
hFile
=
(
HANDLE
)
NULL
;
...
...
@@ -226,7 +230,7 @@ lend:
* FALSE on failure
*
*/
BOOLAPI
FtpSetCurrentDirectoryA
(
HINTERNET
hConnect
,
LPCSTR
lpszDirectory
)
BOOL
WIN
API
FtpSetCurrentDirectoryA
(
HINTERNET
hConnect
,
LPCSTR
lpszDirectory
)
{
LPWININETFTPSESSIONA
lpwfs
=
(
LPWININETFTPSESSIONA
)
hConnect
;
LPWININETAPPINFOA
hIC
=
NULL
;
...
...
@@ -267,7 +271,7 @@ BOOLAPI FtpSetCurrentDirectoryA(HINTERNET hConnect, LPCSTR lpszDirectory)
* FALSE on failure
*
*/
BOOLAPI
FTP_FtpSetCurrentDirectoryA
(
HINTERNET
hConnect
,
LPCSTR
lpszDirectory
)
BOOL
WIN
API
FTP_FtpSetCurrentDirectoryA
(
HINTERNET
hConnect
,
LPCSTR
lpszDirectory
)
{
INT
nResCode
;
LPWININETFTPSESSIONA
lpwfs
=
(
LPWININETFTPSESSIONA
)
hConnect
;
...
...
@@ -325,7 +329,7 @@ lend:
* FALSE on failure
*
*/
BOOLAPI
FtpCreateDirectoryA
(
HINTERNET
hConnect
,
LPCSTR
lpszDirectory
)
BOOL
WIN
API
FtpCreateDirectoryA
(
HINTERNET
hConnect
,
LPCSTR
lpszDirectory
)
{
LPWININETFTPSESSIONA
lpwfs
=
(
LPWININETFTPSESSIONA
)
hConnect
;
LPWININETAPPINFOA
hIC
=
NULL
;
...
...
@@ -364,7 +368,7 @@ BOOLAPI FtpCreateDirectoryA(HINTERNET hConnect, LPCSTR lpszDirectory)
* FALSE on failure
*
*/
BOOLAPI
FTP_FtpCreateDirectoryA
(
HINTERNET
hConnect
,
LPCSTR
lpszDirectory
)
BOOL
WIN
API
FTP_FtpCreateDirectoryA
(
HINTERNET
hConnect
,
LPCSTR
lpszDirectory
)
{
INT
nResCode
;
BOOL
bSuccess
=
FALSE
;
...
...
@@ -558,7 +562,7 @@ lend:
* FALSE on failure
*
*/
BOOLAPI
FtpGetCurrentDirectoryA
(
HINTERNET
hFtpSession
,
LPSTR
lpszCurrentDirectory
,
BOOL
WIN
API
FtpGetCurrentDirectoryA
(
HINTERNET
hFtpSession
,
LPSTR
lpszCurrentDirectory
,
LPDWORD
lpdwCurrentDirectory
)
{
LPWININETFTPSESSIONA
lpwfs
=
(
LPWININETFTPSESSIONA
)
hFtpSession
;
...
...
@@ -602,7 +606,7 @@ BOOLAPI FtpGetCurrentDirectoryA(HINTERNET hFtpSession, LPSTR lpszCurrentDirector
* FALSE on failure
*
*/
BOOLAPI
FTP_FtpGetCurrentDirectoryA
(
HINTERNET
hFtpSession
,
LPSTR
lpszCurrentDirectory
,
BOOL
WIN
API
FTP_FtpGetCurrentDirectoryA
(
HINTERNET
hFtpSession
,
LPSTR
lpszCurrentDirectory
,
LPDWORD
lpdwCurrentDirectory
)
{
INT
nResCode
;
...
...
@@ -803,7 +807,7 @@ HINTERNET FTP_FtpOpenFileA(HINTERNET hFtpSession,
* FALSE on failure
*
*/
BOOLAPI
FtpGetFileA
(
HINTERNET
hInternet
,
LPCSTR
lpszRemoteFile
,
LPCSTR
lpszNewFile
,
BOOL
WIN
API
FtpGetFileA
(
HINTERNET
hInternet
,
LPCSTR
lpszRemoteFile
,
LPCSTR
lpszNewFile
,
BOOL
fFailIfExists
,
DWORD
dwLocalFlagsAttribute
,
DWORD
dwInternetFlags
,
DWORD
dwContext
)
{
...
...
@@ -850,7 +854,7 @@ BOOLAPI FtpGetFileA(HINTERNET hInternet, LPCSTR lpszRemoteFile, LPCSTR lpszNewFi
* FALSE on failure
*
*/
BOOLAPI
FTP_FtpGetFileA
(
HINTERNET
hInternet
,
LPCSTR
lpszRemoteFile
,
LPCSTR
lpszNewFile
,
BOOL
WIN
API
FTP_FtpGetFileA
(
HINTERNET
hInternet
,
LPCSTR
lpszRemoteFile
,
LPCSTR
lpszNewFile
,
BOOL
fFailIfExists
,
DWORD
dwLocalFlagsAttribute
,
DWORD
dwInternetFlags
,
DWORD
dwContext
)
{
...
...
@@ -932,7 +936,7 @@ lend:
* FALSE on failure
*
*/
BOOLAPI
FtpDeleteFileA
(
HINTERNET
hFtpSession
,
LPCSTR
lpszFileName
)
BOOL
WIN
API
FtpDeleteFileA
(
HINTERNET
hFtpSession
,
LPCSTR
lpszFileName
)
{
LPWININETFTPSESSIONA
lpwfs
=
(
LPWININETFTPSESSIONA
)
hFtpSession
;
LPWININETAPPINFOA
hIC
=
NULL
;
...
...
@@ -1026,7 +1030,7 @@ lend:
* FALSE on failure
*
*/
BOOLAPI
FtpRemoveDirectoryA
(
HINTERNET
hFtpSession
,
LPCSTR
lpszDirectory
)
BOOL
WIN
API
FtpRemoveDirectoryA
(
HINTERNET
hFtpSession
,
LPCSTR
lpszDirectory
)
{
LPWININETFTPSESSIONA
lpwfs
=
(
LPWININETFTPSESSIONA
)
hFtpSession
;
LPWININETAPPINFOA
hIC
=
NULL
;
...
...
@@ -1121,7 +1125,7 @@ lend:
* FALSE on failure
*
*/
BOOLAPI
FtpRenameFileA
(
HINTERNET
hFtpSession
,
LPCSTR
lpszSrc
,
LPCSTR
lpszDest
)
BOOL
WIN
API
FtpRenameFileA
(
HINTERNET
hFtpSession
,
LPCSTR
lpszSrc
,
LPCSTR
lpszDest
)
{
LPWININETFTPSESSIONA
lpwfs
=
(
LPWININETFTPSESSIONA
)
hFtpSession
;
LPWININETAPPINFOA
hIC
=
NULL
;
...
...
@@ -1254,7 +1258,7 @@ HINTERNET FTP_Connect(HINTERNET hInternet, LPCSTR lpszServerName,
if
(
hIC
->
lpfnStatusCB
)
hIC
->
lpfnStatusCB
(
hInternet
,
dwContext
,
INTERNET_STATUS_RESOLVING_NAME
,
lpszServerName
,
strlen
(
lpszServerName
));
(
LPSTR
)
lpszServerName
,
strlen
(
lpszServerName
));
if
(
!
GetAddress
(
lpszServerName
,
nServerPort
,
&
phe
,
&
socketAddr
))
{
...
...
@@ -1264,7 +1268,7 @@ HINTERNET FTP_Connect(HINTERNET hInternet, LPCSTR lpszServerName,
if
(
hIC
->
lpfnStatusCB
)
hIC
->
lpfnStatusCB
(
hInternet
,
dwContext
,
INTERNET_STATUS_NAME_RESOLVED
,
lpszServerName
,
strlen
(
lpszServerName
));
(
LPSTR
)
lpszServerName
,
strlen
(
lpszServerName
));
if
(
INVALID_SOCKET
==
(
nsocket
=
socket
(
AF_INET
,
SOCK_STREAM
,
0
)))
{
...
...
@@ -1633,7 +1637,7 @@ lend:
BOOL
FTP_InitListenSocket
(
LPWININETFTPSESSIONA
lpwfs
)
{
BOOL
bSuccess
=
FALSE
;
s
ocklen
_t
namelen
=
sizeof
(
struct
sockaddr_in
);
s
ize
_t
namelen
=
sizeof
(
struct
sockaddr_in
);
TRACE
(
"
\n
"
);
...
...
@@ -1647,7 +1651,7 @@ BOOL FTP_InitListenSocket(LPWININETFTPSESSIONA lpwfs)
lpwfs
->
lstnSocketAddress
.
sin_family
=
AF_INET
;
lpwfs
->
lstnSocketAddress
.
sin_port
=
htons
((
u_short
)
0
);
lpwfs
->
lstnSocketAddress
.
sin_addr
.
s_addr
=
htonl
(
INADDR_ANY
);
if
(
SOCKET_ERROR
==
bind
(
lpwfs
->
lstnSocket
,
&
lpwfs
->
lstnSocketAddress
,
sizeof
(
struct
sockaddr_in
)))
if
(
SOCKET_ERROR
==
bind
(
lpwfs
->
lstnSocket
,
(
struct
sockaddr
*
)
&
lpwfs
->
lstnSocketAddress
,
sizeof
(
struct
sockaddr_in
)))
{
TRACE
(
"Unable to bind socket
\n
"
);
goto
lend
;
...
...
@@ -1659,7 +1663,7 @@ BOOL FTP_InitListenSocket(LPWININETFTPSESSIONA lpwfs)
goto
lend
;
}
if
(
SOCKET_ERROR
!=
getsockname
(
lpwfs
->
lstnSocket
,
&
lpwfs
->
lstnSocketAddress
,
&
namelen
))
if
(
SOCKET_ERROR
!=
getsockname
(
lpwfs
->
lstnSocket
,
(
struct
sockaddr
*
)
&
lpwfs
->
lstnSocketAddress
,
&
namelen
))
bSuccess
=
TRUE
;
lend:
...
...
@@ -1768,10 +1772,10 @@ lend:
BOOL
FTP_InitDataSocket
(
LPWININETFTPSESSIONA
lpwfs
,
LPINT
nDataSocket
)
{
struct
sockaddr_in
saddr
;
s
ocklen
_t
addrlen
=
sizeof
(
struct
sockaddr
);
s
ize
_t
addrlen
=
sizeof
(
struct
sockaddr
);
TRACE
(
"
\n
"
);
*
nDataSocket
=
accept
(
lpwfs
->
lstnSocket
,
&
saddr
,
&
addrlen
);
*
nDataSocket
=
accept
(
lpwfs
->
lstnSocket
,
(
struct
sockaddr
*
)
&
saddr
,
&
addrlen
);
close
(
lpwfs
->
lstnSocket
);
lpwfs
->
lstnSocket
=
INVALID_SOCKET
;
...
...
dlls/wininet/internet.c
View file @
f0deb8a1
...
...
@@ -7,9 +7,13 @@
*
*/
#include "config.h"
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <stdlib.h>
#include "windows.h"
...
...
@@ -35,7 +39,7 @@ typedef struct
}
WITHREADERROR
,
*
LPWITHREADERROR
;
INTERNET_SCHEME
GetInternetScheme
(
LPSTR
lpszScheme
);
BOOLAPI
INTERNET_FindNextFileA
(
HINTERNET
hFind
,
LPVOID
lpvFindData
);
BOOL
WIN
API
INTERNET_FindNextFileA
(
HINTERNET
hFind
,
LPVOID
lpvFindData
);
VOID
INTERNET_ExecuteWork
();
DWORD
g_dwTlsErrIndex
=
TLS_OUT_OF_INDEXES
;
...
...
@@ -170,7 +174,7 @@ INTERNETAPI HINTERNET WINAPI InternetOpenA(LPCSTR lpszAgent,
* FALSE on failure
*
*/
BOOLAPI
InternetGetLastResponseInfoA
(
LPDWORD
lpdwError
,
BOOL
WIN
API
InternetGetLastResponseInfoA
(
LPDWORD
lpdwError
,
LPSTR
lpszBuffer
,
LPDWORD
lpdwBufferLength
)
{
LPWITHREADERROR
lpwite
=
(
LPWITHREADERROR
)
TlsGetValue
(
g_dwTlsErrIndex
);
...
...
@@ -240,7 +244,7 @@ INTERNETAPI HINTERNET WINAPI InternetConnectA(HINTERNET hInternet,
* FALSE on failure
*
*/
BOOLAPI
InternetFindNextFileA
(
HINTERNET
hFind
,
LPVOID
lpvFindData
)
BOOL
WIN
API
InternetFindNextFileA
(
HINTERNET
hFind
,
LPVOID
lpvFindData
)
{
LPWININETAPPINFOA
hIC
=
NULL
;
LPWININETFINDNEXTA
lpwh
=
(
LPWININETFINDNEXTA
)
hFind
;
...
...
@@ -280,7 +284,7 @@ BOOLAPI InternetFindNextFileA(HINTERNET hFind, LPVOID lpvFindData)
* FALSE on failure
*
*/
BOOLAPI
INTERNET_FindNextFileA
(
HINTERNET
hFind
,
LPVOID
lpvFindData
)
BOOL
WIN
API
INTERNET_FindNextFileA
(
HINTERNET
hFind
,
LPVOID
lpvFindData
)
{
BOOL
bSuccess
=
TRUE
;
LPWININETAPPINFOA
hIC
=
NULL
;
...
...
@@ -350,7 +354,7 @@ lend:
* FALSE on failure
*
*/
BOOLAPI
InternetCloseHandle
(
HINTERNET
hInternet
)
BOOL
WIN
API
InternetCloseHandle
(
HINTERNET
hInternet
)
{
BOOL
retval
=
FALSE
;
LPWININETHANDLEHEADER
lpwh
=
(
LPWININETHANDLEHEADER
)
hInternet
;
...
...
@@ -394,7 +398,7 @@ BOOLAPI InternetCloseHandle(HINTERNET hInternet)
* FALSE on failure
*
*/
BOOLAPI
InternetCrackUrlA
(
LPCSTR
lpszUrl
,
DWORD
dwUrlLength
,
DWORD
dwFlags
,
BOOL
WIN
API
InternetCrackUrlA
(
LPCSTR
lpszUrl
,
DWORD
dwUrlLength
,
DWORD
dwFlags
,
LPURL_COMPONENTSA
lpUrlComponents
)
{
/*
...
...
@@ -593,7 +597,7 @@ INTERNETAPI DWORD WINAPI InternetAttemptConnect(DWORD dwReserved)
* FALSE on failure
*
*/
BOOLAPI
InternetCanonicalizeUrlA
(
LPCSTR
lpszUrl
,
LPSTR
lpszBuffer
,
BOOL
WIN
API
InternetCanonicalizeUrlA
(
LPCSTR
lpszUrl
,
LPSTR
lpszBuffer
,
LPDWORD
lpdwBufferLength
,
DWORD
dwFlags
)
{
BOOL
bSuccess
=
FALSE
;
...
...
@@ -649,7 +653,7 @@ INTERNETAPI INTERNET_STATUS_CALLBACK WINAPI InternetSetStatusCallback(
* FALSE on failure
*
*/
BOOLAPI
InternetWriteFile
(
HINTERNET
hFile
,
LPCVOID
lpBuffer
,
BOOL
WIN
API
InternetWriteFile
(
HINTERNET
hFile
,
LPCVOID
lpBuffer
,
DWORD
dwNumOfBytesToWrite
,
LPDWORD
lpdwNumOfBytesWritten
)
{
BOOL
retval
=
FALSE
;
...
...
@@ -697,7 +701,7 @@ BOOLAPI InternetWriteFile(HINTERNET hFile, LPCVOID lpBuffer ,
* FALSE on failure
*
*/
BOOLAPI
InternetReadFile
(
HINTERNET
hFile
,
LPVOID
lpBuffer
,
BOOL
WIN
API
InternetReadFile
(
HINTERNET
hFile
,
LPVOID
lpBuffer
,
DWORD
dwNumOfBytesToRead
,
LPDWORD
dwNumOfBytesRead
)
{
BOOL
retval
=
FALSE
;
...
...
dlls/winmm/mcianim/mcianim.c
View file @
f0deb8a1
This diff is collapsed.
Click to expand it.
graphics/ttydrv/palette.c
View file @
f0deb8a1
...
...
@@ -9,6 +9,7 @@
#include "color.h"
#include "debugtools.h"
#include "palette.h"
#include "winbase.h"
#include "ttydrv.h"
DEFAULT_DEBUG_CHANNEL
(
ttydrv
)
...
...
include/wine/winbase16.h
View file @
f0deb8a1
...
...
@@ -36,11 +36,7 @@ typedef struct _SEGINFO {
#include "poppack.h"
HMODULE16
WINAPI
GetModuleHandle16
(
LPCSTR
);
HLOCAL16
WINAPI
LocalAlloc16
(
UINT16
,
WORD
);
LPVOID
WINAPI
LockResource16
(
HGLOBAL16
);
#ifdef __WINE__
/* undocumented functions */
WORD
WINAPI
AllocCStoDSAlias16
(
WORD
);
WORD
WINAPI
AllocDStoCSAlias16
(
WORD
);
HGLOBAL16
WINAPI
AllocResource16
(
HINSTANCE16
,
HRSRC16
,
DWORD
);
...
...
@@ -104,7 +100,7 @@ VOID WINAPI SwitchStackTo16(WORD,WORD,WORD);
BOOL16
WINAPI
WaitEvent16
(
HTASK16
);
VOID
WINAPI
WriteOutProfiles16
(
void
);
VOID
WINAPI
hmemcpy16
(
LPVOID
,
LPCVOID
,
LONG
);
#endif
/* __WINE__ */
INT16
WINAPI
AccessResource16
(
HINSTANCE16
,
HRSRC16
);
ATOM
WINAPI
AddAtom16
(
LPCSTR
);
...
...
@@ -127,6 +123,7 @@ UINT16 WINAPI GetDriveType16(UINT16); /* yes, the arguments differ */
DWORD
WINAPI
GetFileAttributes16
(
LPCSTR
);
DWORD
WINAPI
GetFreeSpace16
(
UINT16
);
INT16
WINAPI
GetModuleFileName16
(
HINSTANCE16
,
LPSTR
,
INT16
);
HMODULE16
WINAPI
GetModuleHandle16
(
LPCSTR
);
UINT16
WINAPI
GetPrivateProfileInt16
(
LPCSTR
,
LPCSTR
,
INT16
,
LPCSTR
);
INT16
WINAPI
GetPrivateProfileSection16
(
LPCSTR
,
LPSTR
,
UINT16
,
LPCSTR
);
WORD
WINAPI
GetPrivateProfileSectionNames16
(
LPSTR
,
UINT16
,
LPCSTR
);
...
...
@@ -154,6 +151,7 @@ BOOL16 WINAPI IsBadStringPtr16(SEGPTR,UINT16);
BOOL16
WINAPI
IsBadWritePtr16
(
SEGPTR
,
UINT16
);
BOOL16
WINAPI
IsDBCSLeadByte16
(
BYTE
);
HGLOBAL16
WINAPI
LoadResource16
(
HINSTANCE16
,
HRSRC16
);
HLOCAL16
WINAPI
LocalAlloc16
(
UINT16
,
WORD
);
UINT16
WINAPI
LocalCompact16
(
UINT16
);
UINT16
WINAPI
LocalFlags16
(
HLOCAL16
);
HLOCAL16
WINAPI
LocalFree16
(
HLOCAL16
);
...
...
@@ -163,6 +161,7 @@ HLOCAL16 WINAPI LocalReAlloc16(HLOCAL16,WORD,UINT16);
UINT16
WINAPI
LocalShrink16
(
HGLOBAL16
,
UINT16
);
UINT16
WINAPI
LocalSize16
(
HLOCAL16
);
BOOL16
WINAPI
LocalUnlock16
(
HLOCAL16
);
LPVOID
WINAPI
LockResource16
(
HGLOBAL16
);
HGLOBAL16
WINAPI
LockSegment16
(
HGLOBAL16
);
FARPROC16
WINAPI
MakeProcInstance16
(
FARPROC16
,
HANDLE16
);
VOID
WINAPI
OutputDebugString16
(
LPCSTR
);
...
...
relay32/utthunk.c
View file @
f0deb8a1
...
...
@@ -52,6 +52,8 @@ typedef struct _UTINFO
}
UTINFO
;
typedef
DWORD
(
CALLBACK
*
UTGLUEPROC
)(
LPVOID
lpBuff
,
DWORD
dwUserDefined
);
BOOL
WINAPI
UTRegister
(
HMODULE
hModule
,
LPSTR
lpsz16BITDLL
,
LPSTR
lpszInitName
,
LPSTR
lpszProcName
,
FARPROC
*
ppfn32Thunk
,
FARPROC
pfnUT32CallBack
,
...
...
@@ -63,8 +65,8 @@ VOID WINAPI UTUnRegister( HMODULE hModule );
/****************************************************************************
* UTGlue16 (WPROCS.*)
*/
DWORD
WINAPI
UTGlue16
(
LPVOID
lpBuff
,
DWORD
dwUserDefined
,
SEGPTR
translationList
[],
DWORD
(
CALLBACK
*
target
)(
LPVOID
lpBuff
,
DWORD
dwUserDefined
)
)
DWORD
WINAPI
UTGlue16
(
LPVOID
lpBuff
,
DWORD
dwUserDefined
,
SEGPTR
*
translationList
,
UTGLUEPROC
target
)
{
INT
i
;
...
...
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