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

OW32::XHLOCAL Class Reference

HLOCAL wrapper. More...

#include <XHLOCAL.h>

List of all members.

Public Member Functions

 XHLOCAL ()
 Construct an unbound handle.
 XHLOCAL (HLOCAL h)
 Constructor taking ownership of an existing handle.
 ~XHLOCAL ()
 Tidy up, closing the encapsulated handle.
void Close ()
 Close the encapsulated handle.
 operator HLOCAL () const
 Extractor returning the encapsulated handle.
HLOCAL * operator & ()
 Extractor returning the address of the encapsulated handle.
LPVOID Lock ()
 Lock the memory block.
BOOL Unlock ()
 Unlock the memory block.
HLOCAL operator= (HLOCAL h)
 Assign a new handle and take ownership of it.
HLOCAL Detach ()
 Detach and return the encapsulated handle.


Detailed Description

HLOCAL wrapper.


Member Function Documentation

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

Lock the memory block.

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

BOOL OW32::XHLOCAL::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