38 references to Value
System.Private.Windows.Core (38)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (13)
37return nativeDataObject.Value->DAdvise(pformatetc, advf, pAdvSink, pdwConnection); 43return nativeDataObject.Value->DUnadvise(dwConnection); 49return nativeDataObject.Value->EnumDAdvise(ppenumAdvise); 55return nativeDataObject.Value->EnumFormatEtc(dwDirection, ppenumFormatEtc); 61return nativeDataObject.Value->GetData(pformatetcIn, pmedium); 67return nativeDataObject.Value->GetDataHere(pformatetc, pmedium); 73return nativeDataObject.Value->QueryGetData(pformatetc); 79return nativeDataObject.Value->GetCanonicalFormatEtc(pformatectIn, pformatetcOut); 85return nativeDataObject.Value->SetData(pformatetc, pmedium, fRelease); 372pStream.Value->Stat(out Com.STATSTG sstg, (uint)Com.STATFLAG.STATFLAG_DEFAULT); 384pStream.Value->Read((byte*)ptr, (uint)sstg.cbSize, null); 555enumFORMATETC.Value->Reset(); 559while (enumFORMATETC.Value->Next(1, &formatEtc) == HRESULT.S_OK)
System\Private\Windows\Ole\Composition.NativeToRuntimeAdapter.cs (9)
36return nativeDataObject.Value->DAdvise(nativeFormat, (uint)advf, nativeAdviseSink, (uint*)pConnection); 43nativeDataObject.Value->DUnadvise((uint)connection).ThrowOnFailure(); 50HRESULT result = nativeDataObject.Value->EnumDAdvise(nativeStatData); 59if (nativeDataObject.Value->EnumFormatEtc((uint)direction, nativeFormat).Failed) 70HRESULT result = nativeDataObject.Value->GetCanonicalFormatEtc(Unsafe.As<FORMATETC, Com.FORMATETC>(ref formatIn), out Com.FORMATETC nativeFormat); 80nativeDataObject.Value->GetData(&nativeFormat, &nativeMedium).ThrowOnFailure(); 90nativeDataObject.Value->GetDataHere(&nativeFormat, &nativeMedium).ThrowOnFailure(); 98return nativeDataObject.Value->QueryGetData(Unsafe.As<FORMATETC, Com.FORMATETC>(ref format)); 106HRESULT result = nativeDataObject.Value->SetData(&nativeFormat, &nativeMedium, release);
System\Private\Windows\Ole\DragDropHelper.cs (6)
68dropTargetHelper.Value->DragEnter(targetWindowHandle, dataObjectScope, in point, effect); 82dropTargetHelper.Value->DragLeave(); 98dropTargetHelper.Value->DragOver(&point, (DROPEFFECT)(uint)e.Effect); 115dropTargetHelper.Value->Drop(dataObjectScope, in point, (DROPEFFECT)(uint)e.Effect); 283if (dragSourceHelper.Value->SetFlags((uint)DSH_FLAGS.DSH_ALLOWDROPDESCRIPTIONTEXT).Failed) 290if (dragSourceHelper.Value->InitializeFromBitmap(shDragImage, dataObjectScope).Failed)
Windows\Win32\System\Com\AgileComPointer.cs (4)
68return currentUnknown.Value == otherUnknown.Value; 76return currentUnknown.Value == otherUnknown.Value;
Windows\Win32\System\Com\ComHelpers.cs (4)
161where TInterface : unmanaged, IComIID => TryGetObjectForIUnknown(comScope.Value, out @object); 258return ccw.Value == unknown; 283where TInterface : unmanaged, IComIID => GetObjectForIUnknown(comScope.Value); 343typelib.Value->GetTypeInfoOfGuid(interfaceId, typeInfo).ThrowOnFailure();
Windows\Win32\System\Com\ComScope.cs (2)
63hr = ((IUnknown*)Value)->QueryInterface(IID.Get<TTo>(), scope); 73((IUnknown*)Value)->QueryInterface(IID.Get<TTo>(), scope).ThrowOnFailure();