[PROPSYS_WINETEST] Sync with Wine Staging 2.9. CORE-13362
[reactos.git] / rostests / win32 / rpcrt4 / context_handles / ctx.h
1
2 #pragma warning( disable: 4049 ) /* more than 64k source lines */
3
4 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
5
6
7 /* File created by MIDL compiler version 5.03.0280 */
8 /* at Fri Mar 24 18:32:16 2006
9 */
10 /* Compiler settings for ctx.idl:
11 Os (OptLev=s), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
12 error checks: allocation ref bounds_check enum stub_data
13 VC __declspec() decoration level:
14 __declspec(uuid()), __declspec(selectany), __declspec(novtable)
15 DECLSPEC_UUID(), MIDL_INTERFACE()
16 */
17 //@@MIDL_FILE_HEADING( )
18
19
20 /* verify that the <rpcndr.h> version is high enough to compile this file*/
21 #ifndef __REQUIRED_RPCNDR_H_VERSION__
22 #define __REQUIRED_RPCNDR_H_VERSION__ 440
23 #endif
24
25 #include "rpc.h"
26 #include "rpcndr.h"
27
28 #ifndef __ctx_h__
29 #define __ctx_h__
30
31 /* Forward Declarations */
32
33 #ifdef __cplusplus
34 extern "C"{
35 #endif
36
37 void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
38 void __RPC_USER MIDL_user_free( void __RPC_FAR * );
39
40 #ifndef __hello_INTERFACE_DEFINED__
41 #define __hello_INTERFACE_DEFINED__
42
43 /* interface hello */
44 /* [implicit_handle][version][uuid] */
45
46 typedef long CTXTYPE;
47
48 typedef /* [context_handle] */ CTXTYPE __RPC_FAR *PCTXTYPE;
49
50 void CtxOpen(
51 /* [out] */ PCTXTYPE __RPC_FAR *pphContext,
52 /* [in] */ long Value);
53
54 void CtxHello(
55 /* [in] */ PCTXTYPE phContext);
56
57 void CtxClose(
58 /* [out][in] */ PCTXTYPE __RPC_FAR *pphContext);
59
60
61 extern handle_t hBinding;
62
63
64 extern RPC_IF_HANDLE hello_v1_0_c_ifspec;
65 extern RPC_IF_HANDLE hello_v1_0_s_ifspec;
66 #endif /* __hello_INTERFACE_DEFINED__ */
67
68 /* Additional Prototypes for ALL interfaces */
69
70 void __RPC_USER PCTXTYPE_rundown( PCTXTYPE );
71
72 /* end of Additional Prototypes */
73
74 #ifdef __cplusplus
75 }
76 #endif
77
78 #endif
79
80