Commit Graph

74 Commits

Author SHA1 Message Date
Eric Pouech f172957423 rpcss: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 11:20:33 +01:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Eric Pouech b5a3848ee7 rpcss: Use correct integral type.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-26 21:53:55 +01:00
Eric Pouech ecd84626cb rpcss: Fix implementation declaration to match prototype.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-19 10:41:18 +01:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Michael Stefaniuc d1be006f16 rpcss: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 10:59:10 +02:00
Nikolay Sivov adfaa93877 combase: Implement local server registration via SCM.
Main point of this change is to get rid of auxiliary thread that is causing
issues when CoRevokeClassObject() has to wait on it, potentially deadlocking
when called from DllMain.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-02 16:30:04 +02:00
Nikolay Sivov 9bec4bb582 rpcss: Implement interface to return sequential identifiers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-08 10:29:03 +01:00
Nikolay Sivov 5221825136 rpcss: Make initialization helper easier to extend.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-08 10:28:58 +01:00
Alexandre Julliard ed6a5e97e0 programs: Make all program entrypoints cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 17:05:47 +02:00
Alexandre Julliard 94700e8376 rpcss: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:39:42 +02:00
Alexandre Julliard 8df5add2d7 rpcss: Make rpcss a proper service.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:22:59 +09:00
Nikolay Sivov 42a6fc28c8 rpcss: No need to initialize entry list pointers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-23 14:11:04 +09:00
Nikolay Sivov 5b406f8963 rpcss: Fix a leak when TowerExplode() fails on endpoint insertion (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-23 14:11:00 +09:00
Nikolay Sivov a87c510e9a rpcss: Fix potential leaks when removing endpoint (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-23 14:10:51 +09:00
Nikolay Sivov d0c8654d10 rpcss: Fix a protseq string leak (Valgrind). 2015-04-16 15:14:04 +09:00
Francois Gouget 546b1c4cea rpcss: Remove unneeded NONAMELESSXXX directives. 2015-04-03 00:33:29 +09:00
Alexandre Julliard 86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard c3a48aab20 makefiles: Add makedep pragmas for client and server idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard 0e16345a5f rpcss: Remove redundant define. 2012-12-27 17:15:40 +01:00
Alexandre Julliard 717bd66440 widl: Default to the cdecl calling convention in client/server functions. 2011-06-13 11:53:28 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard 6fb39dfe4a programs: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:37 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Michael Stefaniuc efbb4ebf3e widl: Output "LONG" instead of "long" for a 32bit integer.
long is always 32bit in IDL files but that's not true in C.
2009-03-13 11:15:21 +01:00
Rob Shearman d3085abc08 Change parameter type from size_t to SIZE_T for MIDL_user_allocate. 2009-02-02 11:55:21 +01:00
Michael Stefaniuc e86eb8efa6 include: Change RPC_STATUS from long to LONG for Win64 compatibility.
Also fix the compiler warnings introduced by this change.
2009-01-04 13:34:38 +01:00
Maarten Lankhorst 768160e944 ntdll: Make all exported wine functions CDECL. 2008-12-17 15:02:25 +01:00
Alexandre Julliard 76ae4d9c65 rpcss: Build with -D__WINESRC__ since it's using Wine-specific features. 2008-12-03 16:41:58 +01:00
Alexandre Julliard 9b9a2f7629 rpcss: Get rid of the useless rpcss.h header. 2008-12-03 16:41:39 +01:00
Alexandre Julliard 01b7667a1a programs: Convert source files to utf-8. 2008-10-18 19:22:19 +02:00
Alexandre Julliard b66685cdd8 programs: Build the programs that support it with -DWINE_NO_UNICODE_MACROS. 2008-09-03 14:21:41 +02:00
Rob Shearman 257bf68f3d rpcss: Register the endpoint for the ncalrpc protseq for the endpoint mapper. 2008-08-18 14:35:38 +02:00
Rob Shearman a80a6353d7 rpcss: Warn in ept_insert if TowerExplode fails. 2008-08-18 14:35:34 +02:00
Francois Gouget 888cf5a4af rpcss: Add a trailing '\n' to a Wine trace. 2008-07-10 12:18:34 +02:00
Rob Shearman 45a3462c32 rpcrt4/rpcss: Remove old named pipe code for communicating with RPCSS process. 2008-06-26 12:20:24 +02:00
Rob Shearman 16849ceba9 rpcss: Implement endpoint-mapper server using DCE/RPC. 2008-06-26 12:16:48 +02:00
Francois Gouget 42a61d7ed7 Assorted spelling fixes. 2008-05-06 16:10:20 +02:00
Rob Shearman b9f8a81d8c rpcss: When registering a moniker that is already registered in the ROT another ROT entry should still be created and a distinct cookie returned. 2008-04-29 12:35:35 +02:00
Rob Shearman 8b8795136d rpcss: Initialise some out-only parameters that aren't initialised by the generated RPC code. 2007-12-31 16:46:02 +01:00
Rob Shearman 63a74c7dd4 rpcss: Zero the memory of several variables before writing them to the pipe to silence Valgrind warnings. 2007-12-27 14:13:29 +01:00
Rob Shearman 9804aba758 rpcss: Use context handles to automatically free running object table entries if the client process quits without calling IrotRevoke. 2007-12-26 13:27:42 +01:00
Rob Shearman cfc50f89d7 ole32: Add cross-process running-object table support. 2007-09-11 13:55:08 +02:00
Rob Shearman b9a6825927 rpcss: Remove lazy timeout mechanism and use __wine_make_system_process instead. 2007-06-20 13:08:33 +02:00
Peter Oberndorfer 3a1a190fc3 rpcss: Use correct prototype for thread function. 2007-05-11 11:20:46 +02:00
Francois Gouget c69ebe3b47 rpcss: Fix a file handle leak in RPCSS_BecomePipeServer().
Also, RPCSS_NPConnect() returns a file handle so treat it as such by
checking it against INVALID_HANDLE_VALUE and not NULL.
2007-03-08 22:17:05 +01:00
Michael Stefaniuc 7460b04214 rpcss: Win64 printf format warning fixes. 2006-10-03 11:16:01 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00