Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
882fc038
Commit
882fc038
authored
Jan 31, 2003
by
Ove Kaaven
Committed by
Alexandre Julliard
Jan 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some RPC definitions.
parent
68481e8e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
15 deletions
+67
-15
rpcdce.h
include/rpcdce.h
+3
-0
rpcndr.h
include/rpcndr.h
+26
-1
rpcfc.h
include/wine/rpcfc.h
+38
-14
No files found.
include/rpcdce.h
View file @
882fc038
...
...
@@ -116,6 +116,9 @@ typedef struct _RPC_POLICY
#define RPC_IF_ALLOW_UNKNOWN_AUTHORITY 0x4
#define RPC_IF_ALLOW_SECURE_ONLY 0x8
RPCRTAPI
void
RPC_ENTRY
RpcRaiseException
(
RPC_STATUS
exception
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcBindingCopy
(
RPC_BINDING_HANDLE
SourceBinding
,
RPC_BINDING_HANDLE
*
DestinationBinding
);
...
...
include/rpcndr.h
View file @
882fc038
...
...
@@ -95,6 +95,14 @@ typedef unsigned char _wine_boolean;
#define __RPC_CALLEE WINAPI
#define RPC_VAR_ENTRY WINAPIV
#define MIDL_ascii_strlen(s) strlen(s)
#define MIDL_ascii_strcpy(d,s) strcpy(d,s)
#define MIDL_memset(d,v,n) memset(d,v,n)
#define NdrFcShort(s) (unsigned char)(s & 0xff), (unsigned char)(s >> 8)
#define NdrFcLong(s) (unsigned char)(s & 0xff), (unsigned char)((s & 0x0000ff00) >> 8), \
(unsigned char)((s & 0x00ff0000) >> 16), (unsigned char)(s >> 24)
typedef
struct
{
void
*
pad
[
2
];
...
...
@@ -198,7 +206,18 @@ typedef struct __GENERIC_BINDING_INFO GENERIC_BINDING_INFO, *PGENERIC_BINDING_IN
typedef
struct
_XMIT_ROUTINE_QUINTUPLE
XMIT_ROUTINE_QUINTUPLE
,
*
PXMIT_ROUTINE_QUINTUPLE
;
typedef
struct
_USER_MARSHAL_ROUTINE_QUADRUPLE
USER_MARSHAL_ROUTINE_QUADRUPLE
;
typedef
unsigned
long
(
__RPC_USER
*
USER_MARSHAL_SIZING_ROUTINE
)(
unsigned
long
*
,
unsigned
long
,
void
*
);
typedef
unsigned
char
*
(
__RPC_USER
*
USER_MARSHAL_MARSHALLING_ROUTINE
)(
unsigned
long
*
,
unsigned
char
*
,
void
*
);
typedef
unsigned
char
*
(
__RPC_USER
*
USER_MARSHAL_UNMARSHALLING_ROUTINE
)(
unsigned
long
*
,
unsigned
char
*
,
void
*
);
typedef
void
(
__RPC_USER
*
USER_MARSHAL_FREEING_ROUTINE
)(
unsigned
long
*
,
void
*
);
typedef
struct
_USER_MARSHAL_ROUTINE_QUADRUPLE
{
USER_MARSHAL_SIZING_ROUTINE
pfnBufferSize
;
USER_MARSHAL_MARSHALLING_ROUTINE
pfnMarshall
;
USER_MARSHAL_UNMARSHALLING_ROUTINE
pfnUnmarshall
;
USER_MARSHAL_FREEING_ROUTINE
pfnFree
;
}
USER_MARSHAL_ROUTINE_QUADRUPLE
;
typedef
struct
_MALLOC_FREE_STRUCT
MALLOC_FREE_STRUCT
;
...
...
@@ -357,6 +376,12 @@ RPCRTAPI long RPC_ENTRY
NdrStubCall
(
struct
IRpcStubBuffer
*
pThis
,
struct
IRpcChannelBuffer
*
pChannel
,
PRPC_MESSAGE
pRpcMsg
,
LPDWORD
pdwStubPhase
);
RPCRTAPI
void
*
RPC_ENTRY
NdrAllocate
(
PMIDL_STUB_MESSAGE
pStubMsg
,
size_t
Len
);
RPCRTAPI
void
RPC_ENTRY
NdrClearOutParameters
(
PMIDL_STUB_MESSAGE
pStubMsg
,
PFORMAT_STRING
pFormat
,
void
*
ArgAddr
);
RPCRTAPI
void
*
RPC_ENTRY
NdrOleAllocate
(
size_t
Size
);
RPCRTAPI
void
RPC_ENTRY
NdrOleFree
(
void
*
NodeToFree
);
...
...
include/wine/rpcfc.h
View file @
882fc038
/*
* RPC format chars, as found by studying MIDL output.
* Some, but not all, usage of these are explained on MSDN.
*/
#ifndef __WINE_RPCFC_H
...
...
@@ -35,20 +36,24 @@
#define RPC_FC_P_SIMPLEPOINTER 0x08
/* [simple_pointer] */
#define RPC_FC_P_DEREF 0x10
#define RPC_FC_STRUCT 0x15
/* FC_STRUCT:
fieldcount
-1, NdrFcShort(size), fields */
#define RPC_FC_STRUCT 0x15
/* simple structure */
/* FC_STRUCT:
align
-1, NdrFcShort(size), fields */
#define RPC_FC_PSTRUCT 0x16
#define RPC_FC_CSTRUCT 0x17
#define RPC_FC_PSTRUCT 0x16
/* simple structure w/ pointers */
/* FC_PTRUCT: align-1, NdrFcShort(size), ptrs, fields */
#define RPC_FC_
BOGUS_STRUCT 0x1a
#define RPC_FC_
CSTRUCT 0x17
/* conformant structure */
#define RPC_FC_CARRAY 0x1b
/* conformant array? */
#define RPC_FC_CVARRAY 0x1c
/* conformant varying array? */
#define RPC_FC_SMFARRAY 0x1d
/* simple fixed array? */
/* FC_SMFARRAY: fieldcount-1, NdrFcShort(count), type */
#define RPC_FC_BOGUS_STRUCT 0x1a
/* complex structure */
#define RPC_FC_BOGUS_ARRAY 0x21
#define RPC_FC_CARRAY 0x1b
/* conformant array */
/* FC_CARRAY: align-1, NdrFcShort(size), conformance, ptrs, fields */
#define RPC_FC_CVARRAY 0x1c
/* conformant varying array */
/* FC_CARRAY: align-1, NdrFcShort(size), conformance, variance, ptrs, fields */
#define RPC_FC_SMFARRAY 0x1d
/* small (<64K) fixed array */
/* FC_SMFARRAY: align-1, NdrFcShort(size), ptrs, fields */
#define RPC_FC_BOGUS_ARRAY 0x21
/* complex array */
#define RPC_FC_C_CSTRING 0x22
#define RPC_FC_C_WSTRING 0x25
...
...
@@ -58,7 +63,7 @@
#define RPC_FC_IP 0x2f
/* interface pointer */
/* FC_IP: FC_CONSTANT_IID iid */
/* FC_IP: FC_PAD correlation
_descriptor?
*/
/* FC_IP: FC_PAD correlation */
#define RPC_FC_BIND_CONTEXT 0x30
...
...
@@ -104,14 +109,18 @@
#define RPC_FC_STRUCTPAD2 0x3e
#define RPC_FC_NO_REPEAT 0x46
#define RPC_FC_FIXED_REPEAT 0x47
#define RPC_FC_VARIABLE_REPEAT 0x48
#define RPC_FC_FIXED_OFFSET 0x49
#define RPC_FC_VARIABLE_OFFSET 0x4a
#define RPC_FC_PP 0x4b
#define RPC_FC_PP 0x4b
/* pointer layout */
/* FC_PP: FC_PAD layouts */
/* layouts: FC_NO_REPEAT FC_PAD instance */
/* instance: NdrFcShort(memofs), NdrFcShort(bufofs), desc */
#define RPC_FC_EMBEDDED_COMPLEX 0x4c
/* FC_EMBEDDED_COMPLEX:
fieldcount-1
, NdrFcShort(typeofs) */
/* FC_EMBEDDED_COMPLEX:
padding
, NdrFcShort(typeofs) */
#define RPC_FC_IN_PARAM 0x4d
/* FC_IN_PARAM: stacksiz, NdrFcShort(typeofs) */
...
...
@@ -129,6 +138,8 @@
#define RPC_FC_DEREFERENCE 0x54
#define RPC_FC_CALLBACK 0x59
#define RPC_FC_CONSTANT_IID 0x5a
/* FC_CONSTANT_IID: NdrFcLong(), NdrFcShort(), NdrFcShort(), 8x () */
...
...
@@ -140,4 +151,17 @@
#define RPC_FC_INT3264 0xb8
#define RPC_FC_UINT3264 0xb9
/* correlation types */
#define RPC_FC_NORMAL_CONFORMANCE 0x00
#define RPC_FC_POINTER_CONFORMANCE 0x10
#define RPC_FC_TOP_LEVEL_CONFORMANCE 0x20
#define RPC_FC_CONSTANT_CONFORMANCE 0x40
#define RPC_FC_TOP_LEVEL_MULTID_CONFORMANCE 0x80
/* user marshal flags */
#define USER_MARSHAL_UNIQUE 0x80
#define USER_MARSHAL_REF 0x40
#define USER_MARSHAL_POINTER 0xc0
#define USER_MARSHAL_IID 0x20
#endif
/* __WINE_RPCFC_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment