ReactOS 0.4.16-dev-319-g6cf4263
midles.h
Go to the documentation of this file.
1/*
2 * NDR Serialization Services
3 *
4 * Copyright (c) 2007 Robert Shearman for CodeWeavers
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21#ifndef __WINE_MIDLES_H__
22#define __WINE_MIDLES_H__
23
24#include <rpcndr.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30typedef enum
31{
36
37typedef enum
38{
43
44typedef void (__RPC_USER * MIDL_ES_ALLOC)(void *,char **,unsigned int *);
45typedef void (__RPC_USER * MIDL_ES_WRITE)(void *,char *,unsigned int);
46typedef void (__RPC_USER * MIDL_ES_READ)(void *,char **,unsigned int *);
47
48typedef struct _MIDL_ES_MESSAGE
49{
52 void *UserState;
60 unsigned char *Buffer;
62 unsigned char **pDynBuffer;
70
72
74{
79
86
95
98
101
104void RPC_ENTRY
106void RPC_ENTRY
107 NdrMesSimpleTypeEncode(handle_t,const MIDL_STUB_DESC *,const void *,short);
108
111void RPC_ENTRY
113void RPC_ENTRY
115
118void RPC_ENTRY
120void RPC_ENTRY
122void RPC_ENTRY
124
125void RPC_VAR_ENTRY
129
130#ifdef __cplusplus
131}
132#endif
133
134#endif /* __WINE_MIDLES_H__ */
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
PMIDL_ES_MESSAGE MIDL_ES_HANDLE
Definition: midles.h:71
void RPC_ENTRY NdrMesTypeEncode(handle_t, const MIDL_STUB_DESC *, PFORMAT_STRING, const void *)
void(__RPC_USER * MIDL_ES_ALLOC)(void *, char **, unsigned int *)
Definition: midles.h:44
SIZE_T RPC_ENTRY NdrMesSimpleTypeAlignSize(handle_t)
void(__RPC_USER * MIDL_ES_READ)(void *, char **, unsigned int *)
Definition: midles.h:46
struct _MIDL_ES_MESSAGE MIDL_ES_MESSAGE
struct _MIDL_TYPE_PICKLING_INFO MIDL_TYPE_PICKLING_INFO
RPC_STATUS RPC_ENTRY MesEncodeDynBufferHandleCreate(char **, ULONG *, handle_t *)
Definition: ndr_es.c:219
void(__RPC_USER * MIDL_ES_WRITE)(void *, char *, unsigned int)
Definition: midles.h:45
RPC_STATUS RPC_ENTRY MesBufferHandleReset(handle_t, ULONG, MIDL_ES_CODE, char **, ULONG, ULONG *)
Definition: ndr_es.c:128
struct _MIDL_ES_MESSAGE * PMIDL_ES_MESSAGE
RPC_STATUS RPC_ENTRY MesIncrementalHandleReset(handle_t, void *, MIDL_ES_ALLOC, MIDL_ES_WRITE, MIDL_ES_READ, MIDL_ES_CODE)
Definition: ndr_es.c:104
void RPC_ENTRY NdrMesSimpleTypeDecode(handle_t, void *, short)
struct _MIDL_TYPE_PICKLING_INFO * PMIDL_TYPE_PICKLING_INFO
SIZE_T RPC_ENTRY NdrMesTypeAlignSize(handle_t, const MIDL_STUB_DESC *, PFORMAT_STRING, const void *)
void RPC_ENTRY NdrMesTypeDecode(handle_t, const MIDL_STUB_DESC *, PFORMAT_STRING, void *)
void RPC_ENTRY NdrMesTypeDecode2(handle_t, const MIDL_TYPE_PICKLING_INFO *, const MIDL_STUB_DESC *, PFORMAT_STRING, void *)
Definition: ndr_es.c:516
CLIENT_CALL_RETURN RPC_VAR_ENTRY NdrMesProcEncodeDeocde2(handle_t, const MIDL_STUB_DESC *, PFORMAT_STRING,...)
RPC_STATUS RPC_ENTRY MesHandleFree(handle_t)
Definition: ndr_es.c:162
void RPC_ENTRY NdrMesSimpleTypeEncode(handle_t, const MIDL_STUB_DESC *, const void *, short)
void RPC_VAR_ENTRY NdrMesProcEncodeDecode(handle_t, const MIDL_STUB_DESC *, PFORMAT_STRING,...)
Definition: ndr_es.c:400
void RPC_ENTRY NdrMesTypeEncode2(handle_t, const MIDL_TYPE_PICKLING_INFO *, const MIDL_STUB_DESC *, PFORMAT_STRING, const void *)
Definition: ndr_es.c:522
MIDL_ES_CODE
Definition: midles.h:31
@ MES_ENCODE
Definition: midles.h:32
@ MES_ENCODE_NDR64
Definition: midles.h:34
@ MES_DECODE
Definition: midles.h:33
RPC_STATUS RPC_ENTRY MesInqProcEncodingId(handle_t, PRPC_SYNTAX_IDENTIFIER, ULONG *)
RPC_STATUS RPC_ENTRY MesEncodeIncrementalHandleCreate(void *, MIDL_ES_ALLOC, MIDL_ES_WRITE, handle_t *)
Definition: ndr_es.c:50
RPC_STATUS RPC_ENTRY MesDecodeIncrementalHandleCreate(void *, MIDL_ES_READ, handle_t *)
Definition: ndr_es.c:78
RPC_STATUS RPC_ENTRY MesEncodeFixedBufferHandleCreate(char *, ULONG, ULONG *, handle_t *)
Definition: ndr_es.c:183
SIZE_T RPC_ENTRY NdrMesTypeAlignSize2(handle_t, const MIDL_TYPE_PICKLING_INFO *, const MIDL_STUB_DESC *, PFORMAT_STRING, const void *)
RPC_STATUS RPC_ENTRY MesDecodeBufferHandleCreate(char *, ULONG, handle_t *)
Definition: ndr_es.c:248
MIDL_ES_HANDLE_STYLE
Definition: midles.h:38
@ MES_DYNAMIC_BUFFER_HANDLE
Definition: midles.h:41
@ MES_FIXED_BUFFER_HANDLE
Definition: midles.h:40
@ MES_INCREMENTAL_HANDLE
Definition: midles.h:39
void RPC_ENTRY NdrMesTypeFree2(handle_t, const MIDL_TYPE_PICKLING_INFO *, const MIDL_STUB_DESC *, PFORMAT_STRING, void *)
Definition: ndr_es.c:528
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
const unsigned char * PFORMAT_STRING
Definition: rpcndr.h:176
#define RPC_VAR_ENTRY
Definition: rpcndr.h:122
#define RPC_ENTRY
Definition: rpc.h:67
long RPC_STATUS
Definition: rpc.h:52
#define __RPC_USER
Definition: rpc.h:65
MIDL_STUB_MESSAGE StubMsg
Definition: midles.h:50
void * UserState
Definition: midles.h:52
MIDL_ES_WRITE Write
Definition: midles.h:58
ULONG IncrDataSize
Definition: midles.h:67
ULONG HandleStyle
Definition: midles.h:54
ULONG ProcNumber
Definition: midles.h:65
unsigned char ** pDynBuffer
Definition: midles.h:62
ULONG ByteCount
Definition: midles.h:68
unsigned char * Buffer
Definition: midles.h:60
ULONG * pEncodedSize
Definition: midles.h:63
ULONG AlienDataRep
Definition: midles.h:66
ULONG Reserve
Definition: midles.h:56
ULONG HandleFlags
Definition: midles.h:55
MIDL_ES_CODE Operation
Definition: midles.h:51
ULONG BufferSize
Definition: midles.h:61
ULONG MesVersion
Definition: midles.h:53
MIDL_ES_READ Read
Definition: midles.h:59
RPC_SYNTAX_IDENTIFIER InterfaceId
Definition: midles.h:64
MIDL_ES_ALLOC Alloc
Definition: midles.h:57
ULONG_PTR SIZE_T
Definition: typedefs.h:80
uint32_t ULONG
Definition: typedefs.h:59
_Reserved_ PVOID Reserved
Definition: winddi.h:3974