Fixed issues found by winapi_check.

This commit is contained in:
Patrik Stridvall 2000-04-24 18:03:54 +00:00 committed by Alexandre Julliard
parent 14bb7f1478
commit 55ef9a5a68
14 changed files with 175 additions and 18 deletions

View File

@ -32,7 +32,7 @@ rsrc comctl32
23 stdcall CreateToolbarEx(long long long long long long ptr long long long long long long) CreateToolbarEx 23 stdcall CreateToolbarEx(long long long long long long ptr long long long long long long) CreateToolbarEx
24 stdcall DestroyPropertySheetPage(long) DestroyPropertySheetPage 24 stdcall DestroyPropertySheetPage(long) DestroyPropertySheetPage
25 stdcall DllGetVersion(ptr) COMCTL32_DllGetVersion 25 stdcall DllGetVersion(ptr) COMCTL32_DllGetVersion
26 stub DllInstall 26 stdcall DllInstall(long ptr) COMCTL32_DllInstall
27 stdcall DrawStatusText(long ptr ptr long) DrawStatusTextA 27 stdcall DrawStatusText(long ptr ptr long) DrawStatusTextA
28 stdcall DrawStatusTextW(long ptr wstr long) DrawStatusTextW 28 stdcall DrawStatusTextW(long ptr wstr long) DrawStatusTextW
29 stdcall FlatSB_EnableScrollBar (long long long) FlatSB_EnableScrollBar 29 stdcall FlatSB_EnableScrollBar (long long long) FlatSB_EnableScrollBar

View File

@ -852,6 +852,16 @@ COMCTL32_DllGetVersion (DLLVERSIONINFO *pdvi)
return S_OK; return S_OK;
} }
/***********************************************************************
* DllInstall (COMCTL32.@)
*/
HRESULT WINAPI COMCTL32_DllInstall(BOOL bInstall, LPCWSTR cmdline)
{
FIXME("(%s, %s): stub\n", bInstall?"TRUE":"FALSE",
debugstr_w(cmdline));
return S_OK;
}
static int iTrackMax = 0; static int iTrackMax = 0;
static HWND TrackingList[10]; static HWND TrackingList[10];

View File

@ -3,7 +3,7 @@ type win32
@ stdcall DirectInputCreateA(long long ptr ptr) DirectInputCreateA @ stdcall DirectInputCreateA(long long ptr ptr) DirectInputCreateA
@ stub DirectInputCreateW @ stub DirectInputCreateW
@ stub DllCanUnloadNow @ stdcall DllCanUnloadNow() DINPUT_DllCanUnloadNow
@ stub DllGetClassObject @ stdcall DllGetClassObject(ptr ptr ptr) DINPUT_DllGetClassObject
@ stub DllRegisterServer @ stdcall DllRegisterServer() DINPUT_DllRegisterServer
@ stub DllUnregisterServer @ stdcall DllUnregisterServer() DINPUT_DllUnregisterServer

View File

@ -2273,3 +2273,45 @@ static ICOM_VTABLE(IDirectInputDevice2A) JoystickAvt =
IDirectInputDevice2AImpl_SendDeviceData, IDirectInputDevice2AImpl_SendDeviceData,
}; };
#endif #endif
/***********************************************************************
* DllCanUnloadNow (DINPUT.@)
*/
HRESULT WINAPI DINPUT_DllCanUnloadNow(void)
{
FIXME("(void): stub\n");
return S_FALSE;
}
/***********************************************************************
* DllGetClassObject (DINPUT.@)
*/
HRESULT WINAPI DINPUT_DllGetClassObject(REFCLSID rclsid, REFIID riid,
LPVOID *ppv)
{
FIXME("(%p, %p, %p): stub\n", debugstr_guid(rclsid),
debugstr_guid(riid), ppv);
return CLASS_E_CLASSNOTAVAILABLE;
}
/***********************************************************************
* DllRegisterServer (DINPUT.@)
*/
HRESULT WINAPI DINPUT_DllRegisterServer(void)
{
FIXME("(void): stub\n");
return S_OK;
}
/***********************************************************************
* DllUnregisterServer (DINPUT.@)
*/
HRESULT WINAPI DINPUT_DllUnregisterServer(void)
{
FIXME("(void): stub\n");
return S_OK;
}

