35 lines
784 B
C
35 lines
784 B
C
#ifndef __MSICA_H__
|
|
#define __MSICA_H__
|
|
|
|
#include <msi.h>
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Calling declaration
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
#if defined(MSICA_DLL)
|
|
#define MSICA_API __declspec(dllexport)
|
|
#elif defined(MSICA_DLLIMP)
|
|
#define MSICA_API __declspec(dllimport)
|
|
#else
|
|
#define MSICA_API
|
|
#endif
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Exported functions
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
UINT MSICA_API MSICAInitialize(MSIHANDLE hInstall);
|
|
UINT MSICA_API ExecuteSequence(MSIHANDLE hInstall);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __MSICA_H__
|