LibreOffice Module onlineupdate (master) 1
Macros | Functions
updatehelper.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SVC_NAME   L"LibreOfficeMaintenance"
 
#define BASE_SERVICE_REG_KEY    L"SOFTWARE\\LibreOffice\\MaintenanceService"
 
#define TEST_ONLY_FALLBACK_KEY_PATH    BASE_SERVICE_REG_KEY L"\\3932ecacee736d366d6436db0f55bce4"
 

Functions

BOOL LaunchWinPostProcess (const WCHAR *installationDir, const WCHAR *updateInfoDir, bool forceSync, HANDLE userToken)
 
BOOL StartServiceUpdate (LPCWSTR installDir)
 
BOOL GetUpdateDirectoryPath (LPWSTR path)
 
DWORD LaunchServiceSoftwareUpdateCommand (int argc, LPCWSTR *argv)
 
BOOL WriteStatusFailure (LPCWSTR updateDirPath, int errorCode)
 
BOOL WriteStatusPending (LPCWSTR updateDirPath)
 
DWORD WaitForServiceStop (LPCWSTR serviceName, DWORD maxWaitSeconds)
 
DWORD WaitForProcessExit (LPCWSTR filename, DWORD maxSeconds)
 
BOOL DoesFallbackKeyExist ()
 
BOOL IsLocalFile (LPCWSTR file, BOOL &isLocal)
 
DWORD StartServiceCommand (int argc, LPCWSTR *argv)
 
BOOL IsUnpromptedElevation (BOOL &isUnpromptedElevation)
 

Macro Definition Documentation

◆ BASE_SERVICE_REG_KEY

#define BASE_SERVICE_REG_KEY    L"SOFTWARE\\LibreOffice\\MaintenanceService"

Definition at line 23 of file updatehelper.h.

◆ SVC_NAME

#define SVC_NAME   L"LibreOfficeMaintenance"

Definition at line 21 of file updatehelper.h.

◆ TEST_ONLY_FALLBACK_KEY_PATH

#define TEST_ONLY_FALLBACK_KEY_PATH    BASE_SERVICE_REG_KEY L"\\3932ecacee736d366d6436db0f55bce4"

Definition at line 32 of file updatehelper.h.

Function Documentation

◆ DoesFallbackKeyExist()

BOOL DoesFallbackKeyExist ( )

Referenced by NS_main().

◆ GetUpdateDirectoryPath()

BOOL GetUpdateDirectoryPath ( LPWSTR  path)

◆ IsLocalFile()

BOOL IsLocalFile ( LPCWSTR  file,
BOOL isLocal 
)

◆ IsUnpromptedElevation()

BOOL IsUnpromptedElevation ( BOOL isUnpromptedElevation)

Referenced by NS_main().

◆ LaunchServiceSoftwareUpdateCommand()

DWORD LaunchServiceSoftwareUpdateCommand ( int  argc,
LPCWSTR *  argv 
)

Referenced by NS_main().

◆ LaunchWinPostProcess()

BOOL LaunchWinPostProcess ( const WCHAR *  installationDir,
const WCHAR *  updateInfoDir,
bool  forceSync,
HANDLE  userToken 
)

◆ StartServiceCommand()

DWORD StartServiceCommand ( int  argc,
LPCWSTR *  argv 
)

◆ StartServiceUpdate()

BOOL StartServiceUpdate ( LPCWSTR  installDir)

◆ WaitForProcessExit()

DWORD WaitForProcessExit ( LPCWSTR  filename,
DWORD  maxSeconds 
)

Referenced by StopService().

◆ WaitForServiceStop()

DWORD WaitForServiceStop ( LPCWSTR  serviceName,
DWORD  maxWaitSeconds 
)

Referenced by NS_main(), and StopService().

◆ WriteStatusFailure()

BOOL WriteStatusFailure ( LPCWSTR  updateDirPath,
int  errorCode 
)

◆ WriteStatusPending()

BOOL WriteStatusPending ( LPCWSTR  updateDirPath)