push 7b30519979490489283b8c9fd6a7de5d4bea772e
[wine/hacks.git] / include / appmgmt.h
blob385f81af88dfb0a6c90fe073bfadd30d1bc043f8
1 /*
2 * Copyright (C) 2005 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef _APPMGMT_H
20 #define _APPMGMT_H
22 typedef struct _MANAGEDAPPLICATION
24 LPWSTR pszPackageName;
25 LPWSTR pszPublisher;
26 DWORD dwVersionHi;
27 DWORD dwVersionLo;
28 DWORD dwRevision;
29 GUID GpoId;
30 LPWSTR pszPolicyName;
31 GUID ProductId;
32 LANGID Language;
33 LPWSTR pszOwner;
34 LPWSTR pszCompany;
35 LPWSTR pszComments;
36 LPWSTR pszContact;
37 LPWSTR pszSupportUrl;
38 DWORD dwPathType;
39 BOOL bInstalled;
40 } MANAGEDAPPLICATION, *PMANAGEDAPPLICATION;
43 #ifdef __cplusplus
44 extern "C" {
45 #endif
47 DWORD WINAPI CommandLineFromMsiDescriptor(WCHAR*,WCHAR*,DWORD*);
48 DWORD WINAPI GetManagedApplications(GUID*,DWORD,DWORD,LPDWORD,PMANAGEDAPPLICATION*);
50 #ifdef __cplusplus
52 #endif
54 #endif /* _APPMGMT_H */