Home | History | Annotate | Download | only in base

Lines Matching refs:authorized

92 bool WinFirewall::QueryAuthorized(const char* filename, bool* authorized)
94 return QueryAuthorizedW(ToUtf16(filename).c_str(), authorized);
97 bool WinFirewall::QueryAuthorizedW(const wchar_t* filename, bool* authorized)
99 *authorized = false;
119 *authorized = (fwEnabled != VARIANT_FALSE);
122 // No entry in list of authorized apps
135 bool authorized,
138 ToUtf16(friendly_name).c_str(), authorized, result);
143 bool authorized,
160 hr = app->put_Enabled(authorized ? VARIANT_TRUE : VARIANT_FALSE);