Lines Matching refs:aMedium
225 sal_Bool ConvertDataForFlavor( const STGMEDIUM& aMedium,
282 sal_Bool OleComponentNative_Impl::ConvertDataForFlavor( const STGMEDIUM& aMedium, in ConvertDataForFlavor() argument
297 if ( aMedium.tymed == TYMED_MFPICT ) // Win Metafile in ConvertDataForFlavor()
300 METAFILEPICT* pMF = ( METAFILEPICT* )GlobalLock( aMedium.hMetaFilePict ); in ConvertDataForFlavor()
325 GlobalUnlock( aMedium.hMetaFilePict ); in ConvertDataForFlavor()
328 else if ( aMedium.tymed == TYMED_ENHMF ) // Enh Metafile in ConvertDataForFlavor()
331 nBufSize = GetEnhMetaFileBits( aMedium.hEnhMetaFile, 0, NULL ); in ConvertDataForFlavor()
333 if ( nBufSize && nBufSize == GetEnhMetaFileBits( aMedium.hEnhMetaFile, nBufSize, pBuf ) ) in ConvertDataForFlavor()
342 else if ( aMedium.tymed == TYMED_GDI ) // Bitmap in ConvertDataForFlavor()
345 nBufSize = GetBitmapBits( aMedium.hBitmap, 0, NULL ); in ConvertDataForFlavor()
347 …if ( nBufSize && nBufSize == sal::static_int_cast< ULONG >( GetBitmapBits( aMedium.hBitmap, nBufSi… in ConvertDataForFlavor()
1155 STGMEDIUM aMedium; in GetExtent() local
1159 hr = pDataObject->GetData( &aFormat, &aMedium ); in GetExtent()
1160 if ( SUCCEEDED( hr ) && aMedium.tymed == TYMED_MFPICT ) // Win Metafile in GetExtent()
1162 METAFILEPICT* pMF = ( METAFILEPICT* )GlobalLock( aMedium.hMetaFilePict ); in GetExtent()
1210 ::ReleaseStgMedium(&aMedium); in GetExtent()
1576 STGMEDIUM aMedium; in getTransferData() local
1580 hr = pDataObject->GetData( &aFormat, &aMedium ); in getTransferData()
1583 … bSupportedFlavor = m_pNativeImpl->ConvertDataForFlavor( aMedium, aFlavor, aResult ); in getTransferData()
1584 ::ReleaseStgMedium(&aMedium); // i113605, to release storge medium in getTransferData()