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

Method GetProcessId

LegacyUpdate/ElevationHelper.cpp:188–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188STDMETHODIMP CElevationHelper::GetProcessId(DWORD *retval) {
189 if (retval == NULL) {
190 return E_POINTER;
191 }
192
193 *retval = GetCurrentProcessId();
194 return S_OK;
195}
196
197STDMETHODIMP CElevationHelper::BeforeUpdate(void) {
198 return PauseResumeNGenQueue(FALSE);

Callers 1

BeforeUpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected