1 /*
2  * Copyright 2010 Jacek Caban for CodeWeavers
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 #pragma once
20 
21 #define IHOST_NAME_DISPID              DISPID_VALUE
22 #define IHOST_APPLICATION_DISPID       100
23 #define IHOST_FULLNAME_DISPID          101
24 #define IHOST_PATH_DISPID              102
25 #define IHOST_INTERACTIVE_DISPID       103
26 #define IHOST_QUIT_DISPID              200
27 #define IHOST_SCRIPTNAME_DISPID        1000
28 #define IHOST_SCRIPTFULLNAME_DISPID    1001
29 #define IHOST_ARGUMENTS_DISPID         1002
30 #define IHOST_VERSION_DISPID           1003
31 #define IHOST_BUILDVERSION_DISPID      1004
32 #define IHOST_TIMEOUT_DISPID           1005
33 #define IHOST_STDIN_DISPID             1006
34 #define IHOST_STDOUT_DISPID            1007
35 #define IHOST_STDERR_DISPID            1008
36 #define IHOST_CREATEOBJECT_DISPID      2000
37 #define IHOST_ECHO_DISPID              2001
38 #define IHOST_GETOBJECT_DISPID         2002
39 #define IHOST_DISCONNECTOBJECT_DISPID  2003
40 #define IHOST_SLEEP_DISPID             2004
41 #define IHOST_CONNECTOBJECT_DISPID     2005
42 
43 #define IARGUMENTS2_COUNT_DISPID   1
44 #define IARGUMENTS2_LENGTH_DISPID  2
45 
46 #define ITEXTSTREAM_LINE_DISPID             10000
47 #define ITEXTSTREAM_COLUMN_DISPID           -529
48 #define ITEXTSTREAM_ATENDOFSTREAM_DISPID    10002
49 #define ITEXTSTREAM_ATENDOFLINE_DISPID      10003
50 #define ITEXTSTREAM_READ_DISPID             10004
51 #define ITEXTSTREAM_READLINE_DISPID         10005
52 #define ITEXTSTREAM_READALL_DISPID          10006
53 #define ITEXTSTREAM_WRITE_DISPID            10007
54 #define ITEXTSTREAM_WRITELINE_DISPID        10008
55 #define ITEXTSTREAM_WRITEBLANKLINES_DISPID  10009
56 #define ITEXTSTREAM_SKIP_DISPID             10010
57 #define ITEXTSTREAM_SKIPLINE_DISPID         10011
58 #define ITEXTSTREAM_CLOSE_DISPID            10012
59