Module: wine Branch: master Commit: 028f3be092669bafc3aa050e8c0709bb4e9976af URL: http://source.winehq.org/git/wine.git/?a=commit;h=028f3be092669bafc3aa050e8c...
Author: Jacek Caban jacek@codeweavers.com Date: Mon Aug 13 13:32:49 2012 +0200
rpcrt4: Added RpcError* stubs.
---
dlls/rpcrt4/rpcrt4.spec | 10 +++++----- dlls/rpcrt4/rpcrt4_main.c | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 5 deletions(-)
diff --git a/dlls/rpcrt4/rpcrt4.spec b/dlls/rpcrt4/rpcrt4.spec index 4b5b553..33c1af5 100644 --- a/dlls/rpcrt4/rpcrt4.spec +++ b/dlls/rpcrt4/rpcrt4.spec @@ -53,7 +53,7 @@ @ stub I_RpcIfInqTransferSyntaxes @ stub I_RpcLogEvent @ stdcall I_RpcMapWin32Status(long) -@ stub I_RpcNegotiateTransferSyntax # wxp +@ stdcall I_RpcNegotiateTransferSyntax(ptr) @ stub I_RpcNsBindingSetEntryName @ stub I_RpcNsBindingSetEntryNameA @ stub I_RpcNsBindingSetEntryNameW @@ -376,12 +376,12 @@ @ stdcall RpcEpUnregister(ptr ptr ptr) @ stub RpcErrorAddRecord # wxp @ stub RpcErrorClearInformation # wxp -@ stub RpcErrorEndEnumeration # wxp -@ stub RpcErrorGetNextRecord # wxp -@ stub RpcErrorLoadErrorInfo # wxp +@ stdcall RpcErrorEndEnumeration(ptr) +@ stdcall RpcErrorGetNextRecord(ptr long ptr) +@ stdcall RpcErrorLoadErrorInfo(ptr long ptr) @ stub RpcErrorNumberOfRecords # wxp @ stub RpcErrorResetEnumeration # wxp -@ stub RpcErrorSaveErrorInfo # wxp +@ stdcall RpcErrorSaveErrorInfo(ptr ptr ptr) @ stdcall RpcErrorStartEnumeration(ptr) @ stub RpcFreeAuthorizationContext # wxp @ stdcall RpcGetAsyncCallStatus(ptr) RpcAsyncGetCallStatus diff --git a/dlls/rpcrt4/rpcrt4_main.c b/dlls/rpcrt4/rpcrt4_main.c index cb6ff30..21c1c13 100644 --- a/dlls/rpcrt4/rpcrt4_main.c +++ b/dlls/rpcrt4/rpcrt4_main.c @@ -875,6 +875,42 @@ RPC_STATUS RPC_ENTRY RpcErrorStartEnumeration(RPC_ERROR_ENUM_HANDLE* EnumHandle) }
/****************************************************************************** + * RpcErrorEndEnumeration (rpcrt4.@) + */ +RPC_STATUS RPC_ENTRY RpcErrorEndEnumeration(RPC_ERROR_ENUM_HANDLE* EnumHandle) +{ + FIXME("(%p): stub\n", EnumHandle); + return RPC_S_OK; +} + +/****************************************************************************** + * RpcErrorSaveErrorInfo (rpcrt4.@) + */ +RPC_STATUS RPC_ENTRY RpcErrorSaveErrorInfo(RPC_ERROR_ENUM_HANDLE *EnumHandle, void **ErrorBlob, SIZE_T *BlobSize) +{ + FIXME("(%p %p %p): stub\n", EnumHandle, ErrorBlob, BlobSize); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +/****************************************************************************** + * RpcErrorLoadErrorInfo (rpcrt4.@) + */ +RPC_STATUS RPC_ENTRY RpcErrorLoadErrorInfo(void *ErrorBlob, SIZE_T BlobSize, RPC_ERROR_ENUM_HANDLE *EnumHandle) +{ + FIXME("(%p %lu %p): stub\n", ErrorBlob, BlobSize, EnumHandle); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +/****************************************************************************** + * RpcErrorGetNextRecord (rpcrt4.@) + */ +RPC_STATUS RPC_ENTRY RpcErrorGetNextRecord(RPC_ERROR_ENUM_HANDLE *EnumHandle, BOOL CopyStrings, RPC_EXTENDED_ERROR_INFO *ErrorInfo) +{ + FIXME("(%p %x %p): stub\n", EnumHandle, CopyStrings, ErrorInfo); + return RPC_S_ENTRY_NOT_FOUND; +} + +/****************************************************************************** * RpcMgmtSetCancelTimeout (rpcrt4.@) */ RPC_STATUS RPC_ENTRY RpcMgmtSetCancelTimeout(LONG Timeout)