MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / GlobalHandle

Method GlobalHandle

src/common/WinInet.cpp:103–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101GlobalHandle::GlobalHandle() = default;
102
103GlobalHandle::GlobalHandle(const wchar_t *agent, DWORD access_type, const wchar_t *proxy_string, const wchar_t *proxy_bypass, DWORD flags) {
104 m_handle = InternetOpen(agent, access_type, proxy_string, proxy_bypass, flags);
105 if (!m_handle.get())
106 throw_if_error();
107}
108
109GlobalHandle::~GlobalHandle() {
110 if (m_handle.get())

Callers

nothing calls this directly

Calls 2

throw_if_errorFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected