Lines Matching refs:stgMedium
72 STGMEDIUM stgMedium; in ThreadProc() local
95 hr = pIDataObj->GetData( &formatETC, &stgMedium ); in ThreadProc()
96 pGlobMem = GlobalLock( stgMedium.hGlobal ); in ThreadProc()
104 sizeGlobBuff = GlobalSize( stgMedium.hGlobal ); in ThreadProc()
115 GlobalUnlock( stgMedium.hGlobal ); in ThreadProc()
117 ReleaseStgMedium( &stgMedium ); in ThreadProc()
320 STGMEDIUM stgMedium; in PasteClipboardData2() local
334 hr = pIDataObject->GetData( &formatETC, &stgMedium ); in PasteClipboardData2()
335 pGlobMem = GlobalLock( stgMedium.hGlobal ); in PasteClipboardData2()
343 sizeGlobBuff = GlobalSize( stgMedium.hGlobal ); in PasteClipboardData2()
354 GlobalUnlock( stgMedium.hGlobal ); in PasteClipboardData2()
356 ReleaseStgMedium( &stgMedium ); in PasteClipboardData2()