Lines Matching refs:medium
155 STGMEDIUM medium; in UpdateDropDescription() local
164 auto hr = pDataObj->GetData(&fmt, &medium); in UpdateDropDescription()
169 if (!medium.hGlobal) { in UpdateDropDescription()
171 ReleaseStgMedium(&medium); in UpdateDropDescription()
174 auto dd = (DROPDESCRIPTION*)GlobalLock(medium.hGlobal); in UpdateDropDescription()
177 ReleaseStgMedium(&medium); in UpdateDropDescription()
184 GlobalUnlock(medium.hGlobal); in UpdateDropDescription()
185 ReleaseStgMedium(&medium); in UpdateDropDescription()
193 STGMEDIUM medium; in GetDragWindow() local
202 hr = pDataObj->GetData(&fmt, &medium); in GetDragWindow()
207 if (!medium.hGlobal) { in GetDragWindow()
209 ReleaseStgMedium(&medium); in GetDragWindow()
213 pMem = (HWND*)GlobalLock(medium.hGlobal); in GetDragWindow()
216 ReleaseStgMedium(&medium); in GetDragWindow()
222 GlobalUnlock(medium.hGlobal); in GetDragWindow()
223 ReleaseStgMedium(&medium); in GetDragWindow()
232 STGMEDIUM medium; in GetArguments() local
241 hr = pDataObj->GetData(&fmt, &medium); in GetArguments()
246 if (!medium.hGlobal) { in GetArguments()
248 ReleaseStgMedium(&medium); in GetArguments()
252 pdropfiles = (DROPFILES*)GlobalLock(medium.hGlobal); in GetArguments()
255 ReleaseStgMedium(&medium); in GetArguments()
307 GlobalUnlock(medium.hGlobal); in GetArguments()
308 ReleaseStgMedium(&medium); in GetArguments()