UuidHash

Huw D M Davies h.davies1 at physics.ox.ac.uk
Sat Sep 1 07:41:42 CDT 2001


	Huw D M Davies <hdavies at codeweavers.com>
	Stub implementation for UuidHash()
-------------- next part --------------
Index: dlls/rpcrt4/rpcrt4_main.c
===================================================================
RCS file: /home/wine/wine/dlls/rpcrt4/rpcrt4_main.c,v
retrieving revision 1.16
diff -u -r1.16 rpcrt4_main.c
--- dlls/rpcrt4/rpcrt4_main.c	2001/07/12 22:22:23	1.16
+++ dlls/rpcrt4/rpcrt4_main.c	2001/09/01 11:33:10
@@ -280,6 +280,20 @@
   return RPC_S_OK;
 }
 
+
+/*************************************************************************
+ *           UuidHash   [RPCRT4.@]
+ *
+ * Generates a hash value for a given UUID
+ *
+ */
+unsigned short WINAPI UuidHash(UUID *uuid, RPC_STATUS *Status)
+{
+  FIXME("stub:\n");
+  *Status = RPC_S_OK;
+  return 0xabcd;
+}
+
 /*************************************************************************
  *           UuidToStringA   [RPCRT4.@]
  *
Index: dlls/rpcrt4/rpcrt4.spec
===================================================================
RCS file: /home/wine/wine/dlls/rpcrt4/rpcrt4.spec,v
retrieving revision 1.7
diff -u -r1.7 rpcrt4.spec
--- dlls/rpcrt4/rpcrt4.spec	2001/07/11 20:19:06	1.7
+++ dlls/rpcrt4/rpcrt4.spec	2001/09/01 11:33:10
@@ -24,6 +24,7 @@
 @ stdcall RpcStringBindingComposeW(wstr wstr wstr wstr wstr ptr) RpcStringBindingComposeW
 @ stdcall RpcStringFreeA(ptr) RpcStringFreeA
 @ stdcall UuidCreate(ptr) UuidCreate
+@ stdcall UuidHash(ptr ptr) UuidHash
 @ stdcall UuidToStringA(ptr ptr) UuidToStringA
 
 @ stub CStdStubBuffer_QueryInterface
Index: include/rpcdce.h
===================================================================
RCS file: /home/wine/wine/include/rpcdce.h,v
retrieving revision 1.2
diff -u -r1.2 rpcdce.h
--- include/rpcdce.h	2001/07/11 20:19:06	1.2
+++ include/rpcdce.h	2001/09/01 11:33:10
@@ -107,6 +107,9 @@
 
 #define RpcBindingFromStringBinding WINELIB_NAME_AW(RpcBindingFromStringBinding)
 
+RPCRTAPI unsigned short RPC_ENTRY
+  UuidHash(UUID *, RPC_STATUS*);
+
 #include "rpcdcep.h"
 
 #endif /*__WINE_RPCDCE_H */


More information about the wine-patches mailing list