Module: wine Branch: master Commit: 8c9011db67092ff17f40f1ed6280fb70496a5233 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8c9011db67092ff17f40f1ed62...
Author: Austin English austinenglish@gmail.com Date: Sun Jul 27 00:17:59 2014 -0700
npptools: Add stub dll.
---
configure | 2 ++ configure.ac | 1 + dlls/npptools/Makefile.in | 4 +++ dlls/npptools/main.c | 38 ++++++++++++++++++++++++++++ dlls/npptools/npptools.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 105 insertions(+)
diff --git a/configure b/configure index a5c5eb4..fe2cf48 100755 --- a/configure +++ b/configure @@ -1151,6 +1151,7 @@ enable_netprofm enable_newdev enable_normaliz enable_npmshtml +enable_npptools enable_ntdll enable_ntdsapi enable_ntoskrnl_exe @@ -17148,6 +17149,7 @@ wine_fn_config_test dlls/netprofm/tests netprofm_test wine_fn_config_dll newdev enable_newdev implib wine_fn_config_dll normaliz enable_normaliz implib wine_fn_config_dll npmshtml enable_npmshtml +wine_fn_config_dll npptools enable_npptools wine_fn_config_dll ntdll enable_ntdll implib wine_fn_config_test dlls/ntdll/tests ntdll_test wine_fn_config_dll ntdsapi enable_ntdsapi implib diff --git a/configure.ac b/configure.ac index b93cf6a..ba0c927 100644 --- a/configure.ac +++ b/configure.ac @@ -3059,6 +3059,7 @@ WINE_CONFIG_TEST(dlls/netprofm/tests) WINE_CONFIG_DLL(newdev,,[implib]) WINE_CONFIG_DLL(normaliz,,[implib]) WINE_CONFIG_DLL(npmshtml) +WINE_CONFIG_DLL(npptools) WINE_CONFIG_DLL(ntdll,,[implib]) WINE_CONFIG_TEST(dlls/ntdll/tests) WINE_CONFIG_DLL(ntdsapi,,[implib]) diff --git a/dlls/npptools/Makefile.in b/dlls/npptools/Makefile.in new file mode 100644 index 0000000..a9bbd35 --- /dev/null +++ b/dlls/npptools/Makefile.in @@ -0,0 +1,4 @@ +MODULE = npptools.dll + +C_SRCS = \ + main.c diff --git a/dlls/npptools/main.c b/dlls/npptools/main.c new file mode 100644 index 0000000..a72f634 --- /dev/null +++ b/dlls/npptools/main.c @@ -0,0 +1,38 @@ +/* + * + * Copyright 2014 Austin English + * + * 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 "config.h" + +#include <stdarg.h> + +#include "windef.h" +#include "winbase.h" + +BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) +{ + switch (reason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(instance); + break; + } + + return TRUE; +} diff --git a/dlls/npptools/npptools.spec b/dlls/npptools/npptools.spec new file mode 100644 index 0000000..9f69e21 --- /dev/null +++ b/dlls/npptools/npptools.spec @@ -0,0 +1,60 @@ +@ stub ClearEventData +@ stub CreateBlob +@ stub CreateNPPInterface +@ stub DestroyBlob +@ stub DestroyNPPBlobTable +@ stub DuplicateBlob +@ stub FilterNPPBlob +@ stub FindOneOf +@ stub FindUnknownBlobCategories +@ stub FindUnknownBlobTags +@ stub GetBoolFromBlob +@ stub GetClassIDFromBlob +@ stub GetDwordFromBlob +@ stub GetMacAddressFromBlob +@ stub GetNPPAddressFilterFromBlob +@ stub GetNPPBlobFromUI +@ stub GetNPPBlobTable +@ stub GetNPPEtypeSapFilter +@ stub GetNPPMacTypeAsNumber +@ stub GetNPPPatternFilterFromBlob +@ stub GetNPPTriggerFromBlob +@ stub GetNetworkInfoFromBlob +@ stub GetStringFromBlob +@ stub GetStringsFromBlob +@ stub IsRemoteNPP +@ stub LockBlob +@ stub MarshalBlob +@ stub MergeBlob +@ stub NmAddUsedEntry +@ stub NmHeapAllocate +@ stub NmHeapFree +@ stub NmHeapReallocate +@ stub NmHeapSetMaxSize +@ stub NmHeapSize +@ stub NmRemoveUsedEntry +@ stub RaiseNMEvent +@ stub ReadBlobFromFile +@ stub RegCreateBlobKey +@ stub RegOpenBlobKey +@ stub ReleaseEventSystem +@ stub RemoveFromBlob +@ stub SelectNPPBlobFromTable +@ stub SendEvent +@ stub SetBoolInBlob +@ stub SetClassIDInBlob +@ stub SetDwordInBlob +@ stub SetMacAddressInBlob +@ stub SetNPPAddressFilterInBlob +@ stub SetNPPEtypeSapFilter +@ stub SetNPPPatternFilterInBlob +@ stub SetNPPTriggerInBlob +@ stub SetNetworkInfoInBlob +@ stub SetStringInBlob +@ stub SubkeyExists +@ stub UnMarshalBlob +@ stub UnlockBlob +@ stub WriteBlobToFile +@ stub WriteCrackedBlobToFile +@ stub recursiveDeleteKey +@ stub setKeyAndValue