mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 18:54:25 +00:00
[NPPTOOLS]
* Import from Wine 1.7.27. CORE-8789 #resolve #comment Imported in r65358. CORE-8540 svn path=/trunk/; revision=65358
This commit is contained in:
parent
f57a299104
commit
0343b8c5b5
|
@ -135,6 +135,7 @@ add_subdirectory(netevent)
|
||||||
add_subdirectory(netid)
|
add_subdirectory(netid)
|
||||||
add_subdirectory(netshell)
|
add_subdirectory(netshell)
|
||||||
add_subdirectory(newdev)
|
add_subdirectory(newdev)
|
||||||
|
add_subdirectory(npptools)
|
||||||
add_subdirectory(ntdsapi)
|
add_subdirectory(ntdsapi)
|
||||||
add_subdirectory(ntlanman)
|
add_subdirectory(ntlanman)
|
||||||
add_subdirectory(ntmarta)
|
add_subdirectory(ntmarta)
|
||||||
|
|
13
reactos/dll/win32/npptools/CMakeLists.txt
Normal file
13
reactos/dll/win32/npptools/CMakeLists.txt
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
|
||||||
|
add_definitions(-D__WINESRC__)
|
||||||
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||||
|
spec2def(npptools.dll npptools.spec)
|
||||||
|
|
||||||
|
add_library(npptools SHARED
|
||||||
|
main.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/npptools_stubs.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/npptools.def)
|
||||||
|
|
||||||
|
set_module_type(npptools win32dll)
|
||||||
|
add_importlibs(npptools msvcrt kernel32 ntdll)
|
||||||
|
add_cd_file(TARGET npptools DESTINATION reactos/system32 FOR all)
|
39
reactos/dll/win32/npptools/main.c
Normal file
39
reactos/dll/win32/npptools/main.c
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* 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 <wine/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;
|
||||||
|
}
|
60
reactos/dll/win32/npptools/npptools.spec
Normal file
60
reactos/dll/win32/npptools/npptools.spec
Normal file
|
@ -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
|
|
@ -145,6 +145,7 @@ reactos/dll/win32/msxml4 # Synced to Wine-1.7.27
|
||||||
reactos/dll/win32/msxml6 # Synced to Wine-1.7.27
|
reactos/dll/win32/msxml6 # Synced to Wine-1.7.27
|
||||||
reactos/dll/win32/nddeapi # Synced to Wine-1.7.27
|
reactos/dll/win32/nddeapi # Synced to Wine-1.7.27
|
||||||
reactos/dll/win32/netapi32 # Forked at Wine-1.3.34
|
reactos/dll/win32/netapi32 # Forked at Wine-1.3.34
|
||||||
|
reactos/dll/win32/npptools # Synced to Wine-1.7.27
|
||||||
reactos/dll/win32/ntdsapi # Synced to Wine-1.7.27
|
reactos/dll/win32/ntdsapi # Synced to Wine-1.7.27
|
||||||
reactos/dll/win32/ntprint # Synced to Wine-1.7.27
|
reactos/dll/win32/ntprint # Synced to Wine-1.7.27
|
||||||
reactos/dll/win32/objsel # Synced to Wine-1.7.27
|
reactos/dll/win32/objsel # Synced to Wine-1.7.27
|
||||||
|
|
Loading…
Reference in a new issue