MCPcopy Create free account
hub / github.com/Windscribe/Desktop-App / currentStatus

Method currentStatus

src/helper/windows/firewallfilter.cpp:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63bool FirewallFilter::currentStatus()
64{
65 std::lock_guard<std::recursive_mutex> guard(mutex_);
66 HANDLE hEngine = fwpmWrapper_.getHandleAndLock();
67 bool bRet = currentStatusImpl(hEngine);
68 fwpmWrapper_.unlock();
69 return bRet;
70}
71
72bool FirewallFilter::currentStatusImpl(HANDLE engineHandle)
73{

Callers 4

firewallOnFunction · 0.80
firewallOffFunction · 0.80
firewallActualStateFunction · 0.80
updateStateMethod · 0.80

Calls 2

getHandleAndLockMethod · 0.80
unlockMethod · 0.45

Tested by

no test coverage detected