Author: tretiakov Date: Thu Apr 13 19:23:34 2006 New Revision: 21582
URL: http://svn.reactos.ru/svn/reactos?rev=21582&view=rev Log: Add more stubs
Modified: trunk/reactos/dll/win32/rpcrt4/ndr_contexth.c trunk/reactos/dll/win32/rpcrt4/rpcrt4.spec
Modified: trunk/reactos/dll/win32/rpcrt4/ndr_contexth.c URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/rpcrt4/ndr_context... ============================================================================== --- trunk/reactos/dll/win32/rpcrt4/ndr_contexth.c (original) +++ trunk/reactos/dll/win32/rpcrt4/ndr_contexth.c Thu Apr 13 19:23:34 2006 @@ -31,10 +31,10 @@ */ RPC_BINDING_HANDLE WINAPI NDRCContextBinding(NDR_CCONTEXT CContext) { - if(!CContext) + if(!CContext) RpcRaiseException(ERROR_INVALID_HANDLE);
- return (RPC_BINDING_HANDLE)((CContextHandle*)CContext)->Binding; + return (RPC_BINDING_HANDLE)((CContextHandle*)CContext)->Binding; }
/*********************************************************************** @@ -53,7 +53,6 @@ NDR_CCONTEXT ContextHandle, int fCheck) { - if(!ContextHandle) RpcRaiseException(ERROR_INVALID_HANDLE);
@@ -146,25 +145,6 @@ }
/*********************************************************************** - * NdrServerContextMarshall - */ -void WINAPI NdrServerContextMarshall(PMIDL_STUB_MESSAGE pStubMsg, - NDR_SCONTEXT ContextHandle, - NDR_RUNDOWN RundownRoutine ) -{ - FIXME("(%p, %p, %p): stub\n", pStubMsg, ContextHandle, RundownRoutine); -} - -/*********************************************************************** - * NdrServerContextUnmarshall - */ -NDR_SCONTEXT WINAPI NdrServerContextUnmarshall(PMIDL_STUB_MESSAGE pStubMsg) -{ - FIXME("(%p): stub\n", pStubMsg); - return NULL; -} - -/*********************************************************************** * NdrContextHandleSize */ void WINAPI NdrContextHandleSize(PMIDL_STUB_MESSAGE pStubMsg, @@ -181,6 +161,51 @@ PFORMAT_STRING pFormat) { FIXME("(%p, %p): stub\n", pStubMsg, pFormat); + return NULL; +} + +/*********************************************************************** + * NDRSContextMarshall2 + */ +void WINAPI NDRSContextMarshall2(IN RPC_BINDING_HANDLE BindingHandle, + IN NDR_SCONTEXT CContext, + OUT void *pBuff, + IN NDR_RUNDOWN userRunDownIn, + IN void *CtxGuard, + IN unsigned long Flags) +{ + FIXME("stub\n"); +} + +/*********************************************************************** + * NDRSContextUnmarshall2 + */ +NDR_SCONTEXT WINAPI NDRSContextUnmarshall2(IN RPC_BINDING_HANDLE BindingHandle, + IN void *pBuff, + IN unsigned long DataRepresentation, + IN void *CtxGuard, + IN unsigned long Flags) +{ + FIXME("stub\n"); + return NULL; +} + +/*********************************************************************** + * NdrServerContextMarshall + */ +void WINAPI NdrServerContextMarshall(PMIDL_STUB_MESSAGE pStubMsg, + NDR_SCONTEXT ContextHandle, + NDR_RUNDOWN RundownRoutine) +{ + FIXME("(%p, %p, %p): stub\n", pStubMsg, ContextHandle, RundownRoutine); +} + +/*********************************************************************** + * NdrServerContextUnmarshall + */ +NDR_SCONTEXT WINAPI NdrServerContextUnmarshall(PMIDL_STUB_MESSAGE pStubMsg) +{ + FIXME("(%p): stub\n", pStubMsg); return NULL; }
@@ -204,3 +229,45 @@ FIXME("(%p, %p): stub\n", pStubMsg, pFormat); return NULL; } + +/*********************************************************************** + * NDRSContextMarshall + */ +void WINAPI NDRSContextMarshall(IN NDR_SCONTEXT CContext, + OUT void *pBuff, + IN NDR_RUNDOWN userRunDownIn) +{ + FIXME("stub\n"); +} + +/*********************************************************************** + * NDRSContextUnmarshall + */ +NDR_SCONTEXT WINAPI NDRSContextUnmarshall(IN void *pBuff, + IN unsigned long DataRepresentation) +{ + FIXME("stub\n"); + return NULL; +} + +/*********************************************************************** + * NDRSContextMarshallEx + */ +void WINAPI NDRSContextMarshallEx(IN RPC_BINDING_HANDLE BindingHandle, + IN NDR_SCONTEXT CContext, + OUT void *pBuff, + IN NDR_RUNDOWN userRunDownIn) +{ + FIXME("stub\n"); +} + +/*********************************************************************** + * NDRSContextUnmarshallEx + */ +NDR_SCONTEXT WINAPI NDRSContextUnmarshallEx(IN RPC_BINDING_HANDLE BindingHandle, + IN void *pBuff, + IN unsigned long DataRepresentation) +{ + FIXME("stub\n"); + return NULL; +}
Modified: trunk/reactos/dll/win32/rpcrt4/rpcrt4.spec URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpcrt4.spec... ============================================================================== --- trunk/reactos/dll/win32/rpcrt4/rpcrt4.spec (original) +++ trunk/reactos/dll/win32/rpcrt4/rpcrt4.spec Thu Apr 13 19:23:34 2006 @@ -140,12 +140,12 @@ @ stdcall NDRCContextBinding(ptr) @ stdcall NDRCContextMarshall(ptr ptr) @ stdcall NDRCContextUnmarshall(ptr ptr ptr long) -@ stub NDRSContextMarshall2 -@ stub NDRSContextMarshall -@ stub NDRSContextMarshallEx -@ stub NDRSContextUnmarshall2 -@ stub NDRSContextUnmarshall -@ stub NDRSContextUnmarshallEx +@ stdcall NDRSContextMarshall2(ptr ptr ptr ptr ptr long) +@ stdcall NDRSContextMarshall(ptr ptr ptr) +@ stdcall NDRSContextMarshallEx(ptr ptr ptr ptr) +@ stdcall NDRSContextUnmarshall2(ptr ptr ptr ptr long) +@ stdcall NDRSContextUnmarshall(ptr long) +@ stdcall NDRSContextUnmarshallEx(ptr ptr long) @ stub NDRcopy @ stdcall NdrAllocate(ptr long) @ stub NdrAsyncClientCall