Robert Shearman
c9e4ef73d2
Don't free previous buffer in NdrGetBuffer.
2005-08-03 14:55:05 +00:00
Stefan Huehner
4f82e547d7
Fix some missing-declarations warnings.
2005-07-24 17:11:59 +00:00
Francois Gouget
c995331d27
Fix the NdrVaryingArrayUnmarshall prototype (reported by
...
winapi_check).
2005-07-22 09:03:42 +00:00
Robert Shearman
b0b3080b2d
IRpcStubBuffer_Disconnect can be called more than once.
2005-07-19 19:12:54 +00:00
Robert Shearman
8c02f6367e
Add stubs for most of the NDR marshaling functions.
2005-07-18 13:14:05 +00:00
Mike McCormack
bda7ace2e9
Interlocked LONG* gcc warning fixes.
2005-07-13 11:59:15 +00:00
Stefan Huehner
2440dcfe88
Fix -Wmissing-declarations warnings.
2005-07-05 12:49:14 +00:00
Mike McCormack
b8fc783be2
Avoid warnings in generated tests by casting sizeof(x) to an int.
2005-07-03 11:23:30 +00:00
Francois Gouget
02c25a8981
Assorted spelling fixes.
2005-06-30 18:19:33 +00:00
Alexandre Julliard
f84401aa17
Sort entry points in the same order as Windows.
2005-06-23 09:57:11 +00:00
Stefan Huehner
9213d56ae0
Make some function static.
2005-06-20 15:35:54 +00:00
Robert Shearman
ff4ba9573c
Fix an RPC server startup race introduced by me.
2005-06-08 18:32:30 +00:00
Robert Shearman
cdb3cdf3cf
- Don't pass the PROFILE_SERVER flag in to CreateNamedPipe as it is
...
bogus.
- Call FlushFileBuffers to make sure the other end of the pipe doesn't
get cut off prematurely.
- Don't call CancelIo as we should never have async I/O pending.
2005-06-08 18:31:38 +00:00
Robert Shearman
8aecfff867
Make NdrInterfacePointer* more reliable.
2005-06-07 20:07:06 +00:00
Dmitry Timoshkov
eba47f1dfe
Make remaining OLE interface vtables const.
2005-06-06 19:50:35 +00:00
Mike Hearn
f45cb12553
Initialize DataRepresentation in NdrClientInitializeNew, not
...
NdrSendReceive.
2005-06-05 19:19:50 +00:00
Robert Shearman
acbb3f2f8d
- Improve tracing.
...
- Implement FC_UP and partially FC_OP.
- Don't needlessly marshal 4 bytes in NdrPointer*.
2005-06-01 11:04:03 +00:00
Vincent Béron
4440a7278f
Provide minimal API documentation in advapi/eventlog.c to silence some
...
winapi_check output.
Move around functions in riched20, richedit and rpcrt4 to achieve the
same goal.
2005-05-16 08:51:19 +00:00
Robert Shearman
b5eacf9a8d
- Fix RpcServerListen so that it doesn't return
...
RPC_S_ALREADY_LISTENING when the only interfaces it is listening on
are auto listens.
- Only synchronize with server thread when necessary and move this
into RpcMgmtWaitServerListen.
2005-05-13 13:55:24 +00:00
Alexandre Julliard
34fa35dc99
Added rules for building import libraries in the individual dll
...
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard
d62356aa1e
Added rules to build import libraries in the individual dll makefiles.
...
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Hartmut Birr
af384ad7a8
Clean up if named pipe is not available.
2005-05-06 14:33:11 +00:00
Francois Gouget
3ef8c51c8a
Tweak the API documentation to silence winapi_check warnings.
2005-04-20 15:18:42 +00:00
Francois Gouget
6b10c324c5
Assorted spelling fixes.
2005-03-30 17:08:31 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Robert Shearman
16779f1e5e
Fix deadlock caused by not leaving the critical section on all code
...
paths.
2005-03-19 17:05:41 +00:00
Ralf S. Engelschall
04db693ea7
Fix incorrect random multicast MAC address creation.
2005-03-14 10:53:57 +00:00
Robert Shearman
64280a6de4
- RpcMgmtStopServerListen should not affect auto-listen interfaces.
...
- Implement stub for RpcRevertToSelfEx.
- Change the more verbose files to use a new debug channel, "rpc."
2005-03-14 10:11:04 +00:00
Mike Hearn
486fd1f6f4
Suppress some useless warnings in the RPC runtime, and make a few
...
TRACEs that were reporting problems into WARNs.
2005-03-04 10:46:36 +00:00
Alexandre Julliard
d0ee9f9309
Avoid spaces before preprocessor directives, that's not portable.
2005-03-02 12:23:20 +00:00
Robert Shearman
b24193c344
- Add a stub implementation of RpcImpersonateClient.
...
- More tracing, particularly on error paths.
2005-02-15 20:45:37 +00:00
Robert Shearman
c5bb5182e8
Fix RPC server thread race.
2005-02-15 15:03:26 +00:00
Robert Shearman
1912e8896e
ERROR_IO_PENDING is expected, so don't return an error.
2005-02-15 15:03:14 +00:00
Ge van Geldorp
7cf104aa52
Fix prototypes according to PSDK.
2005-01-14 15:11:40 +00:00
Mike McCormack
4a0f999859
Use CreateEventW in preference to CreateEventA for unnamed events.
2005-01-07 15:40:09 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Bill Medland
bf42021e06
Implemented DceErrorInqText.
2004-12-23 11:29:54 +00:00
Robert Shearman
67942791e2
Implement RPC_E_DISCONNECTED in proxies.
2004-12-14 11:44:11 +00:00
Eric Pouech
0a258964c2
Const correctness fixes.
2004-11-30 21:38:57 +00:00
Francois Gouget
5c033dad79
MIDL_STUB_MESSAGE.UniquePtrCount has been renamed in the latest SDK so
...
ignore it.
2004-10-30 02:10:22 +00:00
Vincent Béron
6c644d68cf
Fix various function prototypes.
2004-10-19 23:55:15 +00:00
Mike McCormack
130f6e51f2
Add stub implementation for CreateProxyFromTypeInfo.
2004-10-18 19:37:42 +00:00
Francois Gouget
486d020c1b
Don't define COBJMACROS in objbase.h.
...
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Hans Leidekker
719a789792
Fix signed/unsigned comparison warnings.
2004-09-22 02:46:38 +00:00
Francois Gouget
02236f06a8
Fix and unify parsing of calling conventions.
...
Hack handling of 'struct { } *NDR_SCONTEXT;' so we don't cause a parse
error as this is a valid C construct.
Generate type tests for rpcrt4.
Remove PRPC_BINDING_VECTOR and PUUID_VECTOR, they don't exist on
Windows.
Fix the MIDL_STUB_MESSAGE, MIDL_SERVER_INFO and
MIDL_STUBLESS_PROXY_INFO structs.
Add NDR_ALLOC_ALL_NODES_CONTEXT, NDR_POINTER_QUEUE_STATE and
CS_STUB_INFO.
2004-09-08 01:27:24 +00:00
Alexandre Julliard
39a696a166
Removed some uses of the non-standard ICOM_THIS macro.
2004-09-06 20:34:29 +00:00
Mike McCormack
bff122fe94
Avoid non-standard types in rpcdcep.h.
2004-09-03 01:04:05 +00:00
Alexandre Julliard
f714b39762
Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
...
macro.
2004-08-23 19:39:48 +00:00
Alexandre Julliard
936198ce45
Moved ICOM_THIS_MULTI definition out of objbase.h and into the files
...
that use it.
2004-08-13 00:44:22 +00:00
Alexandre Julliard
48c4bb3c31
Get rid of the non-standard ICOM_VTABLE macro.
2004-08-12 23:00:51 +00:00
Alexandre Julliard
0467ce9fd7
Get rid of the non-standard ICOM_VFIELD macro.
2004-08-12 19:52:49 +00:00
Mike Hearn
86cc2d54c7
- Don't ERR on a used connection being destroyed.
...
- Don't print an extra newline in the olerelay code.
2004-06-23 00:10:29 +00:00
Mike Hearn
484f1b82d2
Remove the RPC connection cache as Windows does not allow multiple
...
binds on the same connection.
2004-06-17 19:54:34 +00:00
Mike Hearn
c71c514fec
Correct connection releases on error path in RPCRT4_OpenBinding.
2004-06-16 20:07:19 +00:00
Robert Shearman
bc06d4ba8e
- Fix ref count on standard proxy creation.
...
- Release channel buffer in StdMarshal_UnmarshalInterface, since we no
longer use it and the proxy should have taken a reference on it.
- Add a few comments.
2004-06-14 17:58:03 +00:00
Eric Pouech
df93f2eeee
GetModuleFileName[AW] doesn't terminate the string if the buffer is
...
too small.
2004-05-19 03:22:55 +00:00
Patrik Stridvall
070db4e5de
Fixed some issues found by winapi_check.
2004-05-17 21:08:31 +00:00
Hans Leidekker
9faf66913a
Reimplement UuidCreate() with Win32 APIs.
2004-04-28 01:04:49 +00:00
Filip Navara
c5580b0355
Make RPCRT4 use Windows compatible protocol (DCE v5.0) for
...
communication.
2004-04-26 23:33:39 +00:00
Filip Navara
7930ada851
Fix some RPC prototypes to get it compiling with W32API.
2004-04-19 23:03:58 +00:00
Hans Leidekker
4365bd2122
Fix compiler warning.
2004-04-19 19:24:03 +00:00
Filip Navara
3e103dcabe
Prevent crashes in I_RpcSend on Windows XP.
2004-04-19 02:56:12 +00:00
Filip Navara
2493529750
Fix the case of RpcNetworkIsProtseqValid[AW] (was
...
RpcNetworkIsProtSeqValid[AW]) names.
2004-04-14 04:28:27 +00:00
Alexandre Julliard
9e4ed6460c
.spec.c files are no longer used for 32-bit dlls.
2004-03-24 03:36:44 +00:00
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Robert Shearman
d1d89a64a6
- Fix a bad use of HeapRealloc.
...
- Fix error return codes.
- Improve traces.
2004-02-27 04:33:41 +00:00
Alexandre Julliard
20b4585e3c
Only link against libdxguid where necessary.
2004-01-27 00:11:16 +00:00
Francois Gouget
6b6ed724ae
Add missing '\n's to debug traces.
2004-01-27 00:01:43 +00:00
Francois Gouget
e18aa3f614
Add trailing '\n's to ok() calls.
2004-01-26 20:23:25 +00:00
Gregory M. Turner
7a513d2795
Wine also supports the ncacn_np protocol sequence.
2004-01-26 20:13:18 +00:00
Ge van Geldorp
399901e054
Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
...
with PSDK.
2004-01-23 01:51:33 +00:00
Mike Hearn
eca464b679
Implemented RpcIsProtSeqValid.
2004-01-20 23:36:50 +00:00
Alexandre Julliard
e8283089cb
Get rid of no longer needed WINE_PACKED define.
2004-01-09 22:18:49 +00:00
Ove Kaaven
00d0406c0d
Avoid freeing request packet too early if an exception occurs.
2004-01-09 00:35:04 +00:00
Ove Kaaven
cb6c83dfc3
Properly handle destroying the first connection in the connection
...
cache.
2004-01-09 00:34:53 +00:00
Alexandre Julliard
402b79a1e8
Porting fixes.
2003-11-27 00:59:36 +00:00
Gregory M. Turner
add18f77e9
Implemented RpcObjectSetType.
2003-11-21 22:14:42 +00:00
Dimitrie O. Paun
f5a23da2b2
Bail when we're out of memory.
2003-11-20 23:42:38 +00:00
Gregory M. Turner
9e85bf3f87
- Trace the argument to RPCRT4_server_thread.
...
- ^null implies two indirections, we have one.
- Ove's intent doesn't matter, the current implementation is right.
2003-11-20 23:39:18 +00:00
Gregory M. Turner
ad24c5599e
- Remove an erroneous check in NdrSendReceive.
...
- Change fixmes.
2003-10-21 23:49:57 +00:00
Dmitry Timoshkov
2581db8f6a
Fixed some problems found while compiling and linking Wine under
...
Cygwin.
2003-10-14 05:27:43 +00:00
Oleg Prokhorov
de12a97041
Another portion of HeapReAlloc fixes.
2003-10-14 05:24:20 +00:00
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Daniel Marmier
7e0ddbc60f
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-07 22:54:17 +00:00
Mike Hearn
a7b9936008
Move packet linked list tail forward correctly on push.
2003-09-15 19:57:11 +00:00
Gregory M. Turner
ee069f7cad
Updated the "TODO" comments.
2003-09-11 01:05:19 +00:00
Alexandre Julliard
20c169e0a4
Fixed a few more headers dependency issues.
2003-09-09 19:39:31 +00:00
Francois Gouget
ae50013017
Fix the case of product and company names.
2003-09-08 19:38:45 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
19b6a49845
Allocate DebugInfo field for all critical sections (based on a patch
...
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Alexandre Julliard
20698b22df
Make the DllRegisterServer, DllRegisterServerEx, DllUnregisterServer,
...
DllGetClassObject and DllCanUnloadNow functions private (suggested by
Jon Griffiths).
2003-07-30 03:48:55 +00:00
Gregory M. Turner
7120b6ea4b
RPCRT4_NdrClientCall2 is ATM hardly "semi-stub".
2003-07-16 23:30:18 +00:00
Dmitry Timoshkov
4e1ef0c114
For all DLLs with defined DllMain and which do not require
...
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Ove Kaaven
c707e23675
Initial support for RPC call failures, by catching RPC server
...
exceptions and returning simple failure packets, and throwing
exceptions on the client side when unmarshalling the failure packet.
2003-05-22 03:36:00 +00:00
Ove Kaaven
2d56c3d62d
For RPC servers, don't deallocate the RPC request packet before the
...
RPC reply packet is sent, in case marshalling the reply needs any of
the request data.
2003-05-21 18:23:06 +00:00
Ove Kaaven
40c9882b6c
Added semi-stub for NdrProxyErrorHandler.
...
Fixed a case of potential stack trashing.
2003-05-21 18:22:49 +00:00
Ove Kaaven
6e67d46355
Fixed NdrDllRegisterProxy so it registers the key names that ole32
...
expects. Better debug traces (include name of interface).
2003-05-20 04:13:44 +00:00
Ove Kaaven
a3f6bb8294
Implemented "dereference" pointer flag.
...
Added NdrClearOutParameters stub.
2003-05-20 02:17:49 +00:00
Ove Kaaven
571bc879c5
Portability fix. Better debug messages (display IID of interface to
...
marshal).
2003-05-20 02:17:15 +00:00
Francois Gouget
f803e2a92d
Fix miscellaneous spelling errors and typos.
2003-05-13 00:41:57 +00:00