Commit Graph

62 Commits

Author SHA1 Message Date
Alexandre Julliard f061917296 include: Make CLIENT_CALL_RETURN definition platform-specific to handle the return type incompatibility in NdrClientCall. 2011-06-02 16:22:43 +02:00
Francois Gouget 96f33b94bd include: Add some __RPC_XXX macros to help compile code using midl-generated headers. 2011-05-24 16:55:23 +02:00
André Hentschel 3eef4e110c include: Increase rpcndr header version. 2010-12-01 11:11:17 +01:00
Amine Khaldi c9dcef156e widl: Do not define MIDL_user_allocate and MIDL_user_free as it's already in the psdk. 2010-10-27 12:02:41 +02:00
Alexandre Julliard 2349a5eb4f include: Move some included files outside of extern "C". 2010-09-07 13:37:41 +02:00
Alexandre Julliard a717d2d284 include: Define hyper to INT64 instead of __int64 to get the correct alignment 2009-11-21 14:31:46 +01:00
Francois Gouget 8f43b54a90 rpcrt4: A signed 1-bit bitfield doesn't make much sense; use unsigned. 2009-10-08 12:17:31 +02:00
Alexandre Julliard 0e67f65cab include: Add support for building Wine with strict prototype checking. 2009-10-06 16:12:39 +02:00
Alexandre Julliard cdbd3fdc6a include: Fix the packing of the MIDL_STUB_MESSAGE structure on 64-bit. 2009-05-27 21:17:32 +02: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
Rob Shearman 05063ece28 rpcrt4: Don't declare functions that aren't exported by rpcrt4.dll in include/rpcndr.h.
NdrRangeMarshall, NdrRangeBufferSize, NdrRangeFree and
NdrByteCountPointerMemorySize should be declared static in
ndr_marshall.c instead.
2009-01-23 16:13:53 +01:00
Michael Stefaniuc c0827c7a67 include: Change RPC_LENGTH to ULONG for Win64 compatibility. 2009-01-04 13:35:03 +01:00
Alexandre Julliard d60c32769d include: Added definition for RPC_BAD_STUB_DATA_EXCEPTION_FILTER. 2008-09-15 11:30:29 +02:00
Marcus Meissner 68f63689cb include: Mark up with alloc_size attribute. 2008-09-10 10:55:50 +02:00
Rob Shearman a8f7c716ef rpcrt4: Change type of len parameter of NdrAllocate from size_t to SIZE_T.
Use SIZE_T as it matches the size that Windows programs expect whereas
size_t is platform-dependent.
2008-09-08 12:51:37 +02:00
Marcus Meissner 96412ee564 Annotate with allocation size attribute. 2008-09-05 11:22:26 +02:00
Rob Shearman 7f1b7c51be include: Add new bitfields to MIDL_STUB_MESSAGE added in Vista SDKs.
Move fBufferValid to a bitfield and update the corresponding tests in rpcrt4.
Add tests for the new fields.
2008-06-23 12:48:59 +02:00
Rob Shearman 52911fc66c include: Update the MIDL_STUB_MESSAGE structure.
Reduce the size of the IsClient field, as is done in the latest SDKs
to fix NdrClientInitializeNew tests on XP SP3 and Win2003+.
2008-06-19 11:54:49 +02:00
Rob Shearman 85f3fedc4b include: Add declaration for RpcSmDestroyClientContext to rpcndr.h. 2008-06-10 11:33:17 +02:00
Rob Shearman 26a14d8bd3 include: Add more NDR types and function declarations to rpcndr.h. 2007-12-18 12:26:37 +01:00
Rob Shearman 6d4f63e73f include: Fix the byte-order in the definition of the USER_MARSHAL_CB_SIGNATURE macro. 2007-03-20 12:56:41 +01:00
Francois Gouget 45d5ff01a6 rpcrt4: Better match the PSDK types and fix the winapi_check warnings. 2007-02-07 21:42:02 +01:00
Francois Gouget fa7c32f56c rpcrt4: Give a proper name to some formerly reserved MIDL_STUB_MESSAGE fields.
Define NTDDI_VERSION so we get definitions for the Reserved51_X fields with the PSDK.
This fixes compilation of the ndr_marshall.c with the PSDK.
2007-01-11 11:37:13 +01:00
Michael Stefaniuc 9023bc0d13 rpcndr.h: Use ULONG/LONG/DWORD for Win64 compatibility instead of unsigned long/long. 2006-11-09 10:43:32 +01:00
Francois Gouget 87045eb0c5 Fix rpcndr.h so it takes CONST_VTABLE into account.
Define CONST_VTABLE in the tests that need it. This fixes many Visual C++ warnings.
2006-09-29 17:52:27 +02:00
Robert Shearman c71af73324 oleaut32: Add a typedef for "boolean".
Fix up an conflict that this type has with jpeglib.h.
2006-07-07 13:31:37 +02:00
Mike McCormack 3742333581 rpcrt4: Remove unused IN and OUT macros. 2006-05-26 11:56:00 +02:00
Robert Shearman 4e85273086 rpcrt4: Implement explicit generic binding handles. 2006-05-25 10:40:23 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman f9e245fe54 include: Add function declarations for the Range type. 2006-02-03 18:45:59 +01:00
Robert Shearman 3433839b20 include: Add types and definitions for RPC user callback routines. 2006-01-27 12:53:51 +01:00
Rob Shearman 2dbc7f41c3 Add declarations for NdrAsyncClientCall, NdrAsyncStubCall and
RpcMgmtEnableIdleCleanup.
2005-11-02 10:55:27 +00:00
Ge van Geldorp 94dc00c558 Fix NdrServerContextMarshall prototype. 2005-09-08 11:02:38 +00:00
Robert Shearman 037bbdaf24 Add stubs for NdrMapCommAndFaultStatus, conformant string marshaling
and context handle functions.
2005-08-03 14:55:57 +00:00
Peter Berg Larsen 08dbbeb015 Remove compiler warnings for the # not being at the start of the
line.
2004-12-20 16:53:12 +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
Mike McCormack c859e91098 Use only standard C types in rpchdr.h. 2004-09-03 17:28:52 +00:00
Francois Gouget 4d61245684 Added missing field to MIDL_STUB_MESSAGE. 2004-09-03 01:03:29 +00:00
Robert Shearman 17790040bf Added some declarations. 2004-03-22 22:58:04 +00:00
Eric Pouech b74750c1b5 Added C++ support. 2004-03-22 20:38:06 +00:00
Robert Shearman bea0b25554 - Add more RPC format characters.
- Add some NDR functions and structures.
2004-03-03 05:25:37 +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
Dimitrie O. Paun 53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Ove Kaaven 882fc0383f Some RPC definitions. 2003-01-31 03:21:11 +00:00
Alexandre Julliard d77294a8ec Authors: Greg Turner <gmturner007@ameritech.net>, Ove Kaaven <ovek@transgaming.com>
- preliminary implementation of endpoint-mapping via a new on-demand
  server-ish process
- more header fixups
- (re)implement RpcEpRegisterA, RpcEpUnregister, and
  RpcEpResolveBinding using the new rpcss functionality
- update the todo list in rpcrt4_main.c a bit
- many beautifications and touch-ups
- command-line configurable timeout
- micro-client imbedded in np_server.c
2002-12-02 21:17:04 +00:00
Greg Turner 733b88bb60 - Cast NDR_* #defines to (unsigned long) instead of (UINT32) like MS
headers.
- Create __RPC_MAC__ and __RPC_WIN64__ conditional #defines.
- Correct NDR_LOCAL_DATA_REPRESENTATION for Mac's.
- New NDR_LOCAL_IS_BIG_ENDIAN conditional #define.
- #define TARGET_IS_NT50_OR_LATER.
2002-10-31 22:04:33 +00:00
Greg Turner a215f6b21a - Clean up and add some comments.
- Add NDR Data representation constants.
- Propagate DataRepresentation into and out of packet headers.
- Implement NdrServerInitializeNew
2002-10-28 21:14:16 +00:00
Greg Turner fc55077e52 - Clean up and enhance some traces.
- Stubs for NdrConvert, NdrConvert2, and NdrServerInitializeNew.
2002-10-28 20:07:01 +00:00
Greg Turner 4a37d84a9d - Make explicit some missing include dependencies.
- Implement NdrGetBuffer, NdrFreeBuffer, NdrConformantStringBufferSize
  and NdrConformantStringMarshall.
- Define the RPC_FC_C_CSTRING constant.
- Perhaps I don't want those MIDL_*_FORMAT_STRING structs, after
  all. Removed.
- Add RPC todo list.
- MIDL_STUB_MESSAGE.uFlags aren't.
- Comment out the NdrClientCall2 mock-up since that stuff is in the
  process of being implemented and might cause problems.
2002-10-25 19:03:43 +00:00
Greg Turner e033578a58 Implemented NdrClientInitializeNew. 2002-10-23 23:36:53 +00:00