MCPcopy Create free account
hub / github.com/LegacyUpdate/LegacyUpdate / IsolationAwareEnd

Function IsolationAwareEnd

LegacyUpdate/Compat.cpp:87–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void IsolationAwareEnd(ULONG_PTR *cookie) {
88 if (!$DeactivateActCtx || !$GetCurrentActCtx) {
89 return;
90 }
91
92 if (*cookie != 0) {
93 HANDLE hActCtx = INVALID_HANDLE_VALUE;
94 if ($GetCurrentActCtx(&hActCtx) && hActCtx != INVALID_HANDLE_VALUE) {
95 $DeactivateActCtx(0, *cookie);
96 $ReleaseActCtx(hActCtx);
97 }
98 *cookie = 0;
99 }
100}

Callers 2

CreateControlWindowMethod · 0.85
put_ValueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected