From 7cf104aa52e398a90866cfaf14a8bc7b9507760a Mon Sep 17 00:00:00 2001 From: Ge van Geldorp Date: Fri, 14 Jan 2005 15:11:40 +0000 Subject: [PATCH] Fix prototypes according to PSDK. --- dlls/rpcrt4/rpcrt4_main.c | 4 ++-- include/rpcdce.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/rpcrt4/rpcrt4_main.c b/dlls/rpcrt4/rpcrt4_main.c index 6ceeaa2e239..7130d721327 100644 --- a/dlls/rpcrt4/rpcrt4_main.c +++ b/dlls/rpcrt4/rpcrt4_main.c @@ -763,7 +763,7 @@ BOOL RPCRT4_RPCSSOnDemandCall(PRPCSS_NP_MESSAGE msg, char *vardata_payload, PRPC #define MAX_RPC_ERROR_TEXT 256 -RPC_STATUS RPC_ENTRY DceErrorInqTextW (unsigned long e, unsigned short *buffer) +RPC_STATUS RPC_ENTRY DceErrorInqTextW (RPC_STATUS e, unsigned short *buffer) { DWORD count; count = FormatMessageW (FORMAT_MESSAGE_FROM_SYSTEM | @@ -783,7 +783,7 @@ RPC_STATUS RPC_ENTRY DceErrorInqTextW (unsigned long e, unsigned short *buffer) return RPC_S_OK; } -RPC_STATUS RPC_ENTRY DceErrorInqTextA (unsigned long e, unsigned char *buffer) +RPC_STATUS RPC_ENTRY DceErrorInqTextA (RPC_STATUS e, unsigned char *buffer) { RPC_STATUS status; WCHAR bufferW [MAX_RPC_ERROR_TEXT]; diff --git a/include/rpcdce.h b/include/rpcdce.h index 9e9fe018a0b..41d1feba06c 100644 --- a/include/rpcdce.h +++ b/include/rpcdce.h @@ -109,8 +109,8 @@ typedef struct _RPC_POLICY #define RPC_IF_ALLOW_UNKNOWN_AUTHORITY 0x4 #define RPC_IF_ALLOW_SECURE_ONLY 0x8 -RPC_STATUS RPC_ENTRY DceErrorInqTextA(unsigned long e, unsigned char *buffer); -RPC_STATUS RPC_ENTRY DceErrorInqTextW(unsigned long e, unsigned short *buffer); +RPC_STATUS RPC_ENTRY DceErrorInqTextA(RPC_STATUS e, unsigned char *buffer); +RPC_STATUS RPC_ENTRY DceErrorInqTextW(RPC_STATUS e, unsigned short *buffer); #define DceErrorInqText WINELIB_NAME_AW(DceErrorInqText) RPCRTAPI void RPC_ENTRY