LICENSE: X11 CHANGELOG: * dlls/rpcrt4: ndr_midl.c, ndr_misc.h: Greg Turner <gmturner007@ameritech.net> - some MIDL constants and structures (should eventually move to rpcndr.h I think) - stubs for NdrClientInitializeNew, NdrConformantStringMarshall, NdrGetBuffer, NdrFreeBuffer, and NdrSendReceive (not in specfile yet) -- gmt
Index: dlls/rpcrt4/ndr_midl.c =================================================================== RCS file: /home/wine/wine/dlls/rpcrt4/ndr_midl.c,v retrieving revision 1.1 diff -u -r1.1 ndr_midl.c --- dlls/rpcrt4/ndr_midl.c 10 Oct 2002 23:26:53 -0000 1.1 +++ dlls/rpcrt4/ndr_midl.c 18 Oct 2002 16:00:57 -0000 @@ -167,3 +167,44 @@ pStubMsg->BufferEnd = pStubMsg->BufferStart + pStubMsg->BufferLength; pStubMsg->Buffer = pStubMsg->BufferStart; } + +/************************************************************************ + * NdrClientInitializeNew [RPCRT4.@] + */ +void WINAPI NdrClientInitializeNew( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg, + PMIDL_STUB_DESC pStubDesc, int unknown ) +{ + TRACE("stub\n"); +} + +/*********************************************************************** + * NdrConformantStringMarshall [RPCRT4.@] + */ +void WINAPI NdrConformantStringMarshall(MIDL_STUB_MESSAGE *pStubMsg, unsigned char *pszMessage, + PFORMAT_STRING pFormat) +{ + TRACE("stub\n"); +} + +/*********************************************************************** + * NdrGetBuffer [RPCRT4.@] + */ +void WINAPI NdrGetBuffer(MIDL_STUB_MESSAGE *stubmsg, unsigned long buflen, RPC_BINDING_HANDLE handle) +{ + TRACE("stub\n"); +} +/*********************************************************************** + * NdrFreeBuffer [RPCRT4.@] + */ +void WINAPI NdrFreeBuffer(MIDL_STUB_MESSAGE *pStubMsg) +{ + TRACE("stub\n"); +} + +/************************************************************************ + * NdrSendReceive [RPCRT4.@] + */ +void WINAPI NdrSendReceive( MIDL_STUB_MESSAGE *stubmsg, unsigned char *buffer ) +{ + TRACE("stub\n"); +} Index: dlls/rpcrt4/ndr_misc.h =================================================================== RCS file: /home/wine/wine/dlls/rpcrt4/ndr_misc.h,v retrieving revision 1.1 diff -u -r1.1 ndr_misc.h --- dlls/rpcrt4/ndr_misc.h 10 Oct 2002 19:23:33 -0000 1.1 +++ dlls/rpcrt4/ndr_misc.h 19 Oct 2002 01:47:50 -0000 @@ -23,6 +23,22 @@ #include <stdarg.h> +#define FORMAT_STRING_PARANOIA 20 +#define TYPE_FORMAT_STRING_SIZE (5 + FORMAT_STRING_PARANOIA) +#define PROC_FORMAT_STRING_SIZE (9 + FORMAT_STRING_PARANOIA) + +typedef struct _MIDL_TYPE_FORMAT_STRING +{ + short Pad; + unsigned char Format[TYPE_FORMAT_STRING_SIZE]; +} MIDL_TYPE_FORMAT_STRING; + +typedef struct _MIDL_PROC_FORMAT_STRING +{ + short Pad; + unsigned char Format[PROC_FORMAT_STRING_SIZE]; +} MIDL_PROC_FORMAT_STRING; + struct IPSFactoryBuffer; LONG_PTR RPCRT4_NdrClientCall2(PMIDL_STUB_DESC pStubDesc,