mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Sync to Wine-20041019:
Mike McCormack <[email protected]> - Add stub implementation for CreateProxyFromTypeInfo. Francois Gouget <[email protected]> - Don't define COBJMACROS in objbase.h. - Update the Wine sources accordingly. Vincent Beron <[email protected]> - Fix various function prototypes. Hans Leidekker <[email protected]> - Fix signed/unsigned comparison warnings. svn path=/trunk/; revision=11346
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#define COBJMACROS
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winerror.h"
|
||||
@@ -330,3 +332,11 @@ ULONG WINAPI IUnknown_Release_Proxy(LPUNKNOWN iface)
|
||||
return IUnknown_Release(This->pUnkOuter);
|
||||
#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 <string.h>
|
||||
|
||||
#define COBJMACROS
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winerror.h"
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#define COBJMACROS
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winerror.h"
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#define COBJMACROS
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winerror.h"
|
||||
|
||||
@@ -28,8 +28,10 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#define COBJMACROS
|
||||
#define NONAMELESSUNION
|
||||
#define NONAMELESSSTRUCT
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.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;
|
||||
RpcServerInterface* sif;
|
||||
int i;
|
||||
unsigned int i;
|
||||
|
||||
TRACE("(%p,%s,%p,%u,%u,%u,%p)\n", IfSpec, debugstr_guid(MgrTypeUuid), MgrEpv, Flags, MaxCalls,
|
||||
MaxRpcSize, IfCallbackFn);
|
||||
@@ -905,7 +905,7 @@ RPC_STATUS WINAPI RpcObjectSetType( UUID* ObjUuid, UUID* TypeUuid )
|
||||
/***********************************************************************
|
||||
* 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 )
|
||||
{
|
||||
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.@)
|
||||
*/
|
||||
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 )
|
||||
{
|
||||
FIXME( "(%s,%lu,%p,%p): stub\n", debugstr_w( ServerPrincName ), AuthnSvc, GetKeyFn, Arg );
|
||||
|
||||
@@ -573,7 +573,7 @@
|
||||
@ stub I_RpcltDebugSetPDUFilter
|
||||
@ stub I_UuidCreate
|
||||
|
||||
@ stub CreateProxyFromTypeInfo
|
||||
@ stdcall CreateProxyFromTypeInfo(ptr ptr ptr ptr ptr)
|
||||
@ stub CreateStubFromTypeInfo
|
||||
@ stub PerformRpcInitialization
|
||||
@ stub StartServiceIfNecessary # win9x
|
||||
|
||||
@@ -475,7 +475,7 @@ unsigned short WINAPI UuidHash(UUID *uuid, RPC_STATUS *Status)
|
||||
{
|
||||
BYTE *data = (BYTE*)uuid;
|
||||
short c0 = 0, c1 = 0, x, y;
|
||||
int i;
|
||||
unsigned int i;
|
||||
|
||||
if (!uuid) data = (BYTE*)(uuid = &uuid_nil);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user