From c0c953ae5d2bdbb84ba962aa87f61adc25e83b8d Mon Sep 17 00:00:00 2001 From: Dmitry Chapyshev Date: Sun, 15 Mar 2009 15:20:51 +0000 Subject: [PATCH] - Add httpapi, initpki, itircl, msisys.ocx, msnet32, pidgen, resutils, sccbase, slbcsp, softpub, traffic from Wine svn path=/trunk/; revision=40036 --- reactos/baseaddress.rbuild | 7 + reactos/boot/bootdata/packages/reactos.dff | 11 ++ reactos/dll/win32/httpapi/httpapi.rbuild | 10 ++ reactos/dll/win32/httpapi/httpapi.spec | 52 ++++++ reactos/dll/win32/httpapi/httpapi_main.c | 159 ++++++++++++++++++ reactos/dll/win32/initpki/initpki.rbuild | 11 ++ reactos/dll/win32/initpki/initpki.spec | 4 + reactos/dll/win32/initpki/main.c | 46 +++++ reactos/dll/win32/itircl/itircl.rbuild | 11 ++ reactos/dll/win32/itircl/itircl.spec | 4 + reactos/dll/win32/itircl/itircl_main.c | 76 +++++++++ reactos/dll/win32/msisys.ocx/msisys.c | 121 +++++++++++++ .../dll/win32/msisys.ocx/msisys.ocx.rbuild | 12 ++ reactos/dll/win32/msisys.ocx/msisys.ocx.spec | 4 + reactos/dll/win32/msnet32/msnet32.rbuild | 10 ++ reactos/dll/win32/msnet32/msnet32.spec | 96 +++++++++++ reactos/dll/win32/msnet32/msnet_main.c | 51 ++++++ reactos/dll/win32/pidgen/bink.bin | Bin 0 -> 368 bytes reactos/dll/win32/pidgen/main.c | 45 +++++ reactos/dll/win32/pidgen/pidgen.rbuild | 11 ++ reactos/dll/win32/pidgen/pidgen.spec | 7 + reactos/dll/win32/pidgen/rsrc.rc | 21 +++ reactos/dll/win32/resutils/resutils.c | 48 ++++++ reactos/dll/win32/resutils/resutils.rbuild | 10 ++ reactos/dll/win32/resutils/resutils.spec | 71 ++++++++ reactos/dll/win32/sccbase/main.c | 46 +++++ reactos/dll/win32/sccbase/sccbase.rbuild | 11 ++ reactos/dll/win32/sccbase/sccbase.spec | 26 +++ reactos/dll/win32/slbcsp/main.c | 46 +++++ reactos/dll/win32/slbcsp/slbcsp.rbuild | 11 ++ reactos/dll/win32/slbcsp/slbcsp.spec | 27 +++ reactos/dll/win32/softpub/softpub.rbuild | 10 ++ reactos/dll/win32/softpub/softpub.rc | 5 + reactos/dll/win32/softpub/softpub.spec | 24 +++ reactos/dll/win32/traffic/traffic.rbuild | 10 ++ reactos/dll/win32/traffic/traffic.spec | 21 +++ reactos/dll/win32/traffic/traffic_main.c | 44 +++++ reactos/include/psdk/http.h | 64 +++++++ reactos/media/doc/README.WINE | 11 ++ 39 files changed, 1254 insertions(+) create mode 100644 reactos/dll/win32/httpapi/httpapi.rbuild create mode 100644 reactos/dll/win32/httpapi/httpapi.spec create mode 100644 reactos/dll/win32/httpapi/httpapi_main.c create mode 100644 reactos/dll/win32/initpki/initpki.rbuild create mode 100644 reactos/dll/win32/initpki/initpki.spec create mode 100644 reactos/dll/win32/initpki/main.c create mode 100644 reactos/dll/win32/itircl/itircl.rbuild create mode 100644 reactos/dll/win32/itircl/itircl.spec create mode 100644 reactos/dll/win32/itircl/itircl_main.c create mode 100644 reactos/dll/win32/msisys.ocx/msisys.c create mode 100644 reactos/dll/win32/msisys.ocx/msisys.ocx.rbuild create mode 100644 reactos/dll/win32/msisys.ocx/msisys.ocx.spec create mode 100644 reactos/dll/win32/msnet32/msnet32.rbuild create mode 100644 reactos/dll/win32/msnet32/msnet32.spec create mode 100644 reactos/dll/win32/msnet32/msnet_main.c create mode 100644 reactos/dll/win32/pidgen/bink.bin create mode 100644 reactos/dll/win32/pidgen/main.c create mode 100644 reactos/dll/win32/pidgen/pidgen.rbuild create mode 100644 reactos/dll/win32/pidgen/pidgen.spec create mode 100644 reactos/dll/win32/pidgen/rsrc.rc create mode 100644 reactos/dll/win32/resutils/resutils.c create mode 100644 reactos/dll/win32/resutils/resutils.rbuild create mode 100644 reactos/dll/win32/resutils/resutils.spec create mode 100644 reactos/dll/win32/sccbase/main.c create mode 100644 reactos/dll/win32/sccbase/sccbase.rbuild create mode 100644 reactos/dll/win32/sccbase/sccbase.spec create mode 100644 reactos/dll/win32/slbcsp/main.c create mode 100644 reactos/dll/win32/slbcsp/slbcsp.rbuild create mode 100644 reactos/dll/win32/slbcsp/slbcsp.spec create mode 100644 reactos/dll/win32/softpub/softpub.rbuild create mode 100644 reactos/dll/win32/softpub/softpub.rc create mode 100644 reactos/dll/win32/softpub/softpub.spec create mode 100644 reactos/dll/win32/traffic/traffic.rbuild create mode 100644 reactos/dll/win32/traffic/traffic.spec create mode 100644 reactos/dll/win32/traffic/traffic_main.c create mode 100644 reactos/include/psdk/http.h diff --git a/reactos/baseaddress.rbuild b/reactos/baseaddress.rbuild index 725150512e4..dce15ebf12f 100644 --- a/reactos/baseaddress.rbuild +++ b/reactos/baseaddress.rbuild @@ -11,6 +11,7 @@ + @@ -65,9 +66,12 @@ + + + @@ -128,8 +132,10 @@ + + @@ -157,6 +163,7 @@ + diff --git a/reactos/boot/bootdata/packages/reactos.dff b/reactos/boot/bootdata/packages/reactos.dff index ea3d3c5dcf1..9d9be468b30 100644 --- a/reactos/boot/bootdata/packages/reactos.dff +++ b/reactos/boot/bootdata/packages/reactos.dff @@ -276,6 +276,7 @@ dll\win32\glu32\glu32.dll 1 dll\win32\hhctrl.ocx\hhctrl.ocx 1 dll\win32\hid\hid.dll 1 dll\win32\hlink\hlink.dll 1 +dll\win32\httpapi\httpapi.dll 1 dll\win32\iccvid\iccvid.dll 1 dll\win32\icmp\icmp.dll 1 dll\win32\imaadp32.acm\imaadp32.acm 1 @@ -283,8 +284,10 @@ dll\win32\imagehlp\imagehlp.dll 1 dll\win32\imm32\imm32.dll 1 dll\win32\inetcomm\inetcomm.dll 1 dll\win32\inetmib1\inetmib1.dll 1 +dll\win32\initpki\initpki.dll 1 dll\win32\inseng\inseng.dll 1 dll\win32\iphlpapi\iphlpapi.dll 1 +dll\win32\itircl\itircl.dll 1 dll\win32\itss\itss.dll 1 dll\win32\jscript\jscript.dll 1 dll\win32\kernel32\kernel32.dll 1 @@ -320,6 +323,8 @@ dll\win32\msi\msi.dll 1 dll\win32\msimg32\msimg32.dll 1 dll\win32\msimtf\msimtf.dll 1 dll\win32\msisip\msisip.dll 1 +dll\win32\msisys.ocx\msisys.ocx 1 +dll\win32\msnet32\msnet32.dll 1 dll\win32\msrle32\msrle32.dll 1 dll\win32\mssign32\mssign32.dll 1 dll\win32\mssip32\mssip32.dll 1 @@ -353,6 +358,7 @@ dll\win32\olesvr32\olesvr32.dll 1 dll\win32\olethk32\olethk32.dll 1 dll\win32\opengl32\opengl32.dll 1 dll\win32\pdh\pdh.dll 1 +dll\win32\pidgen\pidgen.dll 1 dll\win32\powrprof\powrprof.dll 1 dll\win32\printui\printui.dll 1 dll\win32\psapi\psapi.dll 1 @@ -362,6 +368,7 @@ dll\win32\qmgrprxy\qmgrprxy.dll 1 dll\win32\query\query.dll 1 dll\win32\rasapi32\rasapi32.dll 1 dll\win32\rasdlg\rasdlg.dll 1 +dll\win32\resutils\resutils.dll 1 dll\win32\rasman\rasman.dll 1 dll\win32\riched20\riched20.dll 1 dll\win32\riched32\riched32.dll 1 @@ -370,6 +377,7 @@ dll\win32\rsabase\rsabase.dll 1 dll\win32\rsaenh\rsaenh.dll 1 dll\win32\samlib\samlib.dll 1 dll\win32\samsrv\samsrv.dll 1 +dll\win32\sccbase\sccbase.dll 1 dll\win32\schannel\schannel.dll 1 dll\win32\secur32\secur32.dll 1 dll\win32\security\security.dll 1 @@ -384,8 +392,10 @@ dll\win32\shell32\shell32.dll 1 dll\win32\shfolder\shfolder.dll 1 dll\win32\shimgvw\shimgvw.dll 1 dll\win32\shlwapi\shlwapi.dll 1 +dll\win32\slbcsp\slbcsp.dll 1 dll\win32\smdll\smdll.dll 1 dll\win32\snmpapi\snmpapi.dll 1 +dll\win32\softpub\softpub.dll 1 dll\win32\spoolss\spoolss.dll 1 dll\win32\srclient\srclient.dll 1 dll\win32\stdole2.tlb\stdole2.tlb 1 @@ -395,6 +405,7 @@ dll\win32\sxs\sxs.dll 1 dll\win32\syssetup\syssetup.dll 1 dll\win32\tapi32\tapi32.dll 1 dll\win32\tapiui\tapiui.dll 1 +dll\win32\traffic\traffic.dll 1 dll\win32\twain_32\twain_32.dll 1 dll\win32\uext2\uext2.dll 1 dll\win32\ufat\ufat.dll 1 diff --git a/reactos/dll/win32/httpapi/httpapi.rbuild b/reactos/dll/win32/httpapi/httpapi.rbuild new file mode 100644 index 00000000000..7e85a873ee6 --- /dev/null +++ b/reactos/dll/win32/httpapi/httpapi.rbuild @@ -0,0 +1,10 @@ + + + . + include/reactos/wine + + httpapi_main.c + wine + kernel32 + ntdll + diff --git a/reactos/dll/win32/httpapi/httpapi.spec b/reactos/dll/win32/httpapi/httpapi.spec new file mode 100644 index 00000000000..a33286af206 --- /dev/null +++ b/reactos/dll/win32/httpapi/httpapi.spec @@ -0,0 +1,52 @@ +@ stub HttpAddFragmentToCache +@ stub HttpAddUrl +@ stub HttpAddUrlToConfigGroup +@ stub HttpCancelHttpRequest +@ stub HttpCreateAppPool +@ stub HttpCreateConfigGroup +@ stub HttpCreateFilter +@ stub HttpCreateHttpHandle +@ stub HttpDeleteConfigGroup +@ stdcall HttpDeleteServiceConfiguration(ptr long ptr long ptr) +@ stub HttpFilterAccept +@ stub HttpFilterAppRead +@ stub HttpFilterAppWrite +@ stub HttpFilterAppWriteAndRawRead +@ stub HttpFilterClose +@ stub HttpFilterRawRead +@ stub HttpFilterRawWrite +@ stub HttpFilterRawWriteAndAppRead +@ stub HttpFlushResponseCache +@ stub HttpGetCounters +@ stdcall HttpInitialize(long long ptr) +@ stub HttpInitializeServerContext +@ stub HttpOpenAppPool +@ stub HttpOpenControlChannel +@ stub HttpOpenFilter +@ stub HttpQueryAppPoolInformation +@ stub HttpQueryConfigGroupInformation +@ stub HttpQueryControlChannelInformation +@ stub HttpQueryServerContextInformation +@ stdcall HttpQueryServiceConfiguration(ptr long ptr long ptr long ptr ptr) +@ stub HttpReadFragmentFromCache +@ stub HttpReceiveClientCertificate +@ stub HttpReceiveHttpRequest +@ stub HttpReceiveHttpResponse +@ stub HttpReceiveRequestEntityBody +@ stub HttpRemoveAllUrlsFromConfigGroup +@ stub HttpRemoveUrl +@ stub HttpRemoveUrlFromConfigGroup +@ stub HttpSendHttpRequest +@ stub HttpSendHttpResponse +@ stub HttpSendRequestEntityBody +@ stub HttpSendResponseEntityBody +@ stub HttpSetAppPoolInformation +@ stub HttpSetConfigGroupInformation +@ stub HttpSetControlChannelInformation +@ stub HttpSetServerContextInformation +@ stdcall HttpSetServiceConfiguration(ptr long ptr long ptr) +@ stub HttpShutdownAppPool +@ stub HttpShutdownFilter +@ stdcall HttpTerminate(long ptr) +@ stub HttpWaitForDemandStart +@ stub HttpWaitForDisconnect diff --git a/reactos/dll/win32/httpapi/httpapi_main.c b/reactos/dll/win32/httpapi/httpapi_main.c new file mode 100644 index 00000000000..7b29a15016d --- /dev/null +++ b/reactos/dll/win32/httpapi/httpapi_main.c @@ -0,0 +1,159 @@ +/* + * HTTPAPI implementation + * + * Copyright 2009 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 + +#include "windef.h" +#include "winbase.h" +#include "http.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(httpapi); + +BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID lpv ) +{ + switch(reason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls( hinst ); + break; + case DLL_PROCESS_DETACH: + break; + } + return TRUE; +} + +/*********************************************************************** + * HttpInitialize (HTTPAPI.@) + * + * Initializes HTTP Server API engine + * + * PARAMS + * version [ I] HTTP API version which caller will use + * flags [ I] initialization options which specify parts of API what will be used + * reserved [IO] reserved, must be NULL + * + * RETURNS + * NO_ERROR if function succeeds, or error code if function fails + * + */ +ULONG WINAPI HttpInitialize( HTTPAPI_VERSION version, ULONG flags, PVOID reserved ) +{ + FIXME( "({%d,%d}, 0x%x, %p): stub!\n", version.HttpApiMajorVersion, + version.HttpApiMinorVersion, flags, reserved ); + return NO_ERROR; +} + +/*********************************************************************** + * HttpTerminate (HTTPAPI.@) + * + * Cleans up HTTP Server API engine resources allocated by HttpInitialize + * + * PARAMS + * flags [ I] options which specify parts of API what should be released + * reserved [IO] reserved, must be NULL + * + * RETURNS + * NO_ERROR if function succeeds, or error code if function fails + * + */ +ULONG WINAPI HttpTerminate( ULONG flags, PVOID reserved ) +{ + FIXME( "(0x%x, %p): stub!\n", flags, reserved ); + return NO_ERROR; +} + +/*********************************************************************** + * HttpDeleteServiceConfiguration (HTTPAPI.@) + * + * Remove configuration record from HTTP Server API configuration store + * + * PARAMS + * handle [I] reserved, must be 0 + * type [I] configuration record type + * config [I] buffer which contains configuration record information + * length [I] length of configuration record buffer + * overlapped [I] reserved, must be NULL + * + * RETURNS + * NO_ERROR if function succeeds, or error code if function fails + * + */ +ULONG WINAPI HttpDeleteServiceConfiguration( HANDLE handle, HTTP_SERVICE_CONFIG_ID type, + PVOID config, ULONG length, LPOVERLAPPED overlapped ) +{ + FIXME( "(%p, %d, %p, %d, %p): stub!\n", handle, type, config, length, overlapped ); + return NO_ERROR; +} + +/*********************************************************************** + * HttpQueryServiceConfiguration (HTTPAPI.@) + * + * Retrieves configuration records from HTTP Server API configuration store + * + * PARAMS + * handle [ I] reserved, must be 0 + * type [ I] configuration records type + * query [ I] buffer which contains query data used to retrieve records + * query_len [ I] length of query buffer + * buffer [IO] buffer to store query results + * buffer_len [ I] length of output buffer + * data_len [ O] optional pointer to a buffer which receives query result length + * overlapped [ I] reserved, must be NULL + * + * RETURNS + * NO_ERROR if function succeeds, or error code if function fails + * + */ +ULONG WINAPI HttpQueryServiceConfiguration( HANDLE handle, HTTP_SERVICE_CONFIG_ID type, + PVOID query, ULONG query_len, PVOID buffer, ULONG buffer_len, + PULONG data_len, LPOVERLAPPED overlapped ) +{ + FIXME( "(%p, %d, %p, %d, %p, %d, %p, %p): stub!\n", handle, type, query, query_len, + buffer, buffer_len, data_len, overlapped ); + return ERROR_FILE_NOT_FOUND; +} + +/*********************************************************************** + * HttpSetServiceConfiguration (HTTPAPI.@) + * + * Add configuration record to HTTP Server API configuration store + * + * PARAMS + * handle [I] reserved, must be 0 + * type [I] configuration record type + * config [I] buffer which contains configuration record information + * length [I] length of configuration record buffer + * overlapped [I] reserved, must be NULL + * + * RETURNS + * NO_ERROR if function succeeds, or error code if function fails + * + */ +ULONG WINAPI HttpSetServiceConfiguration( HANDLE handle, HTTP_SERVICE_CONFIG_ID type, + PVOID config, ULONG length, LPOVERLAPPED overlapped ) +{ + FIXME( "(%p, %d, %p, %d, %p): stub!\n", handle, type, config, length, overlapped ); + return NO_ERROR; +} diff --git a/reactos/dll/win32/initpki/initpki.rbuild b/reactos/dll/win32/initpki/initpki.rbuild new file mode 100644 index 00000000000..4faaf38317c --- /dev/null +++ b/reactos/dll/win32/initpki/initpki.rbuild @@ -0,0 +1,11 @@ + + + + . + include/reactos/wine + + main.c + wine + kernel32 + ntdll + diff --git a/reactos/dll/win32/initpki/initpki.spec b/reactos/dll/win32/initpki/initpki.spec new file mode 100644 index 00000000000..51d80bc8ea3 --- /dev/null +++ b/reactos/dll/win32/initpki/initpki.spec @@ -0,0 +1,4 @@ +@ stub DllInstall +@ stub DllRegisterServer +@ stub DllUnregisterServer +@ stub InitializePKI diff --git a/reactos/dll/win32/initpki/main.c b/reactos/dll/win32/initpki/main.c new file mode 100644 index 00000000000..d936dd819de --- /dev/null +++ b/reactos/dll/win32/initpki/main.c @@ -0,0 +1,46 @@ +/* + * Copyright 2008 Maarten Lankhorst + * + * 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 + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(initpki); + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); + + switch (fdwReason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hinstDLL); + break; + case DLL_PROCESS_DETACH: + break; + default: + break; + } + return TRUE; +} diff --git a/reactos/dll/win32/itircl/itircl.rbuild b/reactos/dll/win32/itircl/itircl.rbuild new file mode 100644 index 00000000000..91ff4cc622c --- /dev/null +++ b/reactos/dll/win32/itircl/itircl.rbuild @@ -0,0 +1,11 @@ + + + + . + include/reactos/wine + + itircl_main.c + wine + kernel32 + ntdll + diff --git a/reactos/dll/win32/itircl/itircl.spec b/reactos/dll/win32/itircl/itircl.spec new file mode 100644 index 00000000000..a9b7505d360 --- /dev/null +++ b/reactos/dll/win32/itircl/itircl.spec @@ -0,0 +1,4 @@ +@ stdcall -private DllCanUnloadNow() +@ stub DllGetClassObject +@ stdcall -private DllRegisterServer() +@ stdcall -private DllUnregisterServer() diff --git a/reactos/dll/win32/itircl/itircl_main.c b/reactos/dll/win32/itircl/itircl_main.c new file mode 100644 index 00000000000..b8d57517a35 --- /dev/null +++ b/reactos/dll/win32/itircl/itircl_main.c @@ -0,0 +1,76 @@ +/* + * itircl main + * + * Copyright 2008 James Hawkins + * + * 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 + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(itircl); + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); + + switch (fdwReason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hinstDLL); + break; + case DLL_PROCESS_DETACH: + break; + default: + break; + } + + return TRUE; +} + +/*********************************************************************** + * DllRegisterServer (ITIRCL.@) + */ +HRESULT WINAPI DllRegisterServer(void) +{ + FIXME("stub\n"); + return S_FALSE; +} + +/*********************************************************************** + * DllUnregisterServer (ITIRCL.@) + */ +HRESULT WINAPI DllUnregisterServer(void) +{ + FIXME("stub\n"); + return S_FALSE; +} + +/*********************************************************************** + * DllCanUnloadNow (ITIRCL.@) + */ +HRESULT WINAPI DllCanUnloadNow(void) +{ + FIXME("stub\n"); + return S_FALSE; +} diff --git a/reactos/dll/win32/msisys.ocx/msisys.c b/reactos/dll/win32/msisys.ocx/msisys.c new file mode 100644 index 00000000000..3863fbae64d --- /dev/null +++ b/reactos/dll/win32/msisys.ocx/msisys.c @@ -0,0 +1,121 @@ +/* + * Stub implementation of MSISYS.OCX to prevent MSINFO32.EXE from crashing. + * + * Copyright 2002 Mike McCormack for CodeWeavers + * + * 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 + +#include "windef.h" +#include "winerror.h" +#include "winbase.h" +#include "wingdi.h" +#include "winuser.h" +#include "objbase.h" + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(msisys); + + +/*********************************************************************** + * MSISYS_InitProcess (internal) + */ +static BOOL MSISYS_InitProcess( void ) +{ + TRACE("()\n"); + + return TRUE; +} + +/*********************************************************************** + * MSISYS_UninitProcess (internal) + */ +static void MSISYS_UninitProcess( void ) +{ + TRACE("()\n"); +} + +/*********************************************************************** + * DllMain for MSISYS + */ +BOOL WINAPI DllMain( + HINSTANCE hInstDLL, + DWORD fdwReason, + LPVOID lpvReserved ) +{ + TRACE("(%p,%d,%p)\n",hInstDLL,fdwReason,lpvReserved); + + switch ( fdwReason ) + { + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hInstDLL); + if ( !MSISYS_InitProcess() ) + return FALSE; + break; + case DLL_PROCESS_DETACH: + MSISYS_UninitProcess(); + break; + } + + return TRUE; +} + + +/*********************************************************************** + * DllCanUnloadNow (MSISYS.@) + * + * RETURNS + * Success: S_OK + * Failure: S_FALSE + */ +HRESULT WINAPI DllCanUnloadNow(void) +{ + return S_OK; +} + +/*********************************************************************** + * DllGetClassObject (MSISYS.@) + */ +HRESULT WINAPI DllGetClassObject(REFCLSID pclsid, REFIID piid, LPVOID *ppv) +{ + FIXME("\n"); + + return CLASS_E_CLASSNOTAVAILABLE; +} + +/*********************************************************************** + * DllRegisterServer (MSISYS.@) + */ + +HRESULT WINAPI DllRegisterServer( void ) +{ + FIXME( "(): stub\n" ); + return E_FAIL; +} + +/*********************************************************************** + * DllUnregisterServer (MSISYS.@) + */ + +HRESULT WINAPI DllUnregisterServer( void ) +{ + FIXME( "(): stub\n" ); + return E_FAIL; +} diff --git a/reactos/dll/win32/msisys.ocx/msisys.ocx.rbuild b/reactos/dll/win32/msisys.ocx/msisys.ocx.rbuild new file mode 100644 index 00000000000..ce7f1084094 --- /dev/null +++ b/reactos/dll/win32/msisys.ocx/msisys.ocx.rbuild @@ -0,0 +1,12 @@ + + + + . + include/reactos/wine + + msisys.c + wine + uuid + kernel32 + ntdll + diff --git a/reactos/dll/win32/msisys.ocx/msisys.ocx.spec b/reactos/dll/win32/msisys.ocx/msisys.ocx.spec new file mode 100644 index 00000000000..b16365d0c9f --- /dev/null +++ b/reactos/dll/win32/msisys.ocx/msisys.ocx.spec @@ -0,0 +1,4 @@ +@ stdcall -private DllCanUnloadNow() +@ stdcall -private DllGetClassObject(ptr ptr ptr) +@ stdcall -private DllRegisterServer() +@ stdcall -private DllUnregisterServer() diff --git a/reactos/dll/win32/msnet32/msnet32.rbuild b/reactos/dll/win32/msnet32/msnet32.rbuild new file mode 100644 index 00000000000..334da1d28fa --- /dev/null +++ b/reactos/dll/win32/msnet32/msnet32.rbuild @@ -0,0 +1,10 @@ + + + . + include/reactos/wine + + msnet_main.c + wine + kernel32 + ntdll + diff --git a/reactos/dll/win32/msnet32/msnet32.spec b/reactos/dll/win32/msnet32/msnet32.spec new file mode 100644 index 00000000000..fcf4a0c994b --- /dev/null +++ b/reactos/dll/win32/msnet32/msnet32.spec @@ -0,0 +1,96 @@ + 1 stub @ + 2 stub @ + 3 stub @ + 4 stub @ + 5 stub @ + 6 stub @ + 7 stub @ + 8 stub @ + 9 stub @ + 10 stub @ + 11 stub @ + 12 stub @ + 13 stub @ + 14 stub @ + 15 stub @ + 16 stub @ + 17 stub @ + 18 stub @ + 19 stub @ + 20 stub @ + 21 stub @ + 22 stub @ + 23 stub @ + 24 stub @ + 25 stub @ + 26 stub @ + 27 stub @ + 28 stub @ + 29 stub @ + 30 stub @ + 31 stub @ + 32 stub @ + 33 stub @ + 34 stub @ + 35 stub @ + 36 stub @ + 37 stub @ + 38 stub @ + 39 stub @ + 40 stub @ + 41 stub @ + 42 stub @ + 43 stub @ + 44 stub @ + 45 stub @ + 46 stub @ + 47 stub @ + 48 stub @ + 49 stub @ + 50 stub @ + 51 stub @ + 52 stub @ + 53 stub @ + 54 stub @ + 55 stub @ + 56 stub @ + 57 stdcall @(long long ptr long ptr) MSNET32_57 + 58 stub @ + 59 stub @ + 60 stub @ + 61 stub @ + 62 stub @ + 63 stub @ + 64 stub @ + 65 stub @ + 66 stub @ + 67 stub @ + 68 stub @ + 69 stub @ + 70 stub @ + 71 stub @ + 72 stub @ + 73 stub @ + 74 stub @ + 75 stub @ + 76 stub @ + 77 stub @ + 78 stub @ + 79 stub @ + 80 stub @ + 81 stub @ + 82 stub @ + 83 stub @ + 84 stub @ + 85 stub @ + 86 stub @ + 87 stub @ + 88 stub @ + 89 stub @ + 90 stub @ + 91 stub @ + 92 stub @ + 93 stub @ + 94 stub @ + 95 stub @ + 96 stub @ diff --git a/reactos/dll/win32/msnet32/msnet_main.c b/reactos/dll/win32/msnet32/msnet_main.c new file mode 100644 index 00000000000..7c759002dfe --- /dev/null +++ b/reactos/dll/win32/msnet32/msnet_main.c @@ -0,0 +1,51 @@ +/* + * 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 + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(msnet); + + +/*********************************************************************** + * DllMain (MSNET32.@) + */ +BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved ) +{ + switch(reason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls( inst ); + break; + } + return TRUE; +} + +/*********************************************************************** + * @ (MSNET32.57) + */ +LONG WINAPI MSNET32_57( LONG a1, LONG a2, LPVOID a3, LONG a4, LPVOID a5 ) +{ + FIXME("(0x%04x 0x%04x %p 0x%04x %p): stub\n", a1, a2, a3, a4, a5); + return -1; /* FAILURE */ +} diff --git a/reactos/dll/win32/pidgen/bink.bin b/reactos/dll/win32/pidgen/bink.bin new file mode 100644 index 0000000000000000000000000000000000000000..996f8baae6eed0c502a4605ed17c8ebd026a3cb2 GIT binary patch literal 368 rcmWH~%u7`$$Vp62&B)J5Ni9-v^7QjoC`v8PFD*(=Wf%q24FN6yG@%O( literal 0 HcmV?d00001 diff --git a/reactos/dll/win32/pidgen/main.c b/reactos/dll/win32/pidgen/main.c new file mode 100644 index 00000000000..3aa3e844449 --- /dev/null +++ b/reactos/dll/win32/pidgen/main.c @@ -0,0 +1,45 @@ +/* + * Copyright 2008 Hans Leidekker for CodeWeavers + * + * 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 + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(pidgen); + +/***************************************************** + * DllMain + */ +BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) +{ + TRACE("(%p, %d, %p)\n", hinst, reason, reserved); + + switch(reason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls( hinst ); + break; + } + return TRUE; +} diff --git a/reactos/dll/win32/pidgen/pidgen.rbuild b/reactos/dll/win32/pidgen/pidgen.rbuild new file mode 100644 index 00000000000..7073cf56a58 --- /dev/null +++ b/reactos/dll/win32/pidgen/pidgen.rbuild @@ -0,0 +1,11 @@ + + + . + include/reactos/wine + + main.c + rsrc.rc + wine + kernel32 + ntdll + diff --git a/reactos/dll/win32/pidgen/pidgen.spec b/reactos/dll/win32/pidgen/pidgen.spec new file mode 100644 index 00000000000..ad5c3694a9e --- /dev/null +++ b/reactos/dll/win32/pidgen/pidgen.spec @@ -0,0 +1,7 @@ +@ stub PIDGenA +@ stub PIDGenW +@ stub PIDGenSimpA +@ stub PIDGenSimpW +@ stub SetupPIDGenA +@ stub SetupPIDGenW +@ stub VerifyPIDSequenceW diff --git a/reactos/dll/win32/pidgen/rsrc.rc b/reactos/dll/win32/pidgen/rsrc.rc new file mode 100644 index 00000000000..549fc8402e5 --- /dev/null +++ b/reactos/dll/win32/pidgen/rsrc.rc @@ -0,0 +1,21 @@ +/* + * Copyright 2008 Hans Leidekker for CodeWeavers + * + * 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 + */ + +/* @makedep: bink.bin */ +1 BINK "bink.bin" +2 BINK "bink.bin" diff --git a/reactos/dll/win32/resutils/resutils.c b/reactos/dll/win32/resutils/resutils.c new file mode 100644 index 00000000000..b9e3c66fa1a --- /dev/null +++ b/reactos/dll/win32/resutils/resutils.c @@ -0,0 +1,48 @@ +/* + * resutils 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 + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(resutils); + +/*********************************************************************** + * DllMain (RESUTILS.@) + * + */ +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(0x%p, %d, %p)\n",hinstDLL,fdwReason,lpvReserved); + + switch(fdwReason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls( hinstDLL ); + break; + } + + return TRUE; +} diff --git a/reactos/dll/win32/resutils/resutils.rbuild b/reactos/dll/win32/resutils/resutils.rbuild new file mode 100644 index 00000000000..81fbaa99405 --- /dev/null +++ b/reactos/dll/win32/resutils/resutils.rbuild @@ -0,0 +1,10 @@ + + + . + include/reactos/wine + + resutils.c + wine + kernel32 + ntdll + diff --git a/reactos/dll/win32/resutils/resutils.spec b/reactos/dll/win32/resutils/resutils.spec new file mode 100644 index 00000000000..9caa3216bd7 --- /dev/null +++ b/reactos/dll/win32/resutils/resutils.spec @@ -0,0 +1,71 @@ +@ stub ClusWorkerCheckTerminate +@ stub ClusWorkerCreate +@ stub ClusWorkerStart +@ stub ClusWorkerTerminate +@ stub ResUtilAddUnknownProperties +@ stub ResUtilCreateDirectoryTree +@ stub ResUtilDupParameterBlock +@ stub ResUtilDupString +@ stub ResUtilEnumPrivateProperties +@ stub ResUtilEnumProperties +@ stub ResUtilEnumResources +@ stub ResUtilEnumResourcesEx +@ stub ResUtilExpandEnvironmentStrings +@ stub ResUtilFindBinaryProperty +@ stub ResUtilFindDependentDiskResourceDriveLetter +@ stub ResUtilFindDwordProperty +@ stub ResUtilFindExpandSzProperty +@ stub ResUtilFindExpandedSzProperty +@ stub ResUtilFindLongProperty +@ stub ResUtilFindMultiSzProperty +@ stub ResUtilFindSzProperty +@ stub ResUtilFreeEnvironment +@ stub ResUtilFreeParameterBlock +@ stub ResUtilGetAllProperties +@ stub ResUtilGetBinaryProperty +@ stub ResUtilGetBinaryValue +@ stub ResUtilGetCoreClusterResources +@ stub ResUtilGetDwordProperty +@ stub ResUtilGetDwordValue +@ stub ResUtilGetEnvironmentWithNetName +@ stub ResUtilGetMultiSzProperty +@ stub ResUtilGetPrivateProperties +@ stub ResUtilGetProperties +@ stub ResUtilGetPropertiesToParameterBlock +@ stub ResUtilGetProperty +@ stub ResUtilGetPropertyFormats +@ stub ResUtilGetPropertySize +@ stub ResUtilGetResourceDependency +@ stub ResUtilGetResourceDependencyByClass +@ stub ResUtilGetResourceDependencyByName +@ stub ResUtilGetResourceDependentIPAddressProps +@ stub ResUtilGetResourceName +@ stub ResUtilGetResourceNameDependency +@ stub ResUtilGetSzProperty +@ stub ResUtilGetSzValue +@ stub ResUtilIsPathValid +@ stub ResUtilIsResourceClassEqual +@ stub ResUtilPropertyListFromParameterBlock +@ stub ResUtilResourceTypesEqual +@ stub ResUtilResourcesEqual +@ stub ResUtilSetBinaryValue +@ stub ResUtilSetDwordValue +@ stub ResUtilSetExpandSzValue +@ stub ResUtilSetMultiSzValue +@ stub ResUtilSetPrivatePropertyList +@ stub ResUtilSetPropertyParameterBlock +@ stub ResUtilSetPropertyParameterBlockEx +@ stub ResUtilSetPropertyTable +@ stub ResUtilSetPropertyTableEx +@ stub ResUtilSetResourceServiceEnvironment +@ stub ResUtilSetResourceServiceStartParameters +@ stub ResUtilSetSzValue +@ stub ResUtilSetUnknownProperties +@ stub ResUtilStartResourceService +@ stub ResUtilStopResourceService +@ stub ResUtilStopService +@ stub ResUtilTerminateServiceProcessFromResDll +@ stub ResUtilVerifyPrivatePropertyList +@ stub ResUtilVerifyPropertyTable +@ stub ResUtilVerifyResourceService +@ stub ResUtilVerifyService diff --git a/reactos/dll/win32/sccbase/main.c b/reactos/dll/win32/sccbase/main.c new file mode 100644 index 00000000000..37abe5f2c85 --- /dev/null +++ b/reactos/dll/win32/sccbase/main.c @@ -0,0 +1,46 @@ +/* + * Copyright 2008 Maarten Lankhorst + * + * 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 + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(sccbase); + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); + + switch (fdwReason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hinstDLL); + break; + case DLL_PROCESS_DETACH: + break; + default: + break; + } + return TRUE; +} diff --git a/reactos/dll/win32/sccbase/sccbase.rbuild b/reactos/dll/win32/sccbase/sccbase.rbuild new file mode 100644 index 00000000000..60baaa55ca5 --- /dev/null +++ b/reactos/dll/win32/sccbase/sccbase.rbuild @@ -0,0 +1,11 @@ + + + + . + include/reactos/wine + + main.c + wine + kernel32 + ntdll + diff --git a/reactos/dll/win32/sccbase/sccbase.spec b/reactos/dll/win32/sccbase/sccbase.spec new file mode 100644 index 00000000000..c63d06bb548 --- /dev/null +++ b/reactos/dll/win32/sccbase/sccbase.spec @@ -0,0 +1,26 @@ +@ stub CPAcquireContext +@ stub CPAcquireContextW +@ stub CPCreateHash +@ stub CPDecrypt +@ stub CPDeriveKey +@ stub CPDestroyHash +@ stub CPDestroyKey +@ stub CPEncrypt +@ stub CPExportKey +@ stub CPGenKey +@ stub CPGenRandom +@ stub CPGetHashParam +@ stub CPGetKeyParam +@ stub CPGetProvParam +@ stub CPGetUserKey +@ stub CPHashData +@ stub CPHashSessionKey +@ stub CPImportKey +@ stub CPReleaseContext +@ stub CPSetHashParam +@ stub CPSetKeyParam +@ stub CPSetProvParam +@ stub CPSignHash +@ stub CPVerifySignature +@ stub DllRegisterServer +@ stub DllUnregisterServer diff --git a/reactos/dll/win32/slbcsp/main.c b/reactos/dll/win32/slbcsp/main.c new file mode 100644 index 00000000000..594f811ceab --- /dev/null +++ b/reactos/dll/win32/slbcsp/main.c @@ -0,0 +1,46 @@ +/* + * Copyright 2008 Maarten Lankhorst + * + * 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 + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(slbcsp); + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); + + switch (fdwReason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hinstDLL); + break; + case DLL_PROCESS_DETACH: + break; + default: + break; + } + return TRUE; +} diff --git a/reactos/dll/win32/slbcsp/slbcsp.rbuild b/reactos/dll/win32/slbcsp/slbcsp.rbuild new file mode 100644 index 00000000000..44028b1d26c --- /dev/null +++ b/reactos/dll/win32/slbcsp/slbcsp.rbuild @@ -0,0 +1,11 @@ + + + + . + include/reactos/wine + + main.c + wine + kernel32 + ntdll + diff --git a/reactos/dll/win32/slbcsp/slbcsp.spec b/reactos/dll/win32/slbcsp/slbcsp.spec new file mode 100644 index 00000000000..d3462fa119c --- /dev/null +++ b/reactos/dll/win32/slbcsp/slbcsp.spec @@ -0,0 +1,27 @@ +@ stub CPAcquireContext +@ stub CPSetHashParam +@ stub CPSetKeyParam +@ stub CPSetProvParam +@ stub CPCreateHash +@ stub CPDecrypt +@ stub CPDeriveKey +@ stub CPDestroyHash +@ stub CPDestroyKey +@ stub CPDuplicateHash +@ stub CPDuplicateKey +@ stub CPEncrypt +@ stub CPExportKey +@ stub CPGenKey +@ stub CPGenRandom +@ stub CPGetHashParam +@ stub CPGetKeyParam +@ stub CPGetProvParam +@ stub CPGetUserKey +@ stub CPHashData +@ stub CPHashSessionKey +@ stub CPImportKey +@ stub CPReleaseContext +@ stub CPSignHash +@ stub CPVerifySignature +@ stub DllRegisterServer +@ stub DllUnregisterServer diff --git a/reactos/dll/win32/softpub/softpub.rbuild b/reactos/dll/win32/softpub/softpub.rbuild new file mode 100644 index 00000000000..fce15865866 --- /dev/null +++ b/reactos/dll/win32/softpub/softpub.rbuild @@ -0,0 +1,10 @@ + + + + . + include/reactos/wine + + wine + wintrust + softpub.rc + diff --git a/reactos/dll/win32/softpub/softpub.rc b/reactos/dll/win32/softpub/softpub.rc new file mode 100644 index 00000000000..7df5c7c2bad --- /dev/null +++ b/reactos/dll/win32/softpub/softpub.rc @@ -0,0 +1,5 @@ +#define REACTOS_VERSION_DLL +#define REACTOS_STR_FILE_DESCRIPTION "Softpub Forwarder DLL\0" +#define REACTOS_STR_INTERNAL_NAME "softpub\0" +#define REACTOS_STR_ORIGINAL_FILENAME "softpub.dll\0" +#include diff --git a/reactos/dll/win32/softpub/softpub.spec b/reactos/dll/win32/softpub/softpub.spec new file mode 100644 index 00000000000..5b2e20a735d --- /dev/null +++ b/reactos/dll/win32/softpub/softpub.spec @@ -0,0 +1,24 @@ +1 stdcall GenericChainCertificateTrust(ptr) wintrust.GenericChainCertificateTrust +2 stdcall GenericChainFinalProv(ptr) wintrust.GenericChainFinalProv +3 stdcall HTTPSCertificateTrust(ptr) wintrust.HTTPSCertificateTrust +4 stdcall SoftpubDefCertInit(ptr) wintrust.SoftpubDefCertInit +5 stub SoftpubFreeDefUsageCallData +6 stub SoftpubLoadDefUsageCallData +7 stub AddPersonalTrustDBPages +8 stdcall -private DllRegisterServer() wintrust.SoftpubDllRegisterServer +9 stdcall -private DllUnregisterServer() wintrust.SoftpubDllUnregisterServer +10 stdcall DriverCleanupPolicy(ptr) wintrust.DriverCleanupPolicy +11 stdcall DriverFinalPolicy(ptr) wintrust.DriverFinalPolicy +12 stdcall DriverInitializePolicy(ptr) wintrust.DriverInitializePolicy +13 stdcall FindCertsByIssuer(ptr ptr ptr ptr long wstr long) wintrust.FindCertsByIssuer +14 stdcall HTTPSFinalProv(ptr) wintrust.HTTPSFinalProv +15 stdcall OfficeCleanupPolicy(ptr) wintrust.OfficeCleanupPolicy +16 stdcall OfficeInitializePolicy(ptr) wintrust.OfficeInitializePolicy +17 stdcall OpenPersonalTrustDBDialog(long) wintrust.OpenPersonalTrustDBDialog +18 stdcall SoftpubAuthenticode(ptr) wintrust.SoftpubAuthenticode +19 stdcall SoftpubCheckCert(ptr long long long) wintrust.SoftpubCheckCert +20 stdcall SoftpubCleanup(ptr) wintrust.SoftpubCleanup +21 stdcall SoftpubDumpStructure(ptr) wintrust.SoftpubDumpStructure +22 stdcall SoftpubInitialize(ptr) wintrust.SoftpubInitialize +23 stdcall SoftpubLoadMessage(ptr) wintrust.SoftpubLoadMessage +24 stdcall SoftpubLoadSignature(ptr) wintrust.SoftpubLoadSignature diff --git a/reactos/dll/win32/traffic/traffic.rbuild b/reactos/dll/win32/traffic/traffic.rbuild new file mode 100644 index 00000000000..0c9afcda041 --- /dev/null +++ b/reactos/dll/win32/traffic/traffic.rbuild @@ -0,0 +1,10 @@ + + + . + include/reactos/wine + + traffic_main.c + wine + kernel32 + ntdll + diff --git a/reactos/dll/win32/traffic/traffic.spec b/reactos/dll/win32/traffic/traffic.spec new file mode 100644 index 00000000000..eed26e88ad8 --- /dev/null +++ b/reactos/dll/win32/traffic/traffic.spec @@ -0,0 +1,21 @@ +@ stub TcAddClassMap +@ stub TcAddFilter +@ stub TcAddFlow +@ stub TcCloseInterface +@ stub TcDeleteFilter +@ stub TcDeleteFlow +@ stub TcDeregisterClient +@ stub TcEnumerateFlows +@ stub TcEnumerateInterfaces +@ stub TcGetFlowNameA +@ stub TcGetFlowNameW +@ stub TcModifyFlow +@ stub TcOpenInterfaceA +@ stub TcOpenInterfaceW +@ stub TcQueryFlowA +@ stub TcQueryFlowW +@ stub TcQueryInterface +@ stub TcRegisterClient +@ stub TcSetFlowA +@ stub TcSetFlowW +@ stub TcSetInterface diff --git a/reactos/dll/win32/traffic/traffic_main.c b/reactos/dll/win32/traffic/traffic_main.c new file mode 100644 index 00000000000..421be6c0bff --- /dev/null +++ b/reactos/dll/win32/traffic/traffic_main.c @@ -0,0 +1,44 @@ +/* + * QoS traffic control implementation + * + * Copyright 2009 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 + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(traffic); + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); + + switch (fdwReason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hinstDLL); + break; + default: + break; + } + + return TRUE; +} diff --git a/reactos/include/psdk/http.h b/reactos/include/psdk/http.h new file mode 100644 index 00000000000..2e116e5b6c7 --- /dev/null +++ b/reactos/include/psdk/http.h @@ -0,0 +1,64 @@ +/* + * HTTP Server API definitions + * + * Copyright (C) 2009 Andrey Turkin + * + * 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 + */ + +#ifndef __WINE_HTTP_H +#define __WINE_HTTP_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _HTTPAPI_VERSION +{ + USHORT HttpApiMajorVersion; + USHORT HttpApiMinorVersion; +} HTTPAPI_VERSION, *PHTTPAPI_VERSION; + +#define HTTPAPI_VERSION_1 {1,0} +#define HTTPAPI_VERSION_2 {2,0} + +/* HttpInitialize and HttpTerminate flags */ +#define HTTP_INITIALIZE_SERVER 0x00000001 +#define HTTP_INITIALIZE_CONFIG 0x00000002 + +typedef enum _HTTP_SERVICE_CONFIG_ID +{ + HttpServiceConfigIPListenList, + HttpServiceConfigSSLCertInfo, + HttpServiceConfigUrlAclInfo, + HttpServiceConfigTimeout, + HttpServiceConfigMax +} HTTP_SERVICE_CONFIG_ID, *PHTTP_SERVICE_CONFIG_ID; + +ULONG WINAPI HttpInitialize(HTTPAPI_VERSION,ULONG,PVOID); +ULONG WINAPI HttpTerminate(ULONG,PVOID); + +ULONG WINAPI HttpDeleteServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,LPOVERLAPPED); +ULONG WINAPI HttpQueryServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,PVOID,ULONG,PULONG,LPOVERLAPPED); +ULONG WINAPI HttpSetServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,LPOVERLAPPED); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_HTTP_H */ diff --git a/reactos/media/doc/README.WINE b/reactos/media/doc/README.WINE index e424e4c2349..78ca8d2ff87 100644 --- a/reactos/media/doc/README.WINE +++ b/reactos/media/doc/README.WINE @@ -55,6 +55,7 @@ reactos/dll/win32/dciman32 # Synced to Wine-1_0-rc2 reactos/dll/win32/gdiplus # Autosync reactos/dll/win32/hhctrl.ocx # Autosync reactos/dll/win32/hlink # Autosync +reactos/dll/win32/httpapi # Autosync reactos/dll/win32/iccvid # Autosync reactos/dll/win32/icmp # Synced to Wine-0_9_10 reactos/dll/win32/imaadp32.acm # Autosync @@ -62,8 +63,10 @@ reactos/dll/win32/imm32 # Autosync reactos/dll/win32/imagehlp # Patches for BindImage need review and submission to winehq. reactos/dll/win32/inetcomm # Autosync reactos/dll/win32/inetmib1 # Autosync +reactos/dll/win32/initpki # Autosync reactos/dll/win32/inseng # Autosync reactos/dll/win32/iphlpapi # Out of sync +reactos/dll/win32/itircl # Autosync reactos/dll/win32/itss # Autosync reactos/dll/win32/jscript # Autosync reactos/dll/win32/localspl # Autosync @@ -90,6 +93,8 @@ reactos/dll/win32/msimg32 # Autosync reactos/dll/win32/msi # Autosync reactos/dll/win32/msimtf # Autosync reactos/dll/win32/msisip # Autosync +reactos/dll/win32/msisys.ocx # Autosync +reactos/dll/win32/msnet32 # Autosync reactos/dll/win32/msrle32 # Autosync reactos/dll/win32/mssign32 # Autosync reactos/dll/win32/mssip32 # Autosync @@ -114,16 +119,19 @@ reactos/dll/win32/olepro32 # Autosync reactos/dll/win32/olesvr32 # Autosync reactos/dll/win32/olethk32 # Autosync reactos/dll/win32/pdh # Autosync +reactos/dll/win32/pidgen # Autosync reactos/dll/win32/powrprof # Forked at Wine-1.0rc5 reactos/dll/win32/printui # Autosync reactos/dll/win32/pstorec # Autosync reactos/dll/win32/query # Autosync reactos/dll/win32/rasapi32 # Autosync +reactos/dll/win32/resutils # Autosync reactos/dll/win32/riched20 # Autosync reactos/dll/win32/riched32 # Autosync reactos/dll/win32/rpcrt4 # Synced to Wine-0_9_55 reactos/dll/win32/rsabase # Autosync reactos/dll/win32/rsaenh # Autosync +reactos/dll/win32/sccbase # Autosync reactos/dll/win32/schannel # Autosync reactos/dll/win32/sensapi # Autosync reactos/dll/win32/setupapi # Forked at Wine-20050524 @@ -131,11 +139,14 @@ reactos/dll/win32/shell32 # Forked at Wine-20071011 reactos/dll/win32/shdocvw # Synced to Wine-0_9_5 reactos/dll/win32/shfolder # Autosync reactos/dll/win32/shlwapi # Autosync +reactos/dll/win32/slbcsp # Autosync +reactos/dll/win32/softpub # Autosync reactos/dll/win32/spoolss # Autosync reactos/dll/win32/stdole2.tlb # Autosync reactos/dll/win32/sti # Autosync reactos/dll/win32/sxs # Autosync reactos/dll/win32/tapi32 # Autosync +reactos/dll/win32/traffic # Autosync reactos/dll/win32/twain_32 # Out of sync reactos/dll/win32/updspapi # Autosync reactos/dll/win32/url # Autosync