appmgmt.h revision af062818b47340eef15700d2f0211576ba3506ee
2d0611ffc9f91c5fc2ddccb93f9a3d17791ae650takashi/*
2d0611ffc9f91c5fc2ddccb93f9a3d17791ae650takashi * Copyright (C) 2005 Mike McCormack
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd *
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd * This library is free software; you can redistribute it and/or
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd * modify it under the terms of the GNU Lesser General Public
a78048ccbdb6256da15e6b0e7e95355e480c2301nd * License as published by the Free Software Foundation; either
a78048ccbdb6256da15e6b0e7e95355e480c2301nd * version 2.1 of the License, or (at your option) any later version.
a78048ccbdb6256da15e6b0e7e95355e480c2301nd *
a78048ccbdb6256da15e6b0e7e95355e480c2301nd * This library is distributed in the hope that it will be useful,
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen * but WITHOUT ANY WARRANTY; without even the implied warranty of
0d507cf3a73c7f2d97ed0fead6907ec99f0ac1e7nd * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen * Lesser General Public License for more details.
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen *
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _APPMGMT_H
#define _APPMGMT_H
typedef struct _MANAGEDAPPLICATION
{
LPWSTR pszPackageName;
LPWSTR pszPublisher;
DWORD dwVersionHi;
DWORD dwVersionLo;
DWORD dwRevision;
GUID GpoId;
LPWSTR pszPolicyName;
GUID ProductId;
LANGID Language;
LPWSTR pszOwner;
LPWSTR pszCompany;
LPWSTR pszComments;
LPWSTR pszContact;
LPWSTR pszSupportUrl;
DWORD dwPathType;
BOOL bInstalled;
} MANAGEDAPPLICATION, *PMANAGEDAPPLICATION;
#ifdef __cplusplus
extern "C" {
#endif
DWORD WINAPI CommandLineFromMsiDescriptor(WCHAR*,WCHAR*,DWORD*);
DWORD WINAPI GetManagedApplications(GUID*,DWORD,DWORD,LPDWORD,PMANAGEDAPPLICATION*);
#ifdef __cplusplus
}
#endif
#endif /* _APPMGMT_H */