Commit Graph

51 Commits

Author SHA1 Message Date
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
Greg Turner 0e2bec0e70 - Use Ove-style macros for NdrConformantStringMarshall definition.
- Move NdrConformantStringMarshall to new ndr_marshall.c.
- Stubs for NdrConformantStringBufferSize,
  NdrConformantStringMemorySize, and NdrConformantStringUnmarshall.
2002-10-22 00:41:17 +00:00
Greg Turner c14e9ebc07 Fix return types of NdrConformantStringMarshall, NdrGetBuffer, and
NdrSendReceive.
2002-10-21 23:42:01 +00:00
Greg Turner 1ecb22867f Super-crude implementation for NdrClientCall2.
Specs and headers for NdrClientInitializeNew,
NdrConformantStringMarshall, NdrGetBuffer, NdrFreeBuffer, and
NdrSendReceive.
2002-10-19 19:17:19 +00:00
Greg Turner 686b845593 Use the msvc way to return a struct, fixing wierd problems. 2002-10-16 18:51:11 +00:00
Ove Kaaven c3a78d4fbe Stubby NdrClientCall2 & some header changes. 2002-10-10 19:23:33 +00:00
Alexandre Julliard dd0bdbe44e Removed the __uint* types from basetsd.h since they don't exist under
Windows. Fixed a few other issues with type definitions.
2002-09-12 17:29:12 +00:00
Ove Kaaven 29b3061bfa Some more RPC definitions. 2002-08-09 01:11:39 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall 395e8bafc4 MSVC compile fixes. 2002-02-05 18:09:29 +00:00
Francois Gouget 924aae8d2d MIDL_STUB_MESSAGE needs a pack4 for the MaxCount field. 2001-11-19 02:08:56 +00:00
Ove Kaaven 0dac972db1 Added some RPC definitions. 2001-10-14 16:15:37 +00:00