Mike McCormack | c4ccc39 | 2005-06-07 20:05:42 +0000 | [diff] [blame] | 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 17 | */ |
| 18 | |
| 19 | #ifndef _APPMGMT_H |
| 20 | #define _APPMGMT_H |
| 21 | |
| 22 | typedef struct _MANAGEDAPPLICATION |
| 23 | { |
| 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; |
| 41 | |
| 42 | DWORD WINAPI CommandLineFromMsiDescriptor(WCHAR*,WCHAR*,DWORD*); |
| 43 | DWORD WINAPI GetManagedApplications(GUID*,DWORD,DWORD,LPDWORD,PMANAGEDAPPLICATION*); |
| 44 | |
| 45 | #endif /* _APPMGMT_H */ |