View File

@ -95,7 +95,7 @@ static IClassFactoryImpl DP_and_DPL_CF = {&DP_and_DPL_Vtbl, 1 };
* Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG, * Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG,
* E_UNEXPECTED * E_UNEXPECTED
*/ */
DWORD WINAPI DP_and_DPL_DllGetClassObject(REFCLSID rclsid,REFIID riid,LPVOID *ppv) DWORD WINAPI DPLAYX_DllGetClassObject(REFCLSID rclsid,REFIID riid,LPVOID *ppv)
{ {
TRACE("(%p,%p,%p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv); TRACE("(%p,%p,%p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
@ -111,3 +111,12 @@ DWORD WINAPI DP_and_DPL_DllGetClassObject(REFCLSID rclsid,REFIID riid,LPVOID *pp
return CLASS_E_CLASSNOTAVAILABLE; return CLASS_E_CLASSNOTAVAILABLE;
} }
/***********************************************************************
* DllCanUnloadNow (DPLAYX.@)
*/
HRESULT WINAPI DPLAYX_DllCanUnloadNow(void)
{
FIXME("(void): stub\n");
return S_FALSE;
}

View File

@ -11,5 +11,5 @@ import ole32.dll
5 stdcall DirectPlayLobbyCreateW(ptr ptr ptr ptr long) DirectPlayLobbyCreateW 5 stdcall DirectPlayLobbyCreateW(ptr ptr ptr ptr long) DirectPlayLobbyCreateW
6 stub gdwDPlaySPRefCount 6 stub gdwDPlaySPRefCount
9 stdcall DirectPlayEnumerate(ptr ptr) DirectPlayEnumerateA 9 stdcall DirectPlayEnumerate(ptr ptr) DirectPlayEnumerateA
10 stub DllCanUnloadNow 10 stdcall DllCanUnloadNow() DPLAYX_DllCanUnloadNow
11 stdcall DllGetClassObject(ptr ptr ptr) DP_and_DPL_DllGetClassObject 11 stdcall DllGetClassObject(ptr ptr ptr) DPLAYX_DllGetClassObject

View File

@ -396,4 +396,4 @@ import comctl32.dll
1224 stdcall SHFileOperationA (ptr) SHFileOperationA # exported by name 1224 stdcall SHFileOperationA (ptr) SHFileOperationA # exported by name
1225 stdcall SHFileOperationW (ptr) SHFileOperationW # exported by name 1225 stdcall SHFileOperationW (ptr) SHFileOperationW # exported by name
1226 stdcall DllInstall (long wstr) DllInstall # win98:202 1226 stdcall DllInstall (long wstr) SHELL32_DllInstall # win98:202

View File

@ -876,7 +876,7 @@ BOOL WINAPI Shell32LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
* LPCWSTR pszCmdLine - command line (unused by shell32?) * LPCWSTR pszCmdLine - command line (unused by shell32?)
*/ */
HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline) HRESULT WINAPI SHELL32_DllInstall(BOOL bInstall, LPCWSTR cmdline)
{ {
FIXME("(%s, %s): stub!\n", bInstall ? "TRUE":"FALSE", debugstr_w(cmdline)); FIXME("(%s, %s): stub!\n", bInstall ? "TRUE":"FALSE", debugstr_w(cmdline));

View File

@ -9,7 +9,9 @@ WRCEXTRA = -s -p$(MODULE)
SPEC_SRCS = urlmon.spec SPEC_SRCS = urlmon.spec
C_SRCS = umon.c C_SRCS = \
umon.c \
urlmon_main.c
@MAKE_DLL_RULES@ @MAKE_DLL_RULES@

View File

@ -25,12 +25,12 @@ import ole32.dll
@ stub CreateAsyncBindCtxEx @ stub CreateAsyncBindCtxEx
@ stub CreateFormatEnumerator @ stub CreateFormatEnumerator
@ stdcall CreateURLMoniker(ptr str ptr) CreateURLMoniker @ stdcall CreateURLMoniker(ptr str ptr) CreateURLMoniker
@ stub DllCanUnloadNow @ stdcall DllCanUnloadNow() URLMON_DllCanUnloadNow
@ stub DllGetClassObject @ stdcall DllGetClassObject(ptr ptr ptr) URLMON_DllGetClassObject
@ stub DllInstall @ stdcall DllInstall(long ptr) URLMON_DllInstall
@ stub DllRegisterServer @ stdcall DllRegisterServer() URLMON_DllRegisterServer
@ stub DllRegisterServerEx @ stub DllRegisterServerEx
@ stub DllUnregisterServer @ stdcall DllUnregisterServer() URLMON_DllUnregisterServer
@ stub Extract @ stub Extract
@ stub FaultInIEFeature @ stub FaultInIEFeature
@ stub FindMediaType @ stub FindMediaType

68
dlls/urlmon/urlmon_main.c Normal file
View File

@ -0,0 +1,68 @@
/*
* UrlMon
*
* Copyright (c) 2000 Patrik Stridvall
*
*/
#include "windef.h"
#include "winerror.h"
#include "wtypes.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(win32);
/***********************************************************************
* URLMON_DllInstall (URLMON.@)
*/
HRESULT WINAPI URLMON_DllInstall(BOOL bInstall, LPCWSTR cmdline)
{
FIXME("(%s, %s): stub\n", bInstall?"TRUE":"FALSE",
debugstr_w(cmdline));
return S_OK;
}
/***********************************************************************
* DllCanUnloadNow (URLMON.@)
*/
HRESULT WINAPI URLMON_DllCanUnloadNow(void)
{
FIXME("(void): stub\n");
return S_FALSE;
}
/***********************************************************************
* DllGetClassObject (URLMON.@)
*/
HRESULT WINAPI URLMON_DllGetClassObject(REFCLSID rclsid, REFIID riid,
LPVOID *ppv)
{
FIXME("(%p, %p, %p): stub\n", debugstr_guid(rclsid),
debugstr_guid(riid), ppv);
return CLASS_E_CLASSNOTAVAILABLE;
}
/***********************************************************************
* DllRegisterServer (URLMON.@)
*/
HRESULT WINAPI URLMON_DllRegisterServer(void)
{
FIXME("(void): stub\n");
return S_OK;
}
/***********************************************************************
* DllUnregisterServer (URLMON.@)
*/
HRESULT WINAPI URLMON_DllUnregisterServer(void)
{
FIXME("(void): stub\n");
return S_OK;
}

View File

@ -10,7 +10,8 @@ SPEC_SRCS = wininet.spec
C_SRCS = \ C_SRCS = \
internet.c \ internet.c \
ftp.c \ ftp.c \
utility.c utility.c \
wininet_main.c
@MAKE_DLL_RULES@ @MAKE_DLL_RULES@

View File

@ -16,7 +16,7 @@ init WININET_LibMain
@ stub DeleteUrlCacheContainerW @ stub DeleteUrlCacheContainerW
@ stub DeleteUrlCacheEntry @ stub DeleteUrlCacheEntry
@ stub DeleteUrlCacheGroup @ stub DeleteUrlCacheGroup
@ stub DllInstall @ stdcall DllInstall(long ptr) WININET_DllInstall
@ stub FindCloseUrlCache @ stub FindCloseUrlCache
@ stub FindFirstUrlCacheContainerA @ stub FindFirstUrlCacheContainerA
@ stub FindFirstUrlCacheContainerW @ stub FindFirstUrlCacheContainerW

View File

@ -0,0 +1,25 @@
/*
* WinInet
*
* Copyright (c) 2000 Patrik Stridvall
*
*/
#include "windef.h"
#include "winerror.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(wininet);
/***********************************************************************
* WININET_DllInstall (WININET.@)
*/
HRESULT WINAPI WININET_DllInstall(BOOL bInstall, LPCWSTR cmdline)
{
FIXME("(%s, %s): stub\n", bInstall?"TRUE":"FALSE",
debugstr_w(cmdline));
return S_OK;
}