[ntcore] Provide mechanism to reset internals of NT instance (#4653)

This commit is contained in:
Dustin Spicuzza
2022-11-18 13:21:05 -05:00
committed by GitHub
parent 13aceea8dc
commit 388e7a4265
9 changed files with 62 additions and 0 deletions

View File

@@ -348,6 +348,13 @@ NT_Inst GetDefaultInstance();
*/
NT_Inst CreateInstance();
/**
* Reset the internals of an instance. Every handle previously associated
* with this instance will no longer be valid, except for the instance
* handle.
*/
void ResetInstance(NT_Inst inst);
/**
* Destroy an instance.
* The default instance cannot be destroyed.