ReactOS  0.4.15-dev-2704-gd5265b0
appmgmt.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _MANAGEDAPPLICATION
 

Typedefs

typedef struct _MANAGEDAPPLICATION MANAGEDAPPLICATION
 
typedef struct _MANAGEDAPPLICATIONPMANAGEDAPPLICATION
 

Functions

DWORD WINAPI CommandLineFromMsiDescriptor (WCHAR *, WCHAR *, DWORD *)
 
DWORD WINAPI GetManagedApplications (GUID *, DWORD, DWORD, LPDWORD, PMANAGEDAPPLICATION *)
 

Typedef Documentation

◆ MANAGEDAPPLICATION

◆ PMANAGEDAPPLICATION

Function Documentation

◆ CommandLineFromMsiDescriptor()

DWORD WINAPI CommandLineFromMsiDescriptor ( WCHAR ,
WCHAR ,
DWORD  
)

Definition at line 22 of file msi.c.

24 {
25  static const WCHAR szMsi[] = { 'm','s','i',0 };
27  HMODULE hmsi;
29 
30  TRACE("%S %p %p\n", szDescriptor, szCommandLine, pcchCommandLine);
31 
32  hmsi = LoadLibraryW( szMsi );
33  if (!hmsi)
34  return r;
35  mpcfd = (void*) GetProcAddress( hmsi, "MsiProvideComponentFromDescriptorW" );
36  if (mpcfd)
37  r = mpcfd( szDescriptor, szCommandLine, pcchCommandLine, NULL );
38  FreeLibrary( hmsi );
39  return r;
40 }
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
#define LoadLibraryW(x)
Definition: compat.h:606
#define TRACE(s)
Definition: solgame.cpp:4
#define FreeLibrary(x)
Definition: compat.h:607
__wchar_t WCHAR
Definition: xmlstorage.h:180
static const WCHAR szMsi[]
Definition: msipriv.h:1119
UINT(WINAPI * fnMsiProvideComponentFromDescriptor)(LPCWSTR, LPWSTR, DWORD *, DWORD *)
Definition: msi.c:20
unsigned int UINT
Definition: ndis.h:50
#define NULL
Definition: types.h:112
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102
#define GetProcAddress(x, y)
Definition: compat.h:612

Referenced by shelllink_get_msi_component_path().

◆ GetManagedApplications()

DWORD WINAPI GetManagedApplications ( GUID ,
DWORD  ,
DWORD  ,
LPDWORD  ,
PMANAGEDAPPLICATION  
)