xref: /reactos/sdk/include/psdk/appmgmt.h (revision 4561998a)
1 /*
2  * Copyright (C) 2005 Mike McCormack
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 Street, Fifth Floor, Boston, MA  02110-1301  USA
17  */
18 
19 #ifndef _APPMGMT_H
20 #define _APPMGMT_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif /* defined(__cplusplus) */
25 
26 typedef struct _MANAGEDAPPLICATION
27 {
28     LPWSTR pszPackageName;
29     LPWSTR pszPublisher;
30     DWORD dwVersionHi;
31     DWORD dwVersionLo;
32     DWORD dwRevision;
33     GUID GpoId;
34     LPWSTR pszPolicyName;
35     GUID ProductId;
36     LANGID Language;
37     LPWSTR pszOwner;
38     LPWSTR pszCompany;
39     LPWSTR pszComments;
40     LPWSTR pszContact;
41     LPWSTR pszSupportUrl;
42     DWORD dwPathType;
43     BOOL bInstalled;
44 } MANAGEDAPPLICATION, *PMANAGEDAPPLICATION;
45 
46 DWORD WINAPI CommandLineFromMsiDescriptor(WCHAR*,WCHAR*,DWORD*);
47 DWORD WINAPI GetManagedApplications(GUID*,DWORD,DWORD,LPDWORD,PMANAGEDAPPLICATION*);
48 
49 #ifdef __cplusplus
50 } /* extern "C" */
51 #endif /* defined(__cplusplus) */
52 
53 #endif /* _APPMGMT_H */
54