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

Method Clone

IntelPresentMon/CommonUtilities/win/Handle.cpp:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46 }
47 Handle Handle::Clone() const
48 {
49 if (*this) {
50 return Handle::CreateCloned(handle_);
51 }
52 else {
53 return {};
54 }
55 }
56 Handle::HandleType Handle::Release()
57 {
58 return std::exchange(handle_, nullptr);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected