MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / Clear

Method Clear

IntelPresentMon/CommonUtilities/win/Handle.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 return handle_;
38 }
39 void Handle::Clear()
40 {
41 if (*this) {
42 if (!CloseHandle(std::exchange(handle_, nullptr))) {
43 throw Except<HrError>("Failed closing handle in Handle wrapper");
44 }
45 }
46 }
47 Handle Handle::Clone() const
48 {
49 if (*this) {

Callers 5

WaitWithBufferMethod · 0.45
TEST_CLASSFunction · 0.45
TEST_METHODFunction · 0.45
TEST_METHODFunction · 0.45
OnBeforeContextMenuMethod · 0.45

Calls

no outgoing calls

Tested by 1

TEST_METHODFunction · 0.36