- Link : https://docs.microsoft.com/windows/win32/sysinfo/handles-and-objects
- Headers : Win32Ex/System/Object.h
C/C++
#include <Win32Ex/System/Object.h>
HANDLE handle = ....
MakePermanentObject(handle); // Administrator privilege required
IsPermanentObject(handle); // == TRUE
MakeTemporaryObject(handle);
IsTemporaryObject(handle); // == TRUE