appmgmt.h revision b955672b950093ff7416d1269dd4d3b69983bd8f
8bb7126c063c34d63966733988411f72dfcb2294maczniak/*
8bb7126c063c34d63966733988411f72dfcb2294maczniak * Copyright (C) 2005 Mike McCormack
8bb7126c063c34d63966733988411f72dfcb2294maczniak *
8bb7126c063c34d63966733988411f72dfcb2294maczniak * This library is free software; you can redistribute it and/or
8bb7126c063c34d63966733988411f72dfcb2294maczniak * modify it under the terms of the GNU Lesser General Public
8bb7126c063c34d63966733988411f72dfcb2294maczniak * License as published by the Free Software Foundation; either
8bb7126c063c34d63966733988411f72dfcb2294maczniak * version 2.1 of the License, or (at your option) any later version.
8bb7126c063c34d63966733988411f72dfcb2294maczniak *
8bb7126c063c34d63966733988411f72dfcb2294maczniak * This library is distributed in the hope that it will be useful,
8bb7126c063c34d63966733988411f72dfcb2294maczniak * but WITHOUT ANY WARRANTY; without even the implied warranty of
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * Lesser General Public License for more details.
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen *
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * You should have received a copy of the GNU Lesser General Public
8bb7126c063c34d63966733988411f72dfcb2294maczniak * License along with this library; if not, write to the Free Software
8bb7126c063c34d63966733988411f72dfcb2294maczniak * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
8bb7126c063c34d63966733988411f72dfcb2294maczniak */
3f08db06526d6901aa08c110b5bc7dde6bc39905nd
8bb7126c063c34d63966733988411f72dfcb2294maczniak/*
8bb7126c063c34d63966733988411f72dfcb2294maczniak * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
8bb7126c063c34d63966733988411f72dfcb2294maczniak * other than GPL or LGPL is available it will apply instead, Sun elects to use only
3f08db06526d6901aa08c110b5bc7dde6bc39905nd * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
8bb7126c063c34d63966733988411f72dfcb2294maczniak * a choice of LGPL license versions is made available with the language indicating
8bb7126c063c34d63966733988411f72dfcb2294maczniak * that LGPLv2 or any later version may be used, or where a choice of which version
0cf3cdbaa1dad11cbf1ce32e48f1b4ec88cf779fnilgun * of the LGPL is applied is otherwise unspecified.
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung */
8bb7126c063c34d63966733988411f72dfcb2294maczniak
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluem#ifndef _APPMGMT_H
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluem#define _APPMGMT_H
8bb7126c063c34d63966733988411f72dfcb2294maczniak
78f97ce162b66a0dbfd7af4dcd9984f162569b04minfrintypedef struct _MANAGEDAPPLICATION
8bb7126c063c34d63966733988411f72dfcb2294maczniak{
8bb7126c063c34d63966733988411f72dfcb2294maczniak LPWSTR pszPackageName;
8bb7126c063c34d63966733988411f72dfcb2294maczniak LPWSTR pszPublisher;
8bb7126c063c34d63966733988411f72dfcb2294maczniak DWORD dwVersionHi;
8bb7126c063c34d63966733988411f72dfcb2294maczniak DWORD dwVersionLo;
8bb7126c063c34d63966733988411f72dfcb2294maczniak DWORD dwRevision;
8bb7126c063c34d63966733988411f72dfcb2294maczniak GUID GpoId;
8bb7126c063c34d63966733988411f72dfcb2294maczniak LPWSTR pszPolicyName;
8bb7126c063c34d63966733988411f72dfcb2294maczniak GUID ProductId;
78f97ce162b66a0dbfd7af4dcd9984f162569b04minfrin LANGID Language;
8bb7126c063c34d63966733988411f72dfcb2294maczniak LPWSTR pszOwner;
8bb7126c063c34d63966733988411f72dfcb2294maczniak LPWSTR pszCompany;
8bb7126c063c34d63966733988411f72dfcb2294maczniak LPWSTR pszComments;
8bb7126c063c34d63966733988411f72dfcb2294maczniak LPWSTR pszContact;
8bb7126c063c34d63966733988411f72dfcb2294maczniak LPWSTR pszSupportUrl;
8bb7126c063c34d63966733988411f72dfcb2294maczniak DWORD dwPathType;
8bb7126c063c34d63966733988411f72dfcb2294maczniak BOOL bInstalled;
8bb7126c063c34d63966733988411f72dfcb2294maczniak} MANAGEDAPPLICATION, *PMANAGEDAPPLICATION;
8bb7126c063c34d63966733988411f72dfcb2294maczniak
8bb7126c063c34d63966733988411f72dfcb2294maczniak
8bb7126c063c34d63966733988411f72dfcb2294maczniak#ifdef __cplusplus
8bb7126c063c34d63966733988411f72dfcb2294maczniakextern "C" {
8bb7126c063c34d63966733988411f72dfcb2294maczniak#endif
8bb7126c063c34d63966733988411f72dfcb2294maczniak
8bb7126c063c34d63966733988411f72dfcb2294maczniakDWORD WINAPI CommandLineFromMsiDescriptor(WCHAR*,WCHAR*,DWORD*);
8bb7126c063c34d63966733988411f72dfcb2294maczniakDWORD WINAPI GetManagedApplications(GUID*,DWORD,DWORD,LPDWORD,PMANAGEDAPPLICATION*);
8bb7126c063c34d63966733988411f72dfcb2294maczniak
8bb7126c063c34d63966733988411f72dfcb2294maczniak#ifdef __cplusplus
8bb7126c063c34d63966733988411f72dfcb2294maczniak}
8bb7126c063c34d63966733988411f72dfcb2294maczniak#endif
8bb7126c063c34d63966733988411f72dfcb2294maczniak
8bb7126c063c34d63966733988411f72dfcb2294maczniak#endif /* _APPMGMT_H */
8bb7126c063c34d63966733988411f72dfcb2294maczniak