4 * Copyright 2001 Ove Kåven, TransGaming Technologies
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_NDR_MISC_H
22 #define __WINE_NDR_MISC_H
26 #define FORMAT_STRING_PARANOIA 20
27 #define TYPE_FORMAT_STRING_SIZE (5 + FORMAT_STRING_PARANOIA)
28 #define PROC_FORMAT_STRING_SIZE (9 + FORMAT_STRING_PARANOIA)
30 typedef struct _MIDL_TYPE_FORMAT_STRING
33 unsigned char Format[TYPE_FORMAT_STRING_SIZE];
34 } MIDL_TYPE_FORMAT_STRING;
36 typedef struct _MIDL_PROC_FORMAT_STRING
39 unsigned char Format[PROC_FORMAT_STRING_SIZE];
40 } MIDL_PROC_FORMAT_STRING;
42 struct IPSFactoryBuffer;
44 LONG_PTR RPCRT4_NdrClientCall2(PMIDL_STUB_DESC pStubDesc,
45 PFORMAT_STRING pFormat, va_list args );
47 HRESULT RPCRT4_GetPSFactory(REFIID riid, struct IPSFactoryBuffer **ppPS);
49 #endif /* __WINE_NDR_MISC_H */