rpcrt4: Add an rpcasync.h header stub and fix the RpcErrorStartEnumeration() prototype.

oldstable
Francois Gouget 2007-11-13 20:51:05 +01:00 committed by Alexandre Julliard
parent 26a14d8bd3
commit 76d266cbb0
4 changed files with 45 additions and 1 deletions

View File

@ -871,7 +871,7 @@ LONG WINAPI I_RpcMapWin32Status(RPC_STATUS status)
/******************************************************************************
* RpcErrorStartEnumeration (rpcrt4.@)
*/
RPC_STATUS RPC_ENTRY RpcErrorStartEnumeration(void** EnumHandle)
RPC_STATUS RPC_ENTRY RpcErrorStartEnumeration(RPC_ERROR_ENUM_HANDLE* EnumHandle)
{
FIXME("(%p): stub\n", EnumHandle);
return RPC_S_ENTRY_NOT_FOUND;

View File

@ -334,6 +334,7 @@ SRCDIR_INCLUDES = \
richedit.h \
rmxfguid.h \
rpc.h \
rpcasync.h \
rpcdce.h \
rpcdcep.h \
rpcndr.h \

View File

@ -60,6 +60,9 @@ typedef void* I_RPC_HANDLE;
#include <rpcnterr.h>
#include <excpt.h>
#include <winerror.h>
#ifndef RPC_NO_WINDOWS_H
#include <rpcasync.h>
#endif
/* ignore exception handling for now */
#define RpcTryExcept if (1) {

40
include/rpcasync.h 100644
View File

@ -0,0 +1,40 @@
/*
* Copyright (C) 2007 Francois Gouget
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_RPCASYNC_H
#define __WINE_RPCASYNC_H
typedef struct tagRPC_ERROR_ENUM_HANDLE
{
ULONG Signature;
void* CurrentPos;
void* Head;
} RPC_ERROR_ENUM_HANDLE;
#ifdef __cplusplus
extern "C" {
#endif
RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorStartEnumeration(RPC_ERROR_ENUM_HANDLE*);
#ifdef __cplusplus
}
#endif
#endif