#include <XHGLOBAL.h>
Public Member Functions | |
| XHGLOBAL () | |
| Construct an unbound handle. | |
| XHGLOBAL (HGLOBAL h) | |
| Constructor taking ownership of an existing handle. | |
| ~XHGLOBAL () | |
| Tidy up, closing the encapsulated handle. | |
| void | Close () |
| Close the encapsulated handle. | |
| operator HGLOBAL () const | |
| Extractor returning the encapsulated handle. | |
| HGLOBAL * | operator & () |
| Extractor returning the address of the encapsulated handle. | |
| LPVOID | Lock () |
| Lock the memory block. | |
| BOOL | Unlock () |
| Unlock the memory block. | |
| HGLOBAL | operator= (HGLOBAL h) |
| Assign a new handle and take ownership of it. | |
| HGLOBAL | Detach () |
| Detach and return the encapsulated handle. | |
|
|
Lock the memory block.
|
|
|
Unlock the memory block.
|
1.3.9.1