LibreOffice Module onlineupdate (master) 1
Functions
workmonitor.hxx File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BOOL ExecuteServiceCommand (int argc, LPWSTR *argv)
 Executes a service command. More...
 

Function Documentation

◆ ExecuteServiceCommand()

BOOL ExecuteServiceCommand ( int  argc,
LPWSTR *  argv 
)

Executes a service command.

Parameters
argcThe number of arguments in argv
argvThe service command line arguments, argv[0] and argv[1] and automatically included by Windows. argv[2] is the service command.
Returns
FALSE if there was an error executing the service command.

Definition at line 679 of file workmonitor.cxx.

References DeleteSecureUpdater(), FALSE, GetSecureUpdaterPath(), hr, LOG, LOG_WARN, MAX_PATH, PathGetSiblingFilePath(), ProcessSoftwareUpdateCommand(), result, SERVICE_COULD_NOT_COPY_UPDATER, TRUE, and WriteStatusFailure().

Referenced by SvcMain().