MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / HFile

Method HFile

Win32Lib/Win32Lib.cpp:477–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477HFile::HFile(const std::string& filename) :
478 m_handle(-1)
479{
480 if (::_sopen_s(&m_handle, filename.c_str(), _O_RDWR | _O_CREAT, _SH_DENYNO, _S_IREAD | _S_IWRITE) != 0)
481 {
482 ThrowLastError("_sopen_s");
483 }
484}
485
486HFile::~HFile()
487{

Callers

nothing calls this directly

Calls 2

ThrowLastErrorFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected