1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

nddeapi: Implement stub dll for nddeapi.

This commit is contained in:
Benjamin Arai 2006-09-15 16:00:53 -07:00 committed by Alexandre Julliard
parent e1c630847c
commit 0b4eafada9
8 changed files with 102 additions and 1 deletions

View File

@ -285,6 +285,7 @@ ALL_MAKEFILES = \
dlls/mswsock/Makefile \ dlls/mswsock/Makefile \
dlls/msxml3/Makefile \ dlls/msxml3/Makefile \
dlls/msxml3/tests/Makefile \ dlls/msxml3/tests/Makefile \
dlls/nddeapi/Makefile \
dlls/netapi32/Makefile \ dlls/netapi32/Makefile \
dlls/netapi32/tests/Makefile \ dlls/netapi32/tests/Makefile \
dlls/newdev/Makefile \ dlls/newdev/Makefile \
@ -602,6 +603,7 @@ dlls/msvidc32/Makefile: dlls/msvidc32/Makefile.in dlls/Makedll.rules
dlls/mswsock/Makefile: dlls/mswsock/Makefile.in dlls/Makedll.rules dlls/mswsock/Makefile: dlls/mswsock/Makefile.in dlls/Makedll.rules
dlls/msxml3/Makefile: dlls/msxml3/Makefile.in dlls/Makedll.rules dlls/msxml3/Makefile: dlls/msxml3/Makefile.in dlls/Makedll.rules
dlls/msxml3/tests/Makefile: dlls/msxml3/tests/Makefile.in dlls/Maketest.rules dlls/msxml3/tests/Makefile: dlls/msxml3/tests/Makefile.in dlls/Maketest.rules
dlls/nddeapi/Makefile: dlls/nddeapi/Makefile.in dlls/Makedll.rules
dlls/netapi32/Makefile: dlls/netapi32/Makefile.in dlls/Makedll.rules dlls/netapi32/Makefile: dlls/netapi32/Makefile.in dlls/Makedll.rules
dlls/netapi32/tests/Makefile: dlls/netapi32/tests/Makefile.in dlls/Maketest.rules dlls/netapi32/tests/Makefile: dlls/netapi32/tests/Makefile.in dlls/Maketest.rules
dlls/newdev/Makefile: dlls/newdev/Makefile.in dlls/Makedll.rules dlls/newdev/Makefile: dlls/newdev/Makefile.in dlls/Makedll.rules

3
configure vendored

File diff suppressed because one or more lines are too long

View File

@ -1644,6 +1644,7 @@ dlls/msvidc32/Makefile
dlls/mswsock/Makefile dlls/mswsock/Makefile
dlls/msxml3/Makefile dlls/msxml3/Makefile
dlls/msxml3/tests/Makefile dlls/msxml3/tests/Makefile
dlls/nddeapi/Makefile
dlls/netapi32/Makefile dlls/netapi32/Makefile
dlls/netapi32/tests/Makefile dlls/netapi32/tests/Makefile
dlls/newdev/Makefile dlls/newdev/Makefile

1
dlls/.gitignore vendored
View File

@ -117,6 +117,7 @@ msvcrt40/libmsvcrt40.def
msvcrtd/libmsvcrtd.def msvcrtd/libmsvcrtd.def
msvfw32/libmsvfw32.def msvfw32/libmsvfw32.def
mswsock/libmswsock.def mswsock/libmswsock.def
nddeapi/libnddeapi.def
netapi32/libnetapi32.def netapi32/libnetapi32.def
newdev/libnewdev.def newdev/libnewdev.def
ntdll/libntdll.def ntdll/libntdll.def

View File

@ -115,6 +115,7 @@ BASEDIRS = \
msvidc32 \ msvidc32 \
mswsock \ mswsock \
msxml3 \ msxml3 \
nddeapi \
netapi32 \ netapi32 \
newdev \ newdev \
ntdll \ ntdll \
@ -554,6 +555,7 @@ IMPORT_LIBS = \
msvcrtd/libmsvcrtd.$(IMPLIBEXT) \ msvcrtd/libmsvcrtd.$(IMPLIBEXT) \
msvfw32/libmsvfw32.$(IMPLIBEXT) \ msvfw32/libmsvfw32.$(IMPLIBEXT) \
mswsock/libmswsock.$(IMPLIBEXT) \ mswsock/libmswsock.$(IMPLIBEXT) \
nddeapi/libnddeapi.$(IMPLIBEXT) \
netapi32/libnetapi32.$(IMPLIBEXT) \ netapi32/libnetapi32.$(IMPLIBEXT) \
newdev/libnewdev.$(IMPLIBEXT) \ newdev/libnewdev.$(IMPLIBEXT) \
ntdll/libntdll.$(IMPLIBEXT) \ ntdll/libntdll.$(IMPLIBEXT) \
@ -798,6 +800,9 @@ msvfw32/libmsvfw32.$(IMPLIBEXT): msvfw32/msvfw32.spec $(WINEBUILD)
mswsock/libmswsock.$(IMPLIBEXT): mswsock/mswsock.spec $(WINEBUILD) mswsock/libmswsock.$(IMPLIBEXT): mswsock/mswsock.spec $(WINEBUILD)
@cd mswsock && $(MAKE) libmswsock.$(IMPLIBEXT) @cd mswsock && $(MAKE) libmswsock.$(IMPLIBEXT)
nddeapi/libnddeapi.$(IMPLIBEXT): nddeapi/nddeapi.spec $(WINEBUILD)
@cd nddeapi && $(MAKE) libnddeapi.$(IMPLIBEXT)
netapi32/libnetapi32.$(IMPLIBEXT): netapi32/netapi32.spec $(WINEBUILD) netapi32/libnetapi32.$(IMPLIBEXT): netapi32/netapi32.spec $(WINEBUILD)
@cd netapi32 && $(MAKE) libnetapi32.$(IMPLIBEXT) @cd netapi32 && $(MAKE) libnetapi32.$(IMPLIBEXT)

14
dlls/nddeapi/Makefile.in Normal file
View File

@ -0,0 +1,14 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = nddeapi.dll
IMPORTLIB = libnddeapi.$(IMPLIBEXT)
IMPORTS = kernel32
C_SRCS = \
nddeapi.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

49
dlls/nddeapi/nddeapi.c Normal file
View File

@ -0,0 +1,49 @@
/*
* nddeapi main
*
* Copyright 2006 Benjamin Arai (Google)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(nddeapi);
/***********************************************************************
* NDdeGetErrorStringA (NDDEAPI.@)
*
*/
UINT WINAPI NDdeGetErrorStringA(UINT uErrorCode, LPSTR lpszErrorString, DWORD cBufSize)
{
FIXME("(%u, %s, %ld): stub!\n",uErrorCode,debugstr_a(lpszErrorString), cBufSize);
return E_NOTIMPL;
}
/***********************************************************************
* NDdeGetErrorStringW (NDDEAPI.@)
*
*/
UINT WINAPI NDdeGetErrorStringW(UINT uErrorCode, LPWSTR lpszErrorString, DWORD cBufSize)
{
FIXME("(%u, %s, %ld): stub!\n",uErrorCode,debugstr_w(lpszErrorString), cBufSize);
return E_NOTIMPL;
}

28
dlls/nddeapi/nddeapi.spec Normal file
View File

@ -0,0 +1,28 @@
@ stdcall NDdeGetErrorStringA(long str long)
@ stdcall NDdeGetErrorStringW(long wstr long)
@ stub NDdeGetShareSecurityA
@ stub NDdeGetShareSecurityW
@ stub NDdeGetTrustedShareA
@ stub NDdeGetTrustedShareW
@ stub NDdeIsValidAppTopicListA
@ stub NDdeIsValidAppTopicListW
@ stub NDdeIsValidShareNameA
@ stub NDdeIsValidShareNameW
@ stub NDdeSetShareSecurityA
@ stub NDdeSetShareSecurityW
@ stub NDdeSetTrustedShareA
@ stub NDdeSetTrustedShareW
@ stub NDdeShareAddA
@ stub NDdeShareAddW
@ stub NDdeShareDelA
@ stub NDdeShareDelW
@ stub NDdeShareEnumA
@ stub NDdeShareEnumW
@ stub NDdeShareGetInfoA
@ stub NDdeShareGetInfoW
@ stub NDdeShareSetInfoA
@ stub NDdeShareSetInfoW
@ stub NDdeSpecialCommandA
@ stub NDdeSpecialCommandW
@ stub NDdeTrustedShareEnumA
@ stub NDdeTrustedShareEnumW