Commit 552fddc1 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Moved things to the proper rpcxxx.h header.

Added some type definitions used by the MFC.
parent f5cea729
......@@ -8,6 +8,7 @@ INSTALLED_INCLUDES = \
basetsd.h \
cderr.h \
cguid.h \
comcat.h \
commctrl.h \
commdlg.h \
compobj.h \
......@@ -60,6 +61,9 @@ INSTALLED_INCLUDES = \
regstr.h \
richedit.h \
rpc.h \
rpcdce.h \
rpcdcep.h \
rpcndr.h \
servprov.h \
setupapi.h \
shellapi.h \
......
#ifndef __WINE_COMCAT_H
#define __WINE_COMCAT_H
#include "rpc.h"
#include "rpcndr.h"
typedef GUID CATID;
typedef REFGUID REFCATID;
#endif /*__WINE_COMCAT_H */
......@@ -5,17 +5,14 @@
#ifndef __WINE_RPC_H
#define __WINE_RPC_H
#include "windef.h"
#define RPC_ENTRY WINAPI
#define __RPC_FAR
#define __RPC_API WINAPI
#define __RPC_USER WINAPI
#define __RPC_STUB WINAPI
#define RPC_ENTRY WINAPI
typedef long RPC_STATUS;
/* FIXME: this line should be in rpcndr.h */
typedef unsigned char byte;
/* FIXME: and the following group should be in rpcdce.h */
typedef void* RPC_AUTH_IDENTITY_HANDLE;
typedef void* RPC_AUTHZ_HANDLE;
typedef void* I_RPC_HANDLE;
#ifndef GUID_DEFINED
#define GUID_DEFINED
......@@ -35,4 +32,6 @@ typedef GUID UUID;
RPC_STATUS RPC_ENTRY UuidCreate(UUID *Uuid);
#include "rpcdce.h"
#endif /*__WINE_RPC_H */
#ifndef __WINE_RPCDCE_H
#define __WINE_RPCDCE_H
#include "windef.h"
typedef void* RPC_AUTH_IDENTITY_HANDLE;
typedef void* RPC_AUTHZ_HANDLE;
typedef void* RPC_IF_HANDLE;
typedef I_RPC_HANDLE RPC_BINDING_HANDLE;
typedef RPC_BINDING_HANDLE handle_t;
#define rpc_binding_handle_t RPC_BINDING_HANDLE
#define RPC_MGR_EPV void
#include "rpcdcep.h"
#endif /*__WINE_RPCDCE_H */
#ifndef __WINE_RPCDCEP_H
#define __WINE_RPCDCEP_H
typedef struct _RPC_VERSION {
unsigned short MajorVersion;
unsigned short MinorVersion;
} RPC_VERSION;
typedef struct _RPC_SYNTAX_IDENTIFIER {
GUID SyntaxGUID;
RPC_VERSION SyntaxVersion;
} RPC_SYNTAX_IDENTIFIER, *PRPC_SYNTAX_IDENTIFIER;
typedef struct _RPC_MESSAGE
{
RPC_BINDING_HANDLE Handle;
unsigned long DataRepresentation;
void* Buffer;
unsigned int BufferLength;
unsigned int ProcNum;
PRPC_SYNTAX_IDENTIFIER TransferSyntax;
void* RpcInterfaceInformation;
void* ReservedForRuntime;
RPC_MGR_EPV* ManagerEpv;
void* ImportContext;
unsigned long RpcFlags;
} RPC_MESSAGE, *PRPC_MESSAGE;
#endif /*__WINE_RPCDCE_H */
#ifndef __WINE_RPCNDR_H
#define __WINE_RPCNDR_H
#ifndef __RPCNDR_H_VERSION__
/* FIXME: I'm not sure what version though */
#define __RPCNDR_H_VERSION__
#endif // __RPCNDR_H_VERSION__
typedef unsigned char byte;
#define DECLSPEC_UUID(x)
#define MIDL_INTERFACE(x) struct
#endif /*__WINE_RPCNDR_H */
......@@ -8,6 +8,7 @@
#include "basetsd.h"
#include "guiddef.h"
#include "rpc.h"
#include "rpcndr.h"
typedef WORD CLIPFORMAT, *LPCLIPFORMAT;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment