ReactOS 0.4.15-dev-7924-g5949c20
winemsi.idl
Go to the documentation of this file.
1/*
2 * Copyright (C) 2007 James Hawkins
3 * Copyright (C) 2018 Zebediah Figura
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 */
19
20#pragma makedep header
21#pragma makedep client
22#pragma makedep server
23
24import "objidl.idl";
25
26cpp_quote("#if 0")
27typedef unsigned long MSIHANDLE;
28typedef int INSTALLMESSAGE;
29typedef int MSICONDITION;
30typedef int MSIRUNMODE;
31typedef int INSTALLSTATE;
32typedef int MSICOLINFO;
33typedef int MSIMODIFY;
34typedef int MSICOSTTREE;
35typedef int MSIDBERROR;
36
37#define MSIFIELD_NULL 0
38#define MSIFIELD_INT 1
39#define MSIFIELD_WSTR 3
40#define MSIFIELD_STREAM 4
41cpp_quote("#endif")
42cpp_quote("#include \"msiquery.h\"")
43
44struct wire_field {
45 unsigned int type;
46 [switch_is(type)] union {
47 [case(MSIFIELD_NULL)] ;
48 [case(MSIFIELD_INT)] int iVal;
51 } u;
52 int len;
53};
54
55/* compatible with MSIRECORD minus header */
57 unsigned int count;
59 [size_is(count+1)] struct wire_field fields[];
60};
61
62[
63 uuid(56D58B64-8780-4c22-A8BC-8B0B29E4A9F8),
64 implicit_handle(handle_t rpc_handle)
65]
67{
74 [in] struct wire_record *record, [out] struct wire_record **refreshed );
75
80
83 [out] FILETIME *ft, [out, string] LPWSTR *buf );
84
106 [out, string, size_is(3)] LPWSTR drive, [out] INT *cost, [out] INT *temp );
107
108 UINT remote_GetActionInfo( [in] const GUID *guid, [out, string] WCHAR **action, [out] int *type, [out, string] WCHAR **dllname,
109 [out, string] char **function, [out] MSIHANDLE *hinst );
111}
unsigned long long UINT64
static struct recvd_message * sequence
Definition: SystemMenu.c:63
static int state
Definition: maze.c:121
implicit_handle(handle_t browser_hBinding)] interface browser
Definition: browser.idl:136
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const
Definition: d3d10.idl:491
static const CHAR suminfo[]
Definition: db.c:2206
const WCHAR * action
Definition: action.c:7479
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLint level
Definition: gl.h:1546
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLsizeiptr size
Definition: glext.h:5919
GLenum condition
Definition: glext.h:9255
GLuint index
Definition: glext.h:6031
GLenum mode
Definition: glext.h:6217
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
GLuint in
Definition: glext.h:9616
UINT remote_ViewGetColumnInfo([in] MSIHANDLE view, [in] MSICOLINFO info, [out] struct wire_record **record)
UINT remote_GetProperty([in] MSIHANDLE hinst, [in, string] LPCWSTR property, [out, string] LPWSTR *value, [out] DWORD *size)
UINT remote_GetSourcePath([in] MSIHANDLE hinst, [in, string] LPCWSTR folder, [out, string] LPWSTR *value)
UINT remote_GetFeatureState([in] MSIHANDLE hinst, [in, string] LPCWSTR feature, [out] INSTALLSTATE *installed, [out] INSTALLSTATE *action)
UINT remote_DatabaseOpenView([in] MSIHANDLE db, [in, string] LPCWSTR query, [out] MSIHANDLE *view)
UINT remote_GetActionInfo([in] const GUID *guid, [out, string] WCHAR **action, [out] int *type, [out, string] WCHAR **dllname, [out, string] char **function, [out] MSIHANDLE *hinst)
int remote_ProcessMessage([in] MSIHANDLE hinst, [in] INSTALLMESSAGE message, [in] struct wire_record *record)
UINT remote_SetComponentState([in] MSIHANDLE hinst, [in, string] LPCWSTR component, [in] INSTALLSTATE state)
UINT remote_EnumComponentCosts([in] MSIHANDLE hinst, [in, string, unique] LPCWSTR component, [in] DWORD index, [in] INSTALLSTATE state, [out, string, size_is(3)] LPWSTR drive, [out] INT *cost, [out] INT *temp)
UINT remote_SummaryInfoGetPropertyCount([in] MSIHANDLE suminfo, [out] UINT *count)
UINT remote_SetFeatureState([in] MSIHANDLE hinst, [in, string] LPCWSTR feature, [in] INSTALLSTATE state)
MSICONDITION remote_DatabaseIsTablePersistent([in] MSIHANDLE db, [in] LPCWSTR table)
UINT remote_SummaryInfoGetProperty([in] MSIHANDLE suminfo, [in] UINT property, [out] UINT *type, [out] INT *value, [out] FILETIME *ft, [out, string] LPWSTR *buf)
UINT remote_SetTargetPath([in] MSIHANDLE hinst, [in, string] LPCWSTR folder, [in, string] LPCWSTR value)
MSIDBERROR remote_ViewGetError([in] MSIHANDLE view, [out, string] LPWSTR *column)
UINT remote_ViewModify([in] MSIHANDLE view, [in] MSIMODIFY mode, [in] struct wire_record *record, [out] struct wire_record **refreshed)
UINT remote_ViewClose([in] MSIHANDLE view)
UINT remote_GetTargetPath([in] MSIHANDLE hinst, [in, string] LPCWSTR folder, [out, string] LPWSTR *value)
UINT remote_SetProperty([in] MSIHANDLE hinst, [in, string, unique] LPCWSTR property, [in, string, unique] LPCWSTR value)
UINT remote_ViewFetch([in] MSIHANDLE view, [out] struct wire_record **record)
MSICONDITION remote_EvaluateCondition([in] MSIHANDLE hinst, [in, string] LPCWSTR condition)
LANGID remote_GetLanguage([in] MSIHANDLE hinst)
UINT remote_DoAction([in] MSIHANDLE hinst, [in, string] LPCWSTR action)
UINT remote_ViewExecute([in] MSIHANDLE view, [in, unique] struct wire_record *record)
UINT remote_CloseHandle([in] MSIHANDLE handle)
UINT remote_DatabaseGetSummaryInformation([in] MSIHANDLE db, [in] UINT updatecount, [out] MSIHANDLE *suminfo)
UINT remote_GetFeatureCost([in] MSIHANDLE hinst, [in, string] LPCWSTR feature, [in] MSICOSTTREE cost_tree, [in] INSTALLSTATE state, [out] INT *cost)
UINT remote_SetMode([in] MSIHANDLE hinst, [in] MSIRUNMODE mode, [in] BOOL state)
UINT remote_Sequence([in] MSIHANDLE hinst, [in, string] LPCWSTR table, [in] int sequence)
UINT remote_SetInstallLevel([in] MSIHANDLE hinst, [in] int level)
MSIHANDLE remote_GetActiveDatabase([in] MSIHANDLE hinst)
UINT remote_GetComponentState([in] MSIHANDLE hinst, [in, string] LPCWSTR component, [out] INSTALLSTATE *installed, [out] INSTALLSTATE *action)
BOOL remote_GetMode([in] MSIHANDLE hinst, [in] MSIRUNMODE mode)
UINT remote_FormatRecord([in] MSIHANDLE hinst, [in] struct wire_record *record, [out, string] LPWSTR *value)
UINT remote_DatabaseGetPrimaryKeys([in] MSIHANDLE db, [in, string] LPCWSTR table, [out] struct wire_record **keys)
Definition: msctf.idl:550
USHORT LANGID
Definition: mui.h:9
const GUID * guid
char string[160]
Definition: util.h:11
static HINSTANCE hinst
Definition: edit.c:551
INTERNETFEATURELIST feature
Definition: misc.c:1719
unsigned int UINT
Definition: ndis.h:50
static FILE * out
Definition: regtests2xml.c:44
static calc_node_t temp
Definition: rpn_ieee.c:38
Definition: fci.c:116
Definition: tftpd.h:60
LPWSTR szwVal
Definition: winemsi.idl:49
int iVal
Definition: winemsi.idl:48
unsigned int type
Definition: winemsi.idl:45
IStream * stream
Definition: winemsi.idl:50
union wire_field::@510 u
unsigned int count
Definition: winemsi.idl:57
struct wire_field fields[]
Definition: winemsi.idl:59
UINT64 cookie
Definition: winemsi.idl:58
int32_t INT
Definition: typedefs.h:58
Definition: pdh_main.c:94
int MSIDBERROR
Definition: winemsi.idl:35
int INSTALLSTATE
Definition: winemsi.idl:31
int MSIRUNMODE
Definition: winemsi.idl:30
#define MSIFIELD_STREAM
Definition: winemsi.idl:40
int MSICOSTTREE
Definition: winemsi.idl:34
int MSICONDITION
Definition: winemsi.idl:29
#define MSIFIELD_INT
Definition: winemsi.idl:38
unsigned long MSIHANDLE
Definition: winemsi.idl:27
#define MSIFIELD_WSTR
Definition: winemsi.idl:39
int MSIMODIFY
Definition: winemsi.idl:33
#define MSIFIELD_NULL
Definition: winemsi.idl:37
int MSICOLINFO
Definition: winemsi.idl:32
int INSTALLMESSAGE
Definition: winemsi.idl:28
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185