ReactOS  0.4.15-dev-439-g292f67a
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
27 extern "C" {
28 #endif
29 
30 typedef enum
31 {
35 } MIDL_ES_CODE;
36 
37 typedef enum
38 {
43 
44 typedef void (__RPC_USER * MIDL_ES_ALLOC)(void *,char **,unsigned int *);
45 typedef void (__RPC_USER * MIDL_ES_WRITE)(void *,char *,unsigned int);
46 typedef void (__RPC_USER * MIDL_ES_READ)(void *,char **,unsigned int *);
47 
48 typedef struct _MIDL_ES_MESSAGE
49 {
52  void *UserState;
60  unsigned char *Buffer;
62  unsigned char **pDynBuffer;
70 
72 
74 {
79 
86 
95 
98 
101 
104 void RPC_ENTRY
105  NdrMesSimpleTypeDecode(handle_t,void *,short);
106 void RPC_ENTRY
107  NdrMesSimpleTypeEncode(handle_t,const MIDL_STUB_DESC *,const void *,short);
108 
111 void RPC_ENTRY
113 void RPC_ENTRY
115 
118 void RPC_ENTRY
120 void RPC_ENTRY
122 void RPC_ENTRY
124 
125 void RPC_VAR_ENTRY
129 
130 #ifdef __cplusplus
131 }
132 #endif
133 
134 #endif /* __WINE_MIDLES_H__ */
PMIDL_ES_MESSAGE MIDL_ES_HANDLE
Definition: midles.h:71
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
ULONG HandleStyle
Definition: midles.h:54
ULONG IncrDataSize
Definition: midles.h:67
ULONG * pEncodedSize
Definition: midles.h:63
ULONG AlienDataRep
Definition: midles.h:66
void(__RPC_USER * MIDL_ES_WRITE)(void *, char *, unsigned int)
Definition: midles.h:45
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
ULONG Reserve
Definition: midles.h:56
struct _MIDL_ES_MESSAGE MIDL_ES_MESSAGE
void RPC_VAR_ENTRY NdrMesProcEncodeDecode(handle_t, const MIDL_STUB_DESC *, PFORMAT_STRING,...)
Definition: ndr_es.c:400
ULONG ProcNumber
Definition: midles.h:65
void(__RPC_USER * MIDL_ES_ALLOC)(void *, char **, unsigned int *)
Definition: midles.h:44
RPC_STATUS RPC_ENTRY MesHandleFree(handle_t)
Definition: ndr_es.c:162
struct _MIDL_TYPE_PICKLING_INFO * PMIDL_TYPE_PICKLING_INFO
#define RPC_VAR_ENTRY
Definition: rpcndr.h:122
RPC_STATUS RPC_ENTRY MesInqProcEncodingId(handle_t, PRPC_SYNTAX_IDENTIFIER, ULONG *)
unsigned char * Buffer
Definition: midles.h:60
struct _MIDL_ES_MESSAGE * PMIDL_ES_MESSAGE
RPC_STATUS RPC_ENTRY MesBufferHandleReset(handle_t, ULONG, MIDL_ES_CODE, char **, ULONG, ULONG *)
Definition: ndr_es.c:128
SIZE_T RPC_ENTRY NdrMesTypeAlignSize(handle_t, const MIDL_STUB_DESC *, PFORMAT_STRING, const void *)
long RPC_STATUS
Definition: rpc.h:52
MIDL_ES_READ Read
Definition: midles.h:59
SIZE_T RPC_ENTRY NdrMesSimpleTypeAlignSize(handle_t)
void RPC_ENTRY NdrMesTypeFree2(handle_t, const MIDL_TYPE_PICKLING_INFO *, const MIDL_STUB_DESC *, PFORMAT_STRING, void *)
Definition: ndr_es.c:528
MIDL_ES_ALLOC Alloc
Definition: midles.h:57
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
RPC_STATUS RPC_ENTRY MesDecodeIncrementalHandleCreate(void *, MIDL_ES_READ, handle_t *)
Definition: ndr_es.c:78
#define __RPC_USER
Definition: rpc.h:65
struct _MIDL_TYPE_PICKLING_INFO MIDL_TYPE_PICKLING_INFO
void RPC_ENTRY NdrMesSimpleTypeEncode(handle_t, const MIDL_STUB_DESC *, const void *, short)
void RPC_ENTRY NdrMesSimpleTypeDecode(handle_t, void *, short)
MIDL_ES_WRITE Write
Definition: midles.h:58
const unsigned char * PFORMAT_STRING
Definition: rpcndr.h:176
void RPC_ENTRY NdrMesTypeEncode2(handle_t, const MIDL_TYPE_PICKLING_INFO *, const MIDL_STUB_DESC *, PFORMAT_STRING, const void *)
Definition: ndr_es.c:522
void RPC_ENTRY NdrMesTypeDecode(handle_t, const MIDL_STUB_DESC *, PFORMAT_STRING, void *)
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
RPC_STATUS RPC_ENTRY MesEncodeFixedBufferHandleCreate(char *, ULONG, ULONG *, handle_t *)
Definition: ndr_es.c:183
RPC_STATUS RPC_ENTRY MesEncodeDynBufferHandleCreate(char **, ULONG *, handle_t *)
Definition: ndr_es.c:219
MIDL_ES_HANDLE_STYLE
Definition: midles.h:37
ULONG MesVersion
Definition: midles.h:53
unsigned char ** pDynBuffer
Definition: midles.h:62
RPC_SYNTAX_IDENTIFIER InterfaceId
Definition: midles.h:64
ULONG_PTR SIZE_T
Definition: typedefs.h:79
void RPC_ENTRY NdrMesTypeEncode(handle_t, const MIDL_STUB_DESC *, PFORMAT_STRING, const void *)
RPC_STATUS RPC_ENTRY MesEncodeIncrementalHandleCreate(void *, MIDL_ES_ALLOC, MIDL_ES_WRITE, handle_t *)
Definition: ndr_es.c:50
MIDL_ES_CODE
Definition: midles.h:30
MIDL_ES_CODE Operation
Definition: midles.h:51
#define RPC_ENTRY
Definition: rpc.h:67
RPC_STATUS RPC_ENTRY MesDecodeBufferHandleCreate(char *, ULONG, handle_t *)
Definition: ndr_es.c:248
CLIENT_CALL_RETURN RPC_VAR_ENTRY NdrMesProcEncodeDeocde2(handle_t, const MIDL_STUB_DESC *, PFORMAT_STRING,...)
void RPC_ENTRY NdrMesTypeDecode2(handle_t, const MIDL_TYPE_PICKLING_INFO *, const MIDL_STUB_DESC *, PFORMAT_STRING, void *)
Definition: ndr_es.c:516
void(__RPC_USER * MIDL_ES_READ)(void *, char **, unsigned int *)
Definition: midles.h:46
unsigned int ULONG
Definition: retypes.h:1
ULONG ByteCount
Definition: midles.h:68
ULONG BufferSize
Definition: midles.h:61
void * UserState
Definition: midles.h:52
SIZE_T RPC_ENTRY NdrMesTypeAlignSize2(handle_t, const MIDL_TYPE_PICKLING_INFO *, const MIDL_STUB_DESC *, PFORMAT_STRING, const void *)
MIDL_STUB_MESSAGE StubMsg
Definition: midles.h:50
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
ULONG HandleFlags
Definition: midles.h:55