Commit 55ef9a5a authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Fixed issues found by winapi_check.

parent 14bb7f14
......@@ -32,7 +32,7 @@ rsrc comctl32
23 stdcall CreateToolbarEx(long long long long long long ptr long long long long long long) CreateToolbarEx
24 stdcall DestroyPropertySheetPage(long) DestroyPropertySheetPage
25 stdcall DllGetVersion(ptr) COMCTL32_DllGetVersion
26 stub DllInstall
26 stdcall DllInstall(long ptr) COMCTL32_DllInstall
27 stdcall DrawStatusText(long ptr ptr long) DrawStatusTextA
28 stdcall DrawStatusTextW(long ptr wstr long) DrawStatusTextW
29 stdcall FlatSB_EnableScrollBar (long long long) FlatSB_EnableScrollBar
......
......@@ -852,6 +852,16 @@ COMCTL32_DllGetVersion (DLLVERSIONINFO *pdvi)
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 HWND TrackingList[10];
......
......@@ -3,7 +3,7 @@ type win32
@ stdcall DirectInputCreateA(long long ptr ptr) DirectInputCreateA
@ stub DirectInputCreateW
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer
@ stdcall DllCanUnloadNow() DINPUT_DllCanUnloadNow
@ stdcall DllGetClassObject(ptr ptr ptr) DINPUT_DllGetClassObject
@ stdcall DllRegisterServer() DINPUT_DllRegisterServer
@ stdcall DllUnregisterServer() DINPUT_DllUnregisterServer
......@@ -2273,3 +2273,45 @@ static ICOM_VTABLE(IDirectInputDevice2A) JoystickAvt =
IDirectInputDevice2AImpl_SendDeviceData,
};
#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;
}
......@@ -95,7 +95,7 @@ static IClassFactoryImpl DP_and_DPL_CF = {&DP_and_DPL_Vtbl, 1 };
* Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG,
* 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);
......@@ -111,3 +111,12 @@ DWORD WINAPI DP_and_DPL_DllGetClassObject(REFCLSID rclsid,REFIID riid,LPVOID *pp
return CLASS_E_CLASSNOTAVAILABLE;
}
/***********************************************************************
* DllCanUnloadNow (DPLAYX.@)
*/
HRESULT WINAPI DPLAYX_DllCanUnloadNow(void)
{
FIXME("(void): stub\n");
return S_FALSE;
}
......@@ -11,5 +11,5 @@ import ole32.dll
5 stdcall DirectPlayLobbyCreateW(ptr ptr ptr ptr long) DirectPlayLobbyCreateW
6 stub gdwDPlaySPRefCount
9 stdcall DirectPlayEnumerate(ptr ptr) DirectPlayEnumerateA
10 stub DllCanUnloadNow
11 stdcall DllGetClassObject(ptr ptr ptr) DP_and_DPL_DllGetClassObject
10 stdcall DllCanUnloadNow() DPLAYX_DllCanUnloadNow
11 stdcall DllGetClassObject(ptr ptr ptr) DPLAYX_DllGetClassObject
......@@ -396,4 +396,4 @@ import comctl32.dll
1224 stdcall SHFileOperationA (ptr) SHFileOperationA # 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
......@@ -876,7 +876,7 @@ BOOL WINAPI Shell32LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
* 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));
......
......@@ -9,7 +9,9 @@ WRCEXTRA = -s -p$(MODULE)
SPEC_SRCS = urlmon.spec
C_SRCS = umon.c
C_SRCS = \
umon.c \
urlmon_main.c
@MAKE_DLL_RULES@
......
......@@ -25,12 +25,12 @@ import ole32.dll
@ stub CreateAsyncBindCtxEx
@ stub CreateFormatEnumerator
@ stdcall CreateURLMoniker(ptr str ptr) CreateURLMoniker
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stub DllInstall
@ stub DllRegisterServer
@ stdcall DllCanUnloadNow() URLMON_DllCanUnloadNow
@ stdcall DllGetClassObject(ptr ptr ptr) URLMON_DllGetClassObject
@ stdcall DllInstall(long ptr) URLMON_DllInstall
@ stdcall DllRegisterServer() URLMON_DllRegisterServer
@ stub DllRegisterServerEx
@ stub DllUnregisterServer
@ stdcall DllUnregisterServer() URLMON_DllUnregisterServer
@ stub Extract
@ stub FaultInIEFeature
@ stub FindMediaType
......
/*
* 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;
}
......@@ -10,7 +10,8 @@ SPEC_SRCS = wininet.spec
C_SRCS = \
internet.c \
ftp.c \
utility.c
utility.c \
wininet_main.c
@MAKE_DLL_RULES@
......
......@@ -16,7 +16,7 @@ init WININET_LibMain
@ stub DeleteUrlCacheContainerW
@ stub DeleteUrlCacheEntry
@ stub DeleteUrlCacheGroup
@ stub DllInstall
@ stdcall DllInstall(long ptr) WININET_DllInstall
@ stub FindCloseUrlCache
@ stub FindFirstUrlCacheContainerA
@ stub FindFirstUrlCacheContainerW
......
/*
* 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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment