MCPcopy Create free account
hub / github.com/WinDurango/WinDurango / Release

Method Release

projects/WinDurango.KernelX/src/EraCoreApplication.cpp:160–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158
159ULONG CoreApplicationEra::AddRef()
160{
161 return InterlockedIncrement(&m_RefCount);
162}
163
164ULONG CoreApplicationEra::Release()
165{
166 ULONG RefCount = InterlockedDecrement(&m_RefCount);
167 if (!RefCount) delete this;
168 return RefCount;
169}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected