ReactOS 0.4.15-dev-7677-g8209aa5
typelib.h
Go to the documentation of this file.
1/*
2 * IDL Compiler
3 *
4 * Copyright 2004 Ove Kaaven
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 __WIDL_TYPELIB_H
22#define __WIDL_TYPELIB_H
23
24#ifdef __REACTOS__
25extern void start_typelib(typelib_t *typelib_type);
26extern void end_typelib(void);
27extern void add_importlib(const char *name);
28#else
29extern void add_importlib(const char *name, typelib_t *typelib);
30#endif
31
32/* Copied from wtypes.h. Not included directly because that would create a
33 * circular dependency (after all, wtypes.h is generated by widl...) */
34
35enum VARENUM {
38 VT_I2 = 2,
39 VT_I4 = 3,
40 VT_R4 = 4,
41 VT_R8 = 5,
42 VT_CY = 6,
47 VT_BOOL = 11,
51 VT_I1 = 16,
52 VT_UI1 = 17,
53 VT_UI2 = 18,
54 VT_UI4 = 19,
55 VT_I8 = 20,
56 VT_UI8 = 21,
57 VT_INT = 22,
58 VT_UINT = 23,
59 VT_VOID = 24,
61 VT_PTR = 26,
71 VT_BLOB = 65,
77 VT_CF = 71,
80 VT_BSTR_BLOB = 0xfff,
81 VT_VECTOR = 0x1000,
82 VT_ARRAY = 0x2000,
83 VT_BYREF = 0x4000,
84 VT_RESERVED = 0x8000,
85 VT_ILLEGAL = 0xffff,
87 VT_TYPEMASK = 0xfff
88};
89extern unsigned short get_type_vt(type_t *t);
90
93#endif
static ITypeLib * typelib
Definition: apps.c:108
VARENUM
Definition: compat.h:2294
GLdouble GLdouble t
Definition: gl.h:2047
int create_msft_typelib(typelib_t *typelib)
Definition: write_msft.c:2657
int create_sltg_typelib(typelib_t *typelib)
Definition: write_sltg.c:1831
void add_importlib(const char *name, typelib_t *typelib)
Definition: typelib.c:391
unsigned short get_type_vt(type_t *t)
Definition: typelib.c:129
@ VT_BLOB
Definition: typelib.h:71
@ VT_UI8
Definition: typelib.h:56
@ VT_BLOB_OBJECT
Definition: typelib.h:76
@ VT_BSTR
Definition: typelib.h:44
@ VT_VOID
Definition: typelib.h:59
@ VT_INT
Definition: typelib.h:57
@ VT_LPSTR
Definition: typelib.h:65
@ VT_R4
Definition: typelib.h:40
@ VT_UINT_PTR
Definition: typelib.h:69
@ VT_NULL
Definition: typelib.h:37
@ VT_UNKNOWN
Definition: typelib.h:49
@ VT_TYPEMASK
Definition: typelib.h:87
@ VT_RESERVED
Definition: typelib.h:84
@ VT_BYREF
Definition: typelib.h:83
@ VT_PTR
Definition: typelib.h:61
@ VT_UI2
Definition: typelib.h:53
@ VT_DECIMAL
Definition: typelib.h:50
@ VT_ERROR
Definition: typelib.h:46
@ VT_CLSID
Definition: typelib.h:78
@ VT_STREAM
Definition: typelib.h:72
@ VT_ARRAY
Definition: typelib.h:82
@ VT_BSTR_BLOB
Definition: typelib.h:80
@ VT_VERSIONED_STREAM
Definition: typelib.h:79
@ VT_STORED_OBJECT
Definition: typelib.h:75
@ VT_SAFEARRAY
Definition: typelib.h:62
@ VT_LPWSTR
Definition: typelib.h:66
@ VT_R8
Definition: typelib.h:41
@ VT_CY
Definition: typelib.h:42
@ VT_VARIANT
Definition: typelib.h:48
@ VT_I8
Definition: typelib.h:55
@ VT_I1
Definition: typelib.h:51
@ VT_I4
Definition: typelib.h:39
@ VT_CF
Definition: typelib.h:77
@ VT_STORAGE
Definition: typelib.h:73
@ VT_USERDEFINED
Definition: typelib.h:64
@ VT_HRESULT
Definition: typelib.h:60
@ VT_ILLEGAL
Definition: typelib.h:85
@ VT_FILETIME
Definition: typelib.h:70
@ VT_INT_PTR
Definition: typelib.h:68
@ VT_ILLEGALMASKED
Definition: typelib.h:86
@ VT_DATE
Definition: typelib.h:43
@ VT_BOOL
Definition: typelib.h:47
@ VT_STREAMED_OBJECT
Definition: typelib.h:74
@ VT_I2
Definition: typelib.h:38
@ VT_UI4
Definition: typelib.h:54
@ VT_UINT
Definition: typelib.h:58
@ VT_EMPTY
Definition: typelib.h:36
@ VT_CARRAY
Definition: typelib.h:63
@ VT_RECORD
Definition: typelib.h:67
@ VT_VECTOR
Definition: typelib.h:81
@ VT_DISPATCH
Definition: typelib.h:45
@ VT_UI1
Definition: typelib.h:52
Definition: name.c:39