rpcdce.h fixes

Ove Kaaven ovehk at ping.uio.no
Fri Dec 20 03:55:49 CST 2002


On Fri, 20 Dec 2002, Dimitrie O. Paun wrote:

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

It does, but it was more difficult to get things (rpcrt4 in particular) to
compile without warnings (or huge piles of typecasts) this way, so I
decided to just use LPSTR/LPWSTR instead in the rpc headers. Didn't think
it would cause problems.

>  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)                                                                                                                 




More information about the wine-devel mailing list