LibreOffice Module dtrans (master)  1
Public Member Functions | Private Attributes | List of all members
CRawHGlobalPtr Class Reference

#include <DTransHelper.hxx>

Public Member Functions

 CRawHGlobalPtr (HGLOBAL hGlob)
 
 CRawHGlobalPtr (const CStgTransferHelper &theHGlobalHelper)
 
 ~CRawHGlobalPtr ()
 
BOOL Lock ()
 
BOOL Unlock ()
 
LPVOID GetMemPtr ()
 
int MemSize () const
 

Private Attributes

HGLOBAL m_hGlob
 
BOOL m_bIsLocked
 
LPVOID m_pGlobMem
 

Detailed Description

Definition at line 90 of file DTransHelper.hxx.

Constructor & Destructor Documentation

CRawHGlobalPtr::CRawHGlobalPtr ( HGLOBAL  hGlob)
inlineexplicit

Definition at line 96 of file DTransHelper.hxx.

References FALSE.

CRawHGlobalPtr::CRawHGlobalPtr ( const CStgTransferHelper theHGlobalHelper)
inlineexplicit

Definition at line 105 of file DTransHelper.hxx.

References FALSE.

CRawHGlobalPtr::~CRawHGlobalPtr ( )
inline

Definition at line 114 of file DTransHelper.hxx.

References m_bIsLocked, and m_hGlob.

Member Function Documentation

LPVOID CRawHGlobalPtr::GetMemPtr ( )
inline

Definition at line 149 of file DTransHelper.hxx.

References Lock(), and m_pGlobMem.

Referenced by MultiByteToWideCharEx(), and WideCharToMultiByteEx().

BOOL CRawHGlobalPtr::Lock ( )
inline

Definition at line 123 of file DTransHelper.hxx.

References m_bIsLocked, m_hGlob, and m_pGlobMem.

Referenced by GetMemPtr().

int CRawHGlobalPtr::MemSize ( ) const
inline

Definition at line 157 of file DTransHelper.hxx.

References m_hGlob.

Referenced by MultiByteToWideCharEx(), and WideCharToMultiByteEx().

BOOL CRawHGlobalPtr::Unlock ( )
inline

Definition at line 137 of file DTransHelper.hxx.

References FALSE, m_bIsLocked, m_hGlob, m_pGlobMem, and NO_ERROR.

Member Data Documentation

BOOL CRawHGlobalPtr::m_bIsLocked
private

Definition at line 164 of file DTransHelper.hxx.

Referenced by Lock(), Unlock(), and ~CRawHGlobalPtr().

HGLOBAL CRawHGlobalPtr::m_hGlob
private

Definition at line 163 of file DTransHelper.hxx.

Referenced by Lock(), MemSize(), Unlock(), and ~CRawHGlobalPtr().

LPVOID CRawHGlobalPtr::m_pGlobMem
private

Definition at line 165 of file DTransHelper.hxx.

Referenced by GetMemPtr(), Lock(), and Unlock().


The documentation for this class was generated from the following file: