UnregisterForRuntimeStartup function
Stops/cancels runtime startup notification.
Syntax
HRESULT UnregisterForRuntimeStartup (
[in] PVOID pUnregisterToken)
);
Parameters
pUnregisterToken
[in] The token from the RegisterForRuntimeStartup APIs.
Return value
S_OK
The runtime startup callback was successfully unregistered.
E_FAIL
(or other E_
return codes)
Unregister failed.
Remarks
This API needs to be called during the debugger's shutdown to cleanup the internal data. It can be called in the startup callback. Otherwise, it will block until the callback thread finishes and no more callbacks will be initiated after this API returns.
Requirements
Platforms: See .NET supported operating systems.
Header: dbgshim.h
Library: dbgshim.dll, libdbgshim.so, libdbgshim.dylib
.NET Versions: Available since .NET Core 2.1
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for