Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
26a14d8b
Commit
26a14d8b
authored
Dec 17, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Dec 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add more NDR types and function declarations to rpcndr.h.
parent
aec7e91d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
0 deletions
+71
-0
rpcndr.h
include/rpcndr.h
+71
-0
No files found.
include/rpcndr.h
View file @
26a14d8b
...
...
@@ -137,6 +137,8 @@ struct _FULL_PTR_XLAT_TABLES;
struct
NDR_ALLOC_ALL_NODES_CONTEXT
;
struct
NDR_POINTER_QUEUE_STATE
;
typedef
unsigned
char
*
RPC_BUFPTR
;
typedef
unsigned
long
RPC_LENGTH
;
typedef
void
(
__RPC_USER
*
EXPR_EVAL
)(
struct
_MIDL_STUB_MESSAGE
*
);
typedef
const
unsigned
char
*
PFORMAT_STRING
;
...
...
@@ -453,6 +455,25 @@ typedef struct _SCONTEXT_QUEUE {
NDR_SCONTEXT
*
ArrayOfObjects
;
}
SCONTEXT_QUEUE
,
*
PSCONTEXT_QUEUE
;
typedef
struct
_NDR_USER_MARSHAL_INFO_LEVEL1
{
void
*
Buffer
;
ULONG
BufferSize
;
void
*
(
__RPC_API
*
pfnAllocate
)(
size_t
);
void
(
__RPC_API
*
pfnFree
)(
void
*
);
struct
IRpcChannelBuffer
*
pRpcChannelBuffer
;
ULONG_PTR
Reserved
[
5
];
}
NDR_USER_MARSHAL_INFO_LEVEL1
;
typedef
struct
_NDR_USER_MARSHAL_INFO
{
ULONG
InformationLevel
;
union
{
NDR_USER_MARSHAL_INFO_LEVEL1
Level1
;
}
DUMMYUNIONNAME1
;
}
NDR_USER_MARSHAL_INFO
;
/* Context Handles */
RPCRTAPI
RPC_BINDING_HANDLE
RPC_ENTRY
...
...
@@ -564,10 +585,33 @@ SIMPLE_TYPE_MARSHAL(NonConformantString)
#undef SIMPLE_TYPE_MARSHAL
RPCRTAPI
void
RPC_ENTRY
NdrCorrelationInitialize
(
PMIDL_STUB_MESSAGE
pStubMsg
,
void
*
pMemory
,
ULONG
CacheSize
,
ULONG
flags
);
RPCRTAPI
void
RPC_ENTRY
NdrCorrelationPass
(
PMIDL_STUB_MESSAGE
pStubMsg
);
RPCRTAPI
void
RPC_ENTRY
NdrCorrelationFree
(
PMIDL_STUB_MESSAGE
pStubMsg
);
RPCRTAPI
void
RPC_ENTRY
NdrConvert2
(
PMIDL_STUB_MESSAGE
pStubMsg
,
PFORMAT_STRING
pFormat
,
LONG
NumberParams
);
RPCRTAPI
void
RPC_ENTRY
NdrConvert
(
PMIDL_STUB_MESSAGE
pStubMsg
,
PFORMAT_STRING
pFormat
);
#define USER_MARSHAL_FC_BYTE 1
#define USER_MARSHAL_FC_CHAR 2
#define USER_MARSHAL_FC_SMALL 3
#define USER_MARSHAL_FC_USMALL 4
#define USER_MARSHAL_FC_WCHAR 5
#define USER_MARSHAL_FC_SHORT 6
#define USER_MARSHAL_FC_USHORT 7
#define USER_MARSHAL_FC_LONG 8
#define USER_MARSHAL_FC_ULONG 9
#define USER_MARSHAL_FC_FLOAT 10
#define USER_MARSHAL_FC_HYPER 11
#define USER_MARSHAL_FC_DOUBLE 12
RPCRTAPI
unsigned
char
*
RPC_ENTRY
NdrUserMarshalSimpleTypeConvert
(
ULONG
*
pFlags
,
unsigned
char
*
pBuffer
,
unsigned
char
FormatChar
);
/* Note: this should return a CLIENT_CALL_RETURN, but calling convention for
* returning structures/unions is different between Windows and gcc on i386. */
LONG_PTR
RPC_VAR_ENTRY
...
...
@@ -576,11 +620,15 @@ LONG_PTR RPC_VAR_ENTRY
NdrClientCall
(
PMIDL_STUB_DESC
pStubDescriptor
,
PFORMAT_STRING
pFormat
,
...
);
LONG_PTR
RPC_VAR_ENTRY
NdrAsyncClientCall
(
PMIDL_STUB_DESC
pStubDescriptor
,
PFORMAT_STRING
pFormat
,
...
);
LONG_PTR
RPC_VAR_ENTRY
NdrDcomAsyncClientCall
(
PMIDL_STUB_DESC
pStubDescriptor
,
PFORMAT_STRING
pFormat
,
...
);
RPCRTAPI
void
RPC_ENTRY
NdrServerCall2
(
PRPC_MESSAGE
pRpcMsg
);
RPCRTAPI
void
RPC_ENTRY
NdrServerCall
(
PRPC_MESSAGE
pRpcMsg
);
RPCRTAPI
void
RPC_ENTRY
NdrAsyncServerCall
(
PRPC_MESSAGE
pRpcMsg
);
RPCRTAPI
LONG
RPC_ENTRY
NdrStubCall2
(
struct
IRpcStubBuffer
*
pThis
,
struct
IRpcChannelBuffer
*
pChannel
,
PRPC_MESSAGE
pRpcMsg
,
DWORD
*
pdwStubPhase
);
...
...
@@ -588,6 +636,8 @@ RPCRTAPI LONG RPC_ENTRY
NdrStubCall
(
struct
IRpcStubBuffer
*
pThis
,
struct
IRpcChannelBuffer
*
pChannel
,
PRPC_MESSAGE
pRpcMsg
,
DWORD
*
pdwStubPhase
);
RPCRTAPI
LONG
RPC_ENTRY
NdrAsyncStubCall
(
struct
IRpcStubBuffer
*
pThis
,
struct
IRpcChannelBuffer
*
pChannel
,
PRPC_MESSAGE
pRpcMsg
,
DWORD
*
pdwStubPhase
);
RPCRTAPI
LONG
RPC_ENTRY
NdrDcomAsyncStubCall
(
struct
IRpcStubBuffer
*
pThis
,
struct
IRpcChannelBuffer
*
pChannel
,
PRPC_MESSAGE
pRpcMsg
,
DWORD
*
pdwStubPhase
);
RPCRTAPI
void
*
RPC_ENTRY
NdrAllocate
(
PMIDL_STUB_MESSAGE
pStubMsg
,
size_t
Len
);
...
...
@@ -605,11 +655,26 @@ RPCRTAPI void RPC_ENTRY
NdrOleFree
(
void
*
NodeToFree
);
RPCRTAPI
void
RPC_ENTRY
NdrClientInitialize
(
PRPC_MESSAGE
pRpcMessage
,
PMIDL_STUB_MESSAGE
pStubMsg
,
PMIDL_STUB_DESC
pStubDesc
,
unsigned
int
ProcNum
);
RPCRTAPI
void
RPC_ENTRY
NdrClientInitializeNew
(
PRPC_MESSAGE
pRpcMessage
,
PMIDL_STUB_MESSAGE
pStubMsg
,
PMIDL_STUB_DESC
pStubDesc
,
unsigned
int
ProcNum
);
RPCRTAPI
unsigned
char
*
RPC_ENTRY
NdrServerInitialize
(
PRPC_MESSAGE
pRpcMsg
,
PMIDL_STUB_MESSAGE
pStubMsg
,
PMIDL_STUB_DESC
pStubDesc
);
RPCRTAPI
unsigned
char
*
RPC_ENTRY
NdrServerInitializeNew
(
PRPC_MESSAGE
pRpcMsg
,
PMIDL_STUB_MESSAGE
pStubMsg
,
PMIDL_STUB_DESC
pStubDesc
);
RPCRTAPI
unsigned
char
*
RPC_ENTRY
NdrServerInitializeUnmarshall
(
PMIDL_STUB_MESSAGE
pStubMsg
,
PMIDL_STUB_DESC
pStubDesc
,
PRPC_MESSAGE
pRpcMsg
);
RPCRTAPI
void
RPC_ENTRY
NdrServerInitializeMarshall
(
PRPC_MESSAGE
pRpcMsg
,
PMIDL_STUB_MESSAGE
pStubMsg
);
RPCRTAPI
void
RPC_ENTRY
NdrServerMarshall
(
struct
IRpcStubBuffer
*
pThis
,
struct
IRpcChannelBuffer
*
pChannel
,
PMIDL_STUB_MESSAGE
pStubMsg
,
PFORMAT_STRING
pFormat
);
RPCRTAPI
void
RPC_ENTRY
NdrServerUnmarshall
(
struct
IRpcChannelBuffer
*
pChannel
,
PRPC_MESSAGE
pRpcMsg
,
PMIDL_STUB_MESSAGE
pStubMsg
,
PMIDL_STUB_DESC
pStubDesc
,
PFORMAT_STRING
pFormat
,
void
*
pParamList
);
RPCRTAPI
unsigned
char
*
RPC_ENTRY
NdrGetBuffer
(
PMIDL_STUB_MESSAGE
stubmsg
,
ULONG
buflen
,
RPC_BINDING_HANDLE
handle
);
RPCRTAPI
void
RPC_ENTRY
NdrFreeBuffer
(
PMIDL_STUB_MESSAGE
pStubMsg
);
...
...
@@ -621,6 +686,9 @@ RPCRTAPI unsigned char * RPC_ENTRY
RPCRTAPI
unsigned
char
*
RPC_ENTRY
NdrNsSendReceive
(
PMIDL_STUB_MESSAGE
pStubMsg
,
unsigned
char
*
pBufferEnd
,
RPC_BINDING_HANDLE
*
pAutoHandle
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
NdrGetDcomProtocolVersion
(
PMIDL_STUB_MESSAGE
pStubMsg
,
RPC_VERSION
*
pVersion
);
RPCRTAPI
PFULL_PTR_XLAT_TABLES
RPC_ENTRY
NdrFullPointerXlatInit
(
ULONG
NumberOfPointers
,
XLAT_SIDE
XlatSide
);
RPCRTAPI
void
RPC_ENTRY
...
...
@@ -651,6 +719,9 @@ RPCRTAPI void * RPC_ENTRY
RPCRTAPI
void
RPC_ENTRY
NdrRpcSsDefaultFree
(
void
*
NodeToFree
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
NdrGetUserMarshalInfo
(
ULONG
*
pFlags
,
ULONG
InformationLevel
,
NDR_USER_MARSHAL_INFO
*
pMarshalInfo
);
#ifdef __cplusplus
}
#endif
...
...
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