LibreOffice Module setup_native (master) 1
Functions
quickstarter.cxx File Reference
#include "quickstarter.hxx"
#include <psapi.h>
#include <malloc.h>
Include dependency graph for quickstarter.cxx:

Go to the source code of this file.

Functions

std::wstring GetOfficeInstallationPathW (MSIHANDLE handle)
 
std::wstring GetOfficeProductNameW (MSIHANDLE handle)
 
std::wstring GetQuickstarterLinkNameW (MSIHANDLE handle)
 
static bool IsValidHandle (HANDLE handle)
 
static DWORD WINAPI GetModuleFileNameExW_ (HANDLE hProcess, HMODULE hModule, PWSTR lpFileName, DWORD nSize)
 
std::wstring GetProcessImagePathW (DWORD dwProcessId)
 

Function Documentation

◆ GetModuleFileNameExW_()

static DWORD WINAPI GetModuleFileNameExW_ ( HANDLE  hProcess,
HMODULE  hModule,
PWSTR  lpFileName,
DWORD  nSize 
)
static

Definition at line 94 of file quickstarter.cxx.

Referenced by GetProcessImagePathW().

◆ GetOfficeInstallationPathW()

std::wstring GetOfficeInstallationPathW ( MSIHANDLE  handle)

Definition at line 26 of file quickstarter.cxx.

Referenced by EnumWindowsProc().

◆ GetOfficeProductNameW()

std::wstring GetOfficeProductNameW ( MSIHANDLE  handle)

Definition at line 44 of file quickstarter.cxx.

◆ GetProcessImagePathW()

std::wstring GetProcessImagePathW ( DWORD  dwProcessId)

Definition at line 112 of file quickstarter.cxx.

References FALSE, GetModuleFileNameExW_(), IsValidHandle(), and MAX_PATH.

Referenced by EnumWindowsProc().

◆ GetQuickstarterLinkNameW()

std::wstring GetQuickstarterLinkNameW ( MSIHANDLE  handle)

Definition at line 62 of file quickstarter.cxx.

Referenced by __declspec().

◆ IsValidHandle()

static bool IsValidHandle ( HANDLE  handle)
static

Definition at line 89 of file quickstarter.cxx.

Referenced by __declspec(), and GetProcessImagePathW().