mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Sync to Wine-20041019:
Mike McCormack <mike@codeweavers.com> - Add stub implementation for CreateProxyFromTypeInfo. Francois Gouget <fgouget@free.fr> - Don't define COBJMACROS in objbase.h. - Update the Wine sources accordingly. Vincent Beron <vberon@mecano.gme.usherb.ca> - Fix various function prototypes. Hans Leidekker <hans@it.vu.nl> - Fix signed/unsigned comparison warnings. svn path=/trunk/; revision=11346
This commit is contained in:
parent
65e1445718
commit
dc9f9834d9
8 changed files with 23 additions and 5 deletions
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
#define COBJMACROS
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
|
@ -330,3 +332,11 @@ ULONG WINAPI IUnknown_Release_Proxy(LPUNKNOWN iface)
|
||||||
return IUnknown_Release(This->pUnkOuter);
|
return IUnknown_Release(This->pUnkOuter);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HRESULT WINAPI
|
||||||
|
CreateProxyFromTypeInfo( LPTYPEINFO pTypeInfo, LPUNKNOWN pUnkOuter, REFIID riid,
|
||||||
|
LPRPCPROXYBUFFER *ppProxy, LPVOID *ppv )
|
||||||
|
{
|
||||||
|
FIXME("%p %p %s %p %p\n", pTypeInfo, pUnkOuter, debugstr_guid(riid), ppProxy, ppv);
|
||||||
|
return E_NOTIMPL;
|
||||||
|
}
|
||||||
|
|
|
@ -22,6 +22,8 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#define COBJMACROS
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
|
|
|
@ -20,6 +20,8 @@
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
#define COBJMACROS
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
#define COBJMACROS
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
|
|
|
@ -28,8 +28,10 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#define COBJMACROS
|
||||||
#define NONAMELESSUNION
|
#define NONAMELESSUNION
|
||||||
#define NONAMELESSSTRUCT
|
#define NONAMELESSSTRUCT
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
|
|
|
@ -767,7 +767,7 @@ RPC_STATUS WINAPI RpcServerRegisterIf2( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid,
|
||||||
{
|
{
|
||||||
PRPC_SERVER_INTERFACE If = (PRPC_SERVER_INTERFACE)IfSpec;
|
PRPC_SERVER_INTERFACE If = (PRPC_SERVER_INTERFACE)IfSpec;
|
||||||
RpcServerInterface* sif;
|
RpcServerInterface* sif;
|
||||||
int i;
|
unsigned int i;
|
||||||
|
|
||||||
TRACE("(%p,%s,%p,%u,%u,%u,%p)\n", IfSpec, debugstr_guid(MgrTypeUuid), MgrEpv, Flags, MaxCalls,
|
TRACE("(%p,%s,%p,%u,%u,%u,%p)\n", IfSpec, debugstr_guid(MgrTypeUuid), MgrEpv, Flags, MaxCalls,
|
||||||
MaxRpcSize, IfCallbackFn);
|
MaxRpcSize, IfCallbackFn);
|
||||||
|
@ -905,7 +905,7 @@ RPC_STATUS WINAPI RpcObjectSetType( UUID* ObjUuid, UUID* TypeUuid )
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* RpcServerRegisterAuthInfoA (RPCRT4.@)
|
* RpcServerRegisterAuthInfoA (RPCRT4.@)
|
||||||
*/
|
*/
|
||||||
RPC_STATUS WINAPI RpcServerRegisterAuthInfoA( unsigned char *ServerPrincName, ULONG AuthnSvc, RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn,
|
RPC_STATUS WINAPI RpcServerRegisterAuthInfoA( unsigned char *ServerPrincName, unsigned long AuthnSvc, RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn,
|
||||||
LPVOID Arg )
|
LPVOID Arg )
|
||||||
{
|
{
|
||||||
FIXME( "(%s,%lu,%p,%p): stub\n", ServerPrincName, AuthnSvc, GetKeyFn, Arg );
|
FIXME( "(%s,%lu,%p,%p): stub\n", ServerPrincName, AuthnSvc, GetKeyFn, Arg );
|
||||||
|
@ -916,7 +916,7 @@ RPC_STATUS WINAPI RpcServerRegisterAuthInfoA( unsigned char *ServerPrincName, UL
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* RpcServerRegisterAuthInfoW (RPCRT4.@)
|
* RpcServerRegisterAuthInfoW (RPCRT4.@)
|
||||||
*/
|
*/
|
||||||
RPC_STATUS WINAPI RpcServerRegisterAuthInfoW( LPWSTR ServerPrincName, ULONG AuthnSvc, RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn,
|
RPC_STATUS WINAPI RpcServerRegisterAuthInfoW( LPWSTR ServerPrincName, unsigned long AuthnSvc, RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn,
|
||||||
LPVOID Arg )
|
LPVOID Arg )
|
||||||
{
|
{
|
||||||
FIXME( "(%s,%lu,%p,%p): stub\n", debugstr_w( ServerPrincName ), AuthnSvc, GetKeyFn, Arg );
|
FIXME( "(%s,%lu,%p,%p): stub\n", debugstr_w( ServerPrincName ), AuthnSvc, GetKeyFn, Arg );
|
||||||
|
|
|
@ -573,7 +573,7 @@
|
||||||
@ stub I_RpcltDebugSetPDUFilter
|
@ stub I_RpcltDebugSetPDUFilter
|
||||||
@ stub I_UuidCreate
|
@ stub I_UuidCreate
|
||||||
|
|
||||||
@ stub CreateProxyFromTypeInfo
|
@ stdcall CreateProxyFromTypeInfo(ptr ptr ptr ptr ptr)
|
||||||
@ stub CreateStubFromTypeInfo
|
@ stub CreateStubFromTypeInfo
|
||||||
@ stub PerformRpcInitialization
|
@ stub PerformRpcInitialization
|
||||||
@ stub StartServiceIfNecessary # win9x
|
@ stub StartServiceIfNecessary # win9x
|
||||||
|
|
|
@ -475,7 +475,7 @@ unsigned short WINAPI UuidHash(UUID *uuid, RPC_STATUS *Status)
|
||||||
{
|
{
|
||||||
BYTE *data = (BYTE*)uuid;
|
BYTE *data = (BYTE*)uuid;
|
||||||
short c0 = 0, c1 = 0, x, y;
|
short c0 = 0, c1 = 0, x, y;
|
||||||
int i;
|
unsigned int i;
|
||||||
|
|
||||||
if (!uuid) data = (BYTE*)(uuid = &uuid_nil);
|
if (!uuid) data = (BYTE*)(uuid = &uuid_nil);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue