rpcdce.h fixes

Dimitrie O. Paun dpaun at rogers.com
Fri Dec 20 01:14:19 CST 2002


MinGW has them defined this way, and wxWindows likes them like this.
Can someone please check that this matches the Windows headers?

ChangeLog
  Fix definitions for Uuid{To,From}String, RpcStringFree.

Index: include/rpcdce.h
===================================================================
RCS file: /var/cvs/wine/include/rpcdce.h,v
retrieving revision 1.15
diff -u -r1.15 rpcdce.h
--- include/rpcdce.h	18 Dec 2002 02:21:38 -0000	1.15
+++ include/rpcdce.h	20 Dec 2002 07:09:26 -0000
@@ -250,21 +250,21 @@
 #define RpcStringBindingCompose WINELIB_NAME_AW(RpcStringBindingCompose)
 
 RPCRTAPI RPC_STATUS RPC_ENTRY
-  RpcStringFreeA(LPSTR* String);
+  RpcStringFreeA(unsigned char** String);
 RPCRTAPI RPC_STATUS RPC_ENTRY
-  RpcStringFreeW(LPWSTR* String);
+  RpcStringFreeW(unsigned short** String);
 #define RpcStringFree WINELIB_NAME_AW(RpcStringFree)
 
 RPCRTAPI RPC_STATUS RPC_ENTRY
-  UuidToStringA( UUID* Uuid, LPSTR* StringUuid );
+  UuidToStringA( UUID* Uuid, unsigned char** StringUuid );
 RPCRTAPI RPC_STATUS RPC_ENTRY
-  UuidToStringW( UUID* Uuid, LPWSTR* StringUuid );
+  UuidToStringW( UUID* Uuid, unsigned short** StringUuid );
 #define UuidToString WINELIB_NAME_AW(UuidToString)
 
 RPCRTAPI RPC_STATUS RPC_ENTRY
-  UuidFromStringA( LPSTR StringUuid, UUID* Uuid );
+  UuidFromStringA( unsigned char* StringUuid, UUID* Uuid );
 RPCRTAPI RPC_STATUS RPC_ENTRY
-  UuidFromStringW( LPWSTR StringUuid, UUID* Uuid );
+  UuidFromStringW( unsigned short* StringUuid, UUID* Uuid );
 #define UuidFromString WINELIB_NAME_AW(UuidFromString)
 
 RPCRTAPI RPC_STATUS RPC_ENTRY



-- 
Dimi.




More information about the wine-patches mailing list