Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 903 Bytes

handles-and-objects.md

File metadata and controls

42 lines (29 loc) · 903 Bytes

Handles and Objects

Contents

Reference

Functions

MakePermanentObject

MakeTemporaryObject

IsPermanentObject

IsTemporaryObject

Example

C/C++

#include <Win32Ex/System/Object.h>

HANDLE handle = ....
MakePermanentObject(handle); // Administrator privilege required
IsPermanentObject(handle); // == TRUE
MakeTemporaryObject(handle);
IsTemporaryObject(handle); // == TRUE