Modify CheckRadioButton function to be more consistent with Windows.
[wine/multimedia.git] / include / msi.h
blobb7500cbb90ccdf32dc70f22b2db3c4ec11074d4f
1 /*
2 * Copyright (C) 2002 Mike McCormack
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE_MSI_H
20 #define __WINE_MSI_H
22 typedef unsigned long MSIHANDLE;
23 typedef enum tagINSTALLSTATE
25 INSTALLSTATE_BADCONFIG = -6,
26 INSTALLSTATE_INCOMPLETE = -5,
27 INSTALLSTATE_SOURCEABSENT = -4,
28 INSTALLSTATE_MOREDATA = -3,
29 INSTALLSTATE_INVALIDARG = -2,
30 INSTALLSTATE_UNKNOWN = -1,
31 INSTALLSTATE_BROKEN = 0,
32 INSTALLSTATE_ADVERTISED = 1,
33 INSTALLSTATE_ABSENT = 2,
34 INSTALLSTATE_LOCAL = 3,
35 INSTALLSTATE_SOURCE = 4,
36 INSTALLSTATE_DEFAULT = 5
37 } INSTALLSTATE;
39 typedef enum tagINSTALLUILEVEL
41 INSTALLUILEVEL_NOCHANGE = 0,
42 INSTALLUILEVEL_DEFAULT = 1,
43 INSTALLUILEVEL_NONE = 2,
44 INSTALLUILEVEL_BASIC = 3,
45 INSTALLUILEVEL_REDUCED = 4,
46 INSTALLUILEVEL_FULL = 5
47 } INSTALLUILEVEL;
49 #define MSIDBOPEN_READONLY 0
50 #define MSIDBOPEN_TRANSACT 1
51 #define MSIDBOPEN_DIRECT 2
52 #define MSIDBOPEN_CREATE 3
55 UINT WINAPI MsiInstallProductA(LPCSTR, LPCSTR);
56 UINT WINAPI MsiInstallProductW(LPCWSTR, LPCWSTR);
58 UINT WINAPI MsiEnumProductsA(DWORD index, LPSTR lpguid);
59 UINT WINAPI MsiEnumProductsW(DWORD index, LPWSTR lpguid);
61 UINT WINAPI MsiEnumFeaturesA(LPCSTR, DWORD, LPSTR, LPSTR);
62 UINT WINAPI MsiEnumFeaturesW(LPCWSTR, DWORD, LPWSTR, LPWSTR);
64 UINT WINAPI MsiEnumComponentsA(DWORD, LPSTR);
65 UINT WINAPI MsiEnumComponentsW(DWORD, LPWSTR);
67 UINT WINAPI MsiEnumClientsA(LPCSTR, DWORD, LPSTR);
68 UINT WINAPI MsiEnumClientsW(LPCWSTR, DWORD, LPWSTR);
70 UINT WINAPI MsiOpenDatabaseA(LPCSTR, LPCSTR, MSIHANDLE *);
71 UINT WINAPI MsiOpenDatabaseW(LPCWSTR, LPCWSTR, MSIHANDLE *);
73 UINT WINAPI MsiGetSummaryInformationA(MSIHANDLE, LPCSTR, UINT, MSIHANDLE *);
74 UINT WINAPI MsiGetSummaryInformationW(MSIHANDLE, LPCWSTR, UINT, MSIHANDLE *);
76 UINT WINAPI MsiSummaryInfoGetPropertyA(MSIHANDLE,UINT,UINT*,INT*,FILETIME*,LPSTR,DWORD*);
77 UINT WINAPI MsiSummaryInfoGetPropertyW(MSIHANDLE,UINT,UINT*,INT*,FILETIME*,LPWSTR,DWORD*);
79 UINT WINAPI MsiCloseHandle(MSIHANDLE);
80 UINT WINAPI MsiCloseAllHandles();
82 UINT WINAPI MsiProvideComponentFromDescriptorA(LPCSTR,LPSTR,DWORD*,DWORD*);
83 UINT WINAPI MsiProvideComponentFromDescriptorW(LPCWSTR,LPWSTR,DWORD*,DWORD*);
85 #endif /* __WINE_MSI_H */