LibreOffice Module setup_native (master) 1
|
#include <windows.h>
#include <msiquery.h>
#include <malloc.h>
#include <string>
#include <strsafe.h>
Go to the source code of this file.
Macros | |
#define | WIN32_LEAN_AND_MEAN |
Functions | |
void | OutputDebugStringFormatW (LPCWSTR pFormat,...) |
static bool | CheckExtensionInRegistry (LPCWSTR lpSubKey) |
static bool | GetMsiPropW (MSIHANDLE handle, LPCWSTR name, std::wstring &value) |
static bool | IsSetMsiPropW (MSIHANDLE handle, LPCWSTR name) |
static void | registerForExtension (MSIHANDLE handle, const int nIndex, bool bRegister) |
static void | saveOldRegistration (LPCWSTR lpSubKey) |
static void | registerForExtensions (MSIHANDLE handle, bool bRegisterAll) |
static bool | checkSomeExtensionInRegistry (const int nStart, const int nEnd) |
static void | registerSomeExtensions (MSIHANDLE handle, const int nStart, const int nEnd, bool bRegister) |
__declspec (dllexport) UINT __stdcall LookForRegisteredExtensions(MSIHANDLE handle) | |
static void | restoreOldRegistration (LPCWSTR lpSubKey) |
Variables | |
static const WCHAR * | g_Extensions [] |
const int | WORD_START = 0 |
const int | EXCEL_START = 9 |
const int | POWERPOINT_START = 20 |
const int | VISIO_START = 30 |
const int | VISIO_END = 32 |
#define WIN32_LEAN_AND_MEAN |
Definition at line 20 of file reg4allmsi.cxx.
__declspec | ( | dllexport | ) |
Definition at line 260 of file reg4allmsi.cxx.
References checkSomeExtensionInRegistry(), EXCEL_START, IsSetMsiPropW(), OutputDebugStringFormatW(), POWERPOINT_START, VISIO_END, VISIO_START, and WORD_START.
|
static |
Definition at line 92 of file reg4allmsi.cxx.
References LONG, and OutputDebugStringFormatW().
Referenced by checkSomeExtensionInRegistry(), and registerForExtensions().
Definition at line 233 of file reg4allmsi.cxx.
References CheckExtensionInRegistry(), g_Extensions, nIndex, and OutputDebugStringFormatW().
Referenced by __declspec().
|
static |
Definition at line 135 of file reg4allmsi.cxx.
Referenced by IsSetMsiPropW().
|
static |
Definition at line 152 of file reg4allmsi.cxx.
References GetMsiPropW(), and name.
Referenced by __declspec().
|
inline |
Definition at line 76 of file reg4allmsi.cxx.
References args.
Referenced by __declspec(), CheckExtensionInRegistry(), checkSomeExtensionInRegistry(), and registerForExtension().
|
static |
Definition at line 159 of file reg4allmsi.cxx.
References g_Extensions, nIndex, and OutputDebugStringFormatW().
Referenced by registerForExtensions(), and registerSomeExtensions().
|
static |
Definition at line 219 of file reg4allmsi.cxx.
References CheckExtensionInRegistry(), g_Extensions, nIndex, registerForExtension(), and saveOldRegistration().
|
static |
Definition at line 250 of file reg4allmsi.cxx.
References g_Extensions, nIndex, and registerForExtension().
|
static |
Definition at line 453 of file reg4allmsi.cxx.
References LONG.
|
static |
Definition at line 175 of file reg4allmsi.cxx.
References LONG.
Referenced by registerForExtensions().
const int EXCEL_START = 9 |
Definition at line 66 of file reg4allmsi.cxx.
Referenced by __declspec().
|
static |
Definition at line 28 of file reg4allmsi.cxx.
Referenced by checkSomeExtensionInRegistry(), registerForExtension(), registerForExtensions(), and registerSomeExtensions().
const int POWERPOINT_START = 20 |
Definition at line 67 of file reg4allmsi.cxx.
Referenced by __declspec().
const int VISIO_END = 32 |
Definition at line 69 of file reg4allmsi.cxx.
Referenced by __declspec().
const int VISIO_START = 30 |
Definition at line 68 of file reg4allmsi.cxx.
Referenced by __declspec().
const int WORD_START = 0 |
Definition at line 65 of file reg4allmsi.cxx.
Referenced by __declspec().