Lines Matching refs:hGlob
39 HGLOBAL hGlob, in CStgTransferHelper() argument
45 init( hGlob, m_bDelStgOnRelease ); in CStgTransferHelper()
74 HGLOBAL hGlob; in write() local
75 hr = GetHGlobalFromStream( m_lpStream, &hGlob ); in write()
78 /*DWORD dwSize =*/ GlobalSize( hGlob ); in write()
79 /*LPVOID lpdbgData =*/ GlobalLock( hGlob ); in write()
80 GlobalUnlock( hGlob ); in write()
107 HGLOBAL hGlob = NULL; in getHGlobal() local
111 HRESULT hr = GetHGlobalFromStream( m_lpStream, &hGlob ); in getHGlobal()
113 hGlob = NULL; in getHGlobal()
116 return hGlob; in getHGlobal()
143 HGLOBAL hGlob = GlobalAlloc( uiFlags, newSize ); in init() local
144 if ( NULL == hGlob ) in init()
147 HRESULT hr = CreateStreamOnHGlobal( hGlob, m_bDelStgOnRelease, &m_lpStream ); in init()
150 GlobalFree( hGlob ); in init()
166 void SAL_CALL CStgTransferHelper::init( HGLOBAL hGlob, in init() argument
173 HRESULT hr = CreateStreamOnHGlobal( hGlob, m_bDelStgOnRelease, &m_lpStream ); in init()
186 HGLOBAL hGlob; in cleanup() local
187 GetHGlobalFromStream( m_lpStream, &hGlob ); in cleanup()
188 GlobalFree( hGlob ); in cleanup()
208 HGLOBAL hGlob; in memSize() local
209 GetHGlobalFromStream( m_lpStream, &hGlob ); in memSize()
213 sal_Char* pText = static_cast< sal_Char* >( GlobalLock( hGlob ) ); in memSize()
217 GlobalUnlock( hGlob ); in memSize()
222 sal_Unicode* pText = static_cast< sal_Unicode* >( GlobalLock( hGlob ) ); in memSize()
226 GlobalUnlock( hGlob ); in memSize()
230 dwSize = GlobalSize( hGlob ); in memSize()