Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

OW32::XHGLOBAL Class Reference

HGLOBAL wrapper. More...

#include <XHGLOBAL.h>

List of all members.

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.


Detailed Description

HGLOBAL wrapper.


Member Function Documentation

LPVOID OW32::XHGLOBAL::Lock  )  [inline]
 

Lock the memory block.

Returns:
pointer to the block if successful, NULL on failure

BOOL OW32::XHGLOBAL::Unlock  )  [inline]
 

Unlock the memory block.

Returns:
TRUE if successful, FALSE if not


The documentation for this class was generated from the following file:
Generated on Sun Jun 5 01:29:30 2005 for OW32 by  doxygen 1.3.9.1