mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-20 23:27:50 +08:00
8231d07706
* Fix. Msi. Terminate brokers. Signed-off-by: fufesou <shuanglongchen@yeah.net> * Fix. Msi, remove tray shortcut in startmenu Signed-off-by: fufesou <shuanglongchen@yeah.net> * Msi. format Signed-off-by: fufesou <shuanglongchen@yeah.net> * Feat. Msi, set property Signed-off-by: fufesou <shuanglongchen@yeah.net> * Fix. Mis, only do InstallValidate if is Install Signed-off-by: fufesou <shuanglongchen@yeah.net> --------- Signed-off-by: fufesou <shuanglongchen@yeah.net>
16 lines
460 B
C++
16 lines
460 B
C++
#pragma once
|
|
|
|
#include <Windows.h>
|
|
#include <string>
|
|
|
|
bool AddFirewallRule(bool add, LPWSTR exeName, LPWSTR exeFile);
|
|
|
|
bool IsServiceRunningW(LPCWSTR serviceName);
|
|
bool MyCreateServiceW(LPCWSTR serviceName, LPCWSTR displayName, LPCWSTR binaryPath);
|
|
bool MyDeleteServiceW(LPCWSTR serviceName);
|
|
bool MyStartServiceW(LPCWSTR serviceName);
|
|
bool MyStopServiceW(LPCWSTR serviceName);
|
|
|
|
std::wstring ReadConfig(const std::wstring& filename, const std::wstring& key);
|
|
|