ReactOS 0.4.16-dev-136-g52192f1
msi.c File Reference
#include <advapi32.h>
Include dependency graph for msi.c:

Go to the source code of this file.

Macros

#define debugstr_aw   debugstr_a
 

Typedefs

typedef UINT(WINAPIfnMsiProvideComponentFromDescriptor) (LPCWSTR, LPWSTR, DWORD *, DWORD *)
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (advapi)
 
DWORD WINAPI CommandLineFromMsiDescriptor (WCHAR *szDescriptor, WCHAR *szCommandLine, DWORD *pcchCommandLine)
 

Macro Definition Documentation

◆ debugstr_aw

#define debugstr_aw   debugstr_a

Definition at line 14 of file msi.c.

Typedef Documentation

◆ fnMsiProvideComponentFromDescriptor

typedef UINT(WINAPI * fnMsiProvideComponentFromDescriptor) (LPCWSTR, LPWSTR, DWORD *, DWORD *)

Definition at line 20 of file msi.c.

Function Documentation

◆ CommandLineFromMsiDescriptor()

DWORD WINAPI CommandLineFromMsiDescriptor ( WCHAR szDescriptor,
WCHAR szCommandLine,
DWORD pcchCommandLine 
)

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}
#define NULL
Definition: types.h:112
UINT(WINAPI * fnMsiProvideComponentFromDescriptor)(LPCWSTR, LPWSTR, DWORD *, DWORD *)
Definition: msi.c:20
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102
#define GetProcAddress(x, y)
Definition: compat.h:753
#define FreeLibrary(x)
Definition: compat.h:748
#define LoadLibraryW(x)
Definition: compat.h:747
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
unsigned int UINT
Definition: ndis.h:50
#define TRACE(s)
Definition: solgame.cpp:4
__wchar_t WCHAR
Definition: xmlstorage.h:180

Referenced by shelllink_get_msi_component_path().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( advapi  )