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