OpenVPN
msiex.h
Go to the documentation of this file.
1/*
2 * openvpnmsica -- Custom Action DLL to provide OpenVPN-specific support to MSI packages
3 * https://community.openvpn.net/openvpn/wiki/OpenVPNMSICA
4 *
5 * Copyright (C) 2018-2024 Simon Rozman <simon@rozman.si>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2
9 * as published by the Free Software Foundation.
10 *
11 * This program 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
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
21#ifndef MSIHLP_H
22#define MSIHLP_H
23
24#include <windows.h>
25#include <msi.h>
26#include "../tapctl/basic.h"
27
28
41UINT
43 _In_ MSIHANDLE hInstall,
44 _In_z_ LPCTSTR szName,
45 _Out_ LPTSTR *pszValue);
46
47
60UINT
62 _In_ MSIHANDLE hRecord,
63 _In_ unsigned int iField,
64 _Out_ LPTSTR *pszValue);
65
66
82UINT
84 _In_ MSIHANDLE hInstall,
85 _In_ MSIHANDLE hRecord,
86 _Out_ LPTSTR *pszValue);
87
88
105UINT
107 _In_ MSIHANDLE hInstall,
108 _In_ MSIHANDLE hRecord,
109 _In_ unsigned int iField,
110 _Out_ LPTSTR *pszValue);
111
112#endif /* ifndef MSIHLP_H */
UINT msi_get_string(_In_ MSIHANDLE hInstall, _In_z_ LPCTSTR szName, _Out_ LPTSTR *pszValue)
Gets MSI property value.
Definition msiex.c:38
UINT msi_format_field(_In_ MSIHANDLE hInstall, _In_ MSIHANDLE hRecord, _In_ unsigned int iField, _Out_ LPTSTR *pszValue)
Formats MSI record field.
Definition msiex.c:212
UINT msi_get_record_string(_In_ MSIHANDLE hRecord, _In_ unsigned int iField, _Out_ LPTSTR *pszValue)
Gets MSI record string value.
Definition msiex.c:96
UINT msi_format_record(_In_ MSIHANDLE hInstall, _In_ MSIHANDLE hRecord, _Out_ LPTSTR *pszValue)
Formats MSI record.
Definition msiex.c:154
#define _In_z_
Definition basic.h:48
#define _Out_
Definition basic.h:57
#define _In_
Definition basic.h:42