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
070db4e5
Commit
070db4e5
authored
May 17, 2004
by
Patrik Stridvall
Committed by
Alexandre Julliard
May 17, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some issues found by winapi_check.
parent
36eb7914
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
82 additions
and
26 deletions
+82
-26
symbol.c
dlls/dbghelp/symbol.c
+6
-3
capture.c
dlls/dsound/capture.c
+2
-2
dxdiag_main.c
dlls/dxdiagn/dxdiag_main.c
+2
-2
regsvr.c
dlls/dxdiagn/regsvr.c
+2
-2
wowthunk.c
dlls/kernel/wowthunk.c
+2
-1
mpr_main.c
dlls/mpr/mpr_main.c
+3
-0
msi.c
dlls/msi/msi.c
+9
-0
dir.c
dlls/msvcrt/dir.c
+1
-1
misc.c
dlls/msvcrt/misc.c
+8
-1
thread.c
dlls/ntdll/thread.c
+8
-0
storage32.c
dlls/ole32/storage32.c
+3
-0
rpc_binding.c
dlls/rpcrt4/rpc_binding.c
+2
-2
secur32.c
dlls/secur32/secur32.c
+24
-6
wrapper.c
dlls/secur32/wrapper.c
+0
-0
devinst16.c
dlls/setupapi/devinst16.c
+1
-1
setupx16.h
dlls/setupapi/setupx16.h
+1
-0
shellord.c
dlls/shell32/shellord.c
+4
-1
uxtheme.spec
dlls/uxtheme/uxtheme.spec
+1
-1
wininet.spec
dlls/wininet/wininet.spec
+1
-1
x11drv.spec
dlls/x11drv/x11drv.spec
+2
-2
No files found.
dlls/dbghelp/symbol.c
View file @
070db4e5
...
...
@@ -19,19 +19,22 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <sys/types.h>
#include <assert.h>
#include <regex.h>
#include "wine/debug.h"
#ifdef HAVE_REGEX_H
# include <regex.h>
#endif
#include "wine/debug.h"
#include "dbghelp_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dbghelp
);
...
...
dlls/dsound/capture.c
View file @
070db4e5
...
...
@@ -1687,7 +1687,7 @@ static ICOM_VTABLE(IClassFactory) DSCCF_Vtbl =
IClassFactoryImpl
DSOUND_CAPTURE_CF
=
{
&
DSCCF_Vtbl
,
1
};
/***************************************************************************
* DirectSoundFullDuplexCreate
8
[DSOUND.10]
* DirectSoundFullDuplexCreate [DSOUND.10]
*
* Create and initialize a DirectSoundFullDuplex interface.
*
...
...
@@ -1709,7 +1709,7 @@ IClassFactoryImpl DSOUND_CAPTURE_CF = { &DSCCF_Vtbl, 1 };
* DSERR_OUTOFMEMORY DSERR_INVALIDCALL DSERR_NODRIVER
*/
HRESULT
WINAPI
DirectSoundFullDuplexCreate
8
(
DirectSoundFullDuplexCreate
(
LPCGUID
pcGuidCaptureDevice
,
LPCGUID
pcGuidRenderDevice
,
LPCDSCBUFFERDESC
pcDSCBufferDesc
,
...
...
dlls/dxdiagn/dxdiag_main.c
View file @
070db4e5
...
...
@@ -92,7 +92,7 @@ static IClassFactoryImpl DXDiag_CFS[] = {
};
/***********************************************************************
* DllCanUnloadNow (DXD
iag
.@)
* DllCanUnloadNow (DXD
IAGN
.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
...
...
@@ -100,7 +100,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
}
/***********************************************************************
* DllGetClassObject (DXD
iag
.@)
* DllGetClassObject (DXD
IAGN
.@)
*/
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
)
{
...
...
dlls/dxdiagn/regsvr.c
View file @
070db4e5
...
...
@@ -525,7 +525,7 @@ static struct regsvr_interface const interface_list[] = {
};
/***********************************************************************
* DllRegisterServer (D
PNET
.@)
* DllRegisterServer (D
XDIAGN
.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
...
...
@@ -540,7 +540,7 @@ HRESULT WINAPI DllRegisterServer(void)
}
/***********************************************************************
* DllUnregisterServer (D
PNET
.@)
* DllUnregisterServer (D
XDIAGN
.@)
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
...
...
dlls/kernel/wowthunk.c
View file @
070db4e5
...
...
@@ -78,7 +78,8 @@ static DWORD CALLBACK start_thread16( LPVOID threadArgs )
/* symbols exported from relay16.s */
extern
DWORD
WINAPI
wine_call_to_16
(
FARPROC16
target
,
DWORD
cbArgs
,
PEXCEPTION_HANDLER
handler
);
extern
void
WINAPI
wine_call_to_16_regs
(
CONTEXT86
*
context
,
DWORD
cbArgs
,
PEXCEPTION_HANDLER
handler
);
extern
void
Call16_Ret_Start
(),
Call16_Ret_End
();
extern
void
Call16_Ret_Start
();
extern
void
Call16_Ret_End
();
extern
void
CallTo16_Ret
();
extern
void
CALL32_CBClient_Ret
();
extern
void
CALL32_CBClientEx_Ret
();
...
...
dlls/mpr/mpr_main.c
View file @
070db4e5
...
...
@@ -81,6 +81,9 @@ DWORD WINAPI DllCanUnloadNow(void)
return
S_OK
;
}
/*****************************************************************
* DllMain [MPR.init]
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
switch
(
fdwReason
)
{
...
...
dlls/msi/msi.c
View file @
070db4e5
...
...
@@ -1165,6 +1165,9 @@ static ICOM_VTABLE(IClassFactory) MsiCF_Vtbl = {
static
IClassFactoryImpl
Msi_CF
=
{
&
MsiCF_Vtbl
,
1
};
/******************************************************************
* DllGetClassObject (MSI.@)
*/
HRESULT
WINAPI
MSI_DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
)
{
FIXME
(
"(%s, %s, %p): almost a stub.
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
riid
),
ppv
);
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_IMsiServer
))
{
...
...
@@ -1192,6 +1195,9 @@ HRESULT WINAPI MSI_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
/******************************************************************
* DllGetVerison (MSI.@)
*/
HRESULT
WINAPI
MSI_DllGetVersion
(
DLLVERSIONINFO
*
pdvi
)
{
TRACE
(
"%p
\n
"
,
pdvi
);
...
...
@@ -1207,6 +1213,9 @@ HRESULT WINAPI MSI_DllGetVersion(DLLVERSIONINFO *pdvi)
return
S_OK
;
}
/******************************************************************
* DllCanUnloadNow (MSI.@)
*/
BOOL
WINAPI
MSI_DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
...
...
dlls/msvcrt/dir.c
View file @
070db4e5
...
...
@@ -599,7 +599,7 @@ MSVCRT_wchar_t* _wgetdcwd(int drive, MSVCRT_wchar_t * buf, int size)
* NOTES
* See GetLastError().
*/
unsigned
int
MSVCRT__getdiskfree
(
unsigned
int
disk
,
struct
MSVCRT
(
_diskfree_t
)
*
d
)
unsigned
int
MSVCRT__getdiskfree
(
unsigned
int
disk
,
struct
MSVCRT
__diskfree_t
*
d
)
{
WCHAR
drivespec
[
4
]
=
{
'@'
,
':'
,
'\\'
,
0
};
DWORD
ret
[
4
];
...
...
dlls/msvcrt/misc.c
View file @
070db4e5
...
...
@@ -121,6 +121,7 @@ void* _lsearch(const void* match, void* start,
#ifdef __i386__
# ifdef __GNUC__
__ASM_GLOBAL_FUNC
(
_chkesp
,
"jnz 1f
\n\t
"
"ret
\n
"
...
...
@@ -143,7 +144,13 @@ void MSVCRT_chkesp_fail(void)
}
# else
/* __GNUC__ */
void
_chkesp
(
void
)
{
}
/**********************************************************************/
void
_chkesp
(
void
)
{
}
# endif
/* __GNUC__ */
#endif
/* __i386__ */
dlls/ntdll/thread.c
View file @
070db4e5
...
...
@@ -565,12 +565,20 @@ NTSTATUS WINAPI NtSetInformationThread( HANDLE handle, THREADINFOCLASS class,
* NtCurrentTeb (NTDLL.@)
*/
#if defined(__i386__) && defined(__GNUC__)
__ASM_GLOBAL_FUNC
(
NtCurrentTeb
,
".byte 0x64
\n\t
movl 0x18,%eax
\n\t
ret"
);
#elif defined(__i386__) && defined(_MSC_VER)
/* Nothing needs to be done. MS C "magically" exports the inline version from winnt.h */
#else
/**********************************************************************/
TEB
*
WINAPI
NtCurrentTeb
(
void
)
{
return
wine_pthread_get_current_teb
();
}
#endif
/* __i386__ */
dlls/ole32/storage32.c
View file @
070db4e5
...
...
@@ -5536,6 +5536,9 @@ HRESULT WINAPI StgCreateDocfile(
return
hr
;
}
/******************************************************************************
* StgCreateStorageEx [OLE32.@]
*/
HRESULT
WINAPI
StgCreateStorageEx
(
const
WCHAR
*
pwcsName
,
DWORD
grfMode
,
DWORD
stgfmt
,
DWORD
grfAttrs
,
STGOPTIONS
*
pStgOptions
,
void
*
reserved
,
REFIID
riid
,
void
**
ppObjectOpen
)
{
TRACE
(
"(%s, %lx, %lx, %lx, %p, %p, %p, %p)
\n
"
,
debugstr_w
(
pwcsName
),
...
...
dlls/rpcrt4/rpc_binding.c
View file @
070db4e5
...
...
@@ -1121,7 +1121,7 @@ RPC_STATUS WINAPI I_RpcBindingSetAsync( RPC_BINDING_HANDLE Binding, RPC_BLOCKING
/***********************************************************************
* RpcNetworkIsProtseqValidA (RPCRT4.@)
*/
RPC_STATUS
RPC_ENTRY
RpcNetworkIsProtseqValidA
(
unsigned
char
*
protseq
)
{
RPC_STATUS
WINAPI
RpcNetworkIsProtseqValidA
(
unsigned
char
*
protseq
)
{
UNICODE_STRING
protseqW
;
if
(
!
protseq
)
return
RPC_S_INVALID_RPC_PROTSEQ
;
/* ? */
...
...
@@ -1143,7 +1143,7 @@ RPC_STATUS RPC_ENTRY RpcNetworkIsProtseqValidA(unsigned char *protseq) {
* ncalrpc local-only rpc over LPC (LPC is not really used)
* ncacn_np rpc over named pipes
*/
RPC_STATUS
RPC_ENTRY
RpcNetworkIsProtseqValidW
(
LPWSTR
protseq
)
{
RPC_STATUS
WINAPI
RpcNetworkIsProtseqValidW
(
LPWSTR
protseq
)
{
static
const
WCHAR
protseqsW
[][
15
]
=
{
{
'n'
,
'c'
,
'a'
,
'l'
,
'r'
,
'p'
,
'c'
,
0
},
{
'n'
,
'c'
,
'a'
,
'c'
,
'n'
,
'_'
,
'n'
,
'p'
,
0
}
...
...
dlls/secur32/secur32.c
View file @
070db4e5
...
...
@@ -154,12 +154,18 @@ static SecurityFunctionTableW securityFunctionTableW = {
SetContextAttributesW
};
PSecurityFunctionTableA
SEC_ENTRY
InitSecurityInterfaceA
(
void
)
/***********************************************************************
* InitSecurityInterfaceA (SECUR32.@)
*/
PSecurityFunctionTableA
WINAPI
InitSecurityInterfaceA
(
void
)
{
return
&
securityFunctionTableA
;
}
PSecurityFunctionTableW
SEC_ENTRY
InitSecurityInterfaceW
(
void
)
/***********************************************************************
* InitSecurityInterfaceW (SECUR32.@)
*/
PSecurityFunctionTableW
WINAPI
InitSecurityInterfaceW
(
void
)
{
return
&
securityFunctionTableW
;
}
...
...
@@ -686,11 +692,14 @@ static void SECUR32_freeProviders(void)
DeleteCriticalSection
(
&
cs
);
}
/* Doh--if pv was allocated by a crypto package, this may not be correct.
/***********************************************************************
* FreeContextBuffer (SECUR32.@)
*
* Doh--if pv was allocated by a crypto package, this may not be correct.
* The sample ssp seems to use LocalAlloc/LocalFee, but there doesn't seem to
* be any guarantee, nor is there an alloc function in secur32.
*/
SECURITY_STATUS
SEC_ENTRY
FreeContextBuffer
(
PVOID
pv
)
SECURITY_STATUS
WINAPI
FreeContextBuffer
(
PVOID
pv
)
{
SECURITY_STATUS
ret
;
...
...
@@ -707,7 +716,10 @@ SECURITY_STATUS SEC_ENTRY FreeContextBuffer(PVOID pv)
return
ret
;
}
SECURITY_STATUS
SEC_ENTRY
EnumerateSecurityPackagesW
(
PULONG
pcPackages
,
/***********************************************************************
* EnumerateSecurityPackagesW (SECUR32.@)
*/
SECURITY_STATUS
WINAPI
EnumerateSecurityPackagesW
(
PULONG
pcPackages
,
PSecPkgInfoW
*
ppPackageInfo
)
{
SECURITY_STATUS
ret
=
SEC_E_OK
;
...
...
@@ -845,7 +857,10 @@ static PSecPkgInfoA thunk_PSecPkgInfoWToA(ULONG cPackages,
return
ret
;
}
SECURITY_STATUS
SEC_ENTRY
EnumerateSecurityPackagesA
(
PULONG
pcPackages
,
/***********************************************************************
* EnumerateSecurityPackagesA (SECUR32.@)
*/
SECURITY_STATUS
WINAPI
EnumerateSecurityPackagesA
(
PULONG
pcPackages
,
PSecPkgInfoA
*
ppPackageInfo
)
{
SECURITY_STATUS
ret
;
...
...
@@ -865,6 +880,9 @@ SECURITY_STATUS SEC_ENTRY EnumerateSecurityPackagesA(PULONG pcPackages,
return
ret
;
}
/***********************************************************************
* DllMain (SECUR32.0)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
if
(
fdwReason
==
DLL_PROCESS_ATTACH
)
...
...
dlls/secur32/wrapper.c
View file @
070db4e5
This diff is collapsed.
Click to expand it.
dlls/setupapi/devinst16.c
View file @
070db4e5
...
...
@@ -68,7 +68,7 @@ RETERR16 WINAPI DiBuildClassDrvList16(LPDEVICE_INFO16 lpdi)
/***********************************************************************
* DiCallClassInstaller (SETUPX.308)
*/
RETERR16
WINAPI
DiCallClassInstaller16
(
/*DI_FUNCTIONS*/
WORD
diFctn
,
LPDEVICE_INFO16
lpdi
)
RETERR16
WINAPI
DiCallClassInstaller16
(
DI_FUNCTION16
diFctn
,
LPDEVICE_INFO16
lpdi
)
{
FIXME
(
"(%x, %p): stub
\n
"
,
diFctn
,
lpdi
);
return
FALSE
;
...
...
dlls/setupapi/setupx16.h
View file @
070db4e5
...
...
@@ -21,6 +21,7 @@
#include "wine/windef16.h"
typedef
UINT16
DI_FUNCTION16
;
typedef
UINT16
HINF16
;
typedef
UINT16
LOGDISKID16
;
typedef
UINT16
VHSTR
;
...
...
dlls/shell32/shellord.c
View file @
070db4e5
...
...
@@ -1502,7 +1502,7 @@ HRESULT WINAPI SHCreateStdEnumFmtEtc(
/*************************************************************************
*
SHELL32_256
*
SHELL32_256 (SHELL32.256)
*/
HRESULT
WINAPI
SHELL32_256
(
LPDWORD
lpdw0
,
LPDWORD
lpdw1
)
{
...
...
@@ -1527,6 +1527,9 @@ HRESULT WINAPI SHELL32_256(LPDWORD lpdw0, LPDWORD lpdw1)
return
ret
;
}
/*************************************************************************
* SHFindFiles (SHELL32.90)
*/
BOOL
WINAPI
SHFindFiles
(
LPCITEMIDLIST
pidlFolder
,
LPCITEMIDLIST
pidlSaveFile
)
{
FIXME
(
"%p %p
\n
"
,
pidlFolder
,
pidlSaveFile
);
...
...
dlls/uxtheme/uxtheme.spec
View file @
070db4e5
...
...
@@ -82,7 +82,7 @@
@ stdcall GetThemeTextExtent(ptr ptr long long wstr long long ptr ptr)
@ stdcall GetThemeTextMetrics(ptr ptr long long ptr)
@ stdcall GetWindowTheme(ptr)
@ stdcall HitTestThemeBackground(ptr long long long long ptr long
double
ptr)
@ stdcall HitTestThemeBackground(ptr long long long long ptr long
long long
ptr)
@ stdcall IsAppThemed()
@ stdcall IsThemeActive()
@ stdcall IsThemeBackgroundPartiallyTransparent(ptr long long)
...
...
dlls/wininet/wininet.spec
View file @
070db4e5
...
...
@@ -18,7 +18,7 @@
@ stdcall InternetInitializeAutoProxyDll(long)
@ stub ShowCertificate
@ stdcall CommitUrlCacheEntryA(str str
double double
long str long str str)
@ stdcall CommitUrlCacheEntryA(str str
long long long long
long str long str str)
@ stub CommitUrlCacheEntryW
@ stub CreateUrlCacheContainerA
@ stub CreateUrlCacheContainerW
...
...
dlls/x11drv/x11drv.spec
View file @
070db4e5
...
...
@@ -86,7 +86,7 @@
@ cdecl CountClipboardFormats() X11DRV_CountClipboardFormats
@ cdecl CreateWindow(long ptr long) X11DRV_CreateWindow
@ cdecl DestroyWindow(long) X11DRV_DestroyWindow
@ cdecl EmptyClipboard() X11DRV_EmptyClipboard
@ cdecl EmptyClipboard(
long
) X11DRV_EmptyClipboard
@ cdecl EndClipboardUpdate() X11DRV_EndClipboardUpdate
@ cdecl EnumClipboardFormats(long) X11DRV_EnumClipboardFormats
@ cdecl ForceWindowRaise(long) X11DRV_ForceWindowRaise
...
...
@@ -99,7 +99,7 @@
@ cdecl ReleaseDC(long long) X11DRV_ReleaseDC
@ cdecl ResetSelectionOwner(long long) X11DRV_ResetSelectionOwner
@ cdecl ScrollWindowEx(long long long ptr ptr long ptr long) X11DRV_ScrollWindowEx
@ cdecl SetClipboardData(long long long) X11DRV_SetClipboardData
@ cdecl SetClipboardData(long long long
long
) X11DRV_SetClipboardData
@ cdecl SetFocus(long) X11DRV_SetFocus
@ cdecl SetParent(long long) X11DRV_SetParent
@ cdecl SetWindowIcon(long long long) X11DRV_SetWindowIcon
...
...
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