mciwave: Favour return over ExitThread.
[wine.git] / include / wine / dcetypes.idl
blob8bfbb09e3865639f38a900535ea4bb2fc881bed6
1 /*
2 * Common DCE Types
4 * Copyright 2006 Robert Shearman (for CodeWeavers)
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 /* pull in GUID type */
22 import "wtypes.idl";
24 typedef unsigned small unsigned8;
25 typedef unsigned short unsigned16;
26 typedef unsigned long unsigned32;
27 typedef small signed8;
28 typedef short signed16;
29 typedef long signed32;
30 typedef unsigned32 boolean32;
31 typedef unsigned hyper u_int64;
32 typedef unsigned long u_int32;
33 typedef unsigned short u_int16;
34 typedef unsigned small u_int8;
36 typedef [ptr] GUID *uuid_p_t;
38 typedef struct twr_t
40 unsigned32 tower_length;
41 [size_is(tower_length)] byte tower_octet_string[];
42 } twr_t;
43 typedef [ptr] twr_t *twr_p_t;
45 typedef struct ndr_context_handle
47 unsigned32 context_handle_attributes;
48 GUID context_handle_uuid;
49 } ndr_context_handle;
51 const long ndr_c_int_big_endian = 0;
52 const long ndr_c_int_little_endian = 1;
53 const long ndr_c_float_ieee = 0;
54 const long ndr_c_float_vax = 1;
55 const long ndr_c_float_cray = 2;
56 const long ndr_c_float_ibm = 3;
57 const long ndr_c_char_ascii = 0;
58 const long ndr_c_char_ebcdic = 1;
60 typedef struct
62 unsigned8 int_rep;
63 unsigned8 char_rep;
64 unsigned8 float_rep;
65 byte reserved;
66 } ndr_format_t, *ndr_format_p_t;
68 typedef struct
70 GUID uuid;
71 unsigned16 vers_major;
72 unsigned16 vers_minor;
73 } rpc_if_id_t;
74 typedef [unique] rpc_if_id_t *rpc_if_id_p_t;
76 typedef struct
78 unsigned32 count;
79 [size_is(count)]
80 rpc_if_id_p_t if_id[*];
81 } rpc_if_id_vector_t;
82 typedef [unique] rpc_if_id_vector_t *rpc_if_id_vector_p_t;
84 typedef struct
86 unsigned32 count;
87 unsigned32 stats[1]; /* length_is (count) */
88 } rpc_stats_vector_t, *rpc_stats_vector_p_t;