5 instantiations of FORMATETC
Microsoft.Private.Windows.Core (5)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (3)
363Com.FORMATETC formatetc = new() 428Com.FORMATETC formatEtc = new() 723Com.FORMATETC formatEtc = new()
System\Private\Windows\Ole\DragDropHelper.cs (2)
198FORMATETC formatEtc = new() 356FORMATETC formatEtc = new()
142 references to FORMATETC
Microsoft.Private.Windows.Core (142)
System\Private\Windows\Ole\Composition.cs (7)
208public HRESULT DAdvise(FORMATETC* pformatetc, uint advf, IAdviseSink* pAdvSink, uint* pdwConnection) => _nativeDataObject.DAdvise(pformatetc, advf, pAdvSink, pdwConnection); 212public HRESULT GetCanonicalFormatEtc(FORMATETC* pformatectIn, FORMATETC* pformatetcOut) => _nativeDataObject.GetCanonicalFormatEtc(pformatectIn, pformatetcOut); 213public HRESULT GetData(FORMATETC* pformatetcIn, STGMEDIUM* pmedium) => _nativeDataObject.GetData(pformatetcIn, pmedium); 214public HRESULT GetDataHere(FORMATETC* pformatetc, STGMEDIUM* pmedium) => _nativeDataObject.GetDataHere(pformatetc, pmedium); 215public HRESULT QueryGetData(FORMATETC* pformatetc) => _nativeDataObject.QueryGetData(pformatetc); 216public HRESULT SetData(FORMATETC* pformatetc, STGMEDIUM* pmedium, BOOL fRelease) => _nativeDataObject.SetData(pformatetc, pmedium, fRelease);
System\Private\Windows\Ole\Composition.ManagedToNativeAdapter.cs (7)
41public HRESULT GetData(FORMATETC* pformatetcIn, STGMEDIUM* pmedium) 100public HRESULT GetDataHere(FORMATETC* pformatetc, STGMEDIUM* pmedium) 162public HRESULT QueryGetData(FORMATETC* pformatetc) 192public HRESULT GetCanonicalFormatEtc(FORMATETC* pformatectIn, FORMATETC* pformatetcOut) 203public HRESULT SetData(FORMATETC* pformatetc, STGMEDIUM* pmedium, BOOL fRelease) 253public HRESULT DAdvise(FORMATETC* pformatetc, uint advf, IAdviseSink* pAdvSink, uint* pdwConnection)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (11)
34public HRESULT DAdvise(Com.FORMATETC* pformatetc, uint advf, Com.IAdviseSink* pAdvSink, uint* pdwConnection) 58public HRESULT GetData(Com.FORMATETC* pformatetcIn, Com.STGMEDIUM* pmedium) 64public HRESULT GetDataHere(Com.FORMATETC* pformatetc, Com.STGMEDIUM* pmedium) 70public HRESULT QueryGetData(Com.FORMATETC* pformatetc) 76public HRESULT GetCanonicalFormatEtc(Com.FORMATETC* pformatectIn, Com.FORMATETC* pformatetcOut) 82public HRESULT SetData(Com.FORMATETC* pformatetc, Com.STGMEDIUM* pmedium, BOOL fRelease) 363Com.FORMATETC formatetc = new() 428Com.FORMATETC formatEtc = new() 649Com.FORMATETC formatEtc = default; 723Com.FORMATETC formatEtc = new()
System\Private\Windows\Ole\Composition.NativeToRuntimeAdapter.cs (12)
30fixed (Com.FORMATETC* nativeFormat = &Unsafe.As<FORMATETC, Com.FORMATETC>(ref pFormatetc)) 68HRESULT result = nativeDataObject.Value->GetCanonicalFormatEtc(Unsafe.As<FORMATETC, Com.FORMATETC>(ref formatIn), out Com.FORMATETC nativeFormat); 69formatOut = Unsafe.As<Com.FORMATETC, FORMATETC>(ref nativeFormat); 75Com.FORMATETC nativeFormat = Unsafe.As<FORMATETC, Com.FORMATETC>(ref format); 85Com.FORMATETC nativeFormat = Unsafe.As<FORMATETC, Com.FORMATETC>(ref format); 96return nativeDataObject.Value->QueryGetData(Unsafe.As<FORMATETC, Com.FORMATETC>(ref format)); 102Com.FORMATETC nativeFormat = Unsafe.As<FORMATETC, Com.FORMATETC>(ref formatIn);
System\Private\Windows\Ole\Composition.RuntimeToNativeAdapter.cs (7)
38HRESULT Com.IDataObject.Interface.DAdvise(Com.FORMATETC* pformatetc, uint advf, Com.IAdviseSink* pAdvSink, uint* pdwConnection) 89HRESULT Com.IDataObject.Interface.GetCanonicalFormatEtc(Com.FORMATETC* pformatectIn, Com.FORMATETC* pformatetcOut) => 92HRESULT Com.IDataObject.Interface.GetData(Com.FORMATETC* pformatetcIn, Com.STGMEDIUM* pmedium) 111HRESULT Com.IDataObject.Interface.GetDataHere(Com.FORMATETC* pformatetc, Com.STGMEDIUM* pmedium) 132HRESULT Com.IDataObject.Interface.QueryGetData(Com.FORMATETC* pformatetc) => (HRESULT)QueryGetData(ref *(FORMATETC*)pformatetc); 134HRESULT Com.IDataObject.Interface.SetData(Com.FORMATETC* pformatetc, Com.STGMEDIUM* pmedium, BOOL fRelease)
System\Private\Windows\Ole\DragDropHelper.cs (3)
162public static bool IsInDragLoopFormat(FORMATETC format) 198FORMATETC formatEtc = new() 356FORMATETC formatEtc = new()
System\Private\Windows\Ole\FormatEnumerator.cs (2)
106HRESULT IEnumFORMATETC.Interface.Next(uint celt, FORMATETC* rgelt, uint* pceltFetched) 121rgelt[i] = Unsafe.As<ComTypes.FORMATETC, FORMATETC>(ref elt[i]);
System\Private\Windows\Ole\IOleServices.cs (2)
32/// <inheritdoc cref="IDataObject.GetDataHere(FORMATETC*, STGMEDIUM*)"/> 36HRESULT GetDataHere(string format, object data, FORMATETC* pformatetc, STGMEDIUM* pmedium);
Windows.Win32.IAdviseSink.g.cs (7)
55 /// <inheritdoc cref="OnDataChange(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*)"/> 56 internal unsafe void OnDataChange(in winmdroot.System.Com.FORMATETC pFormatetc, in winmdroot.System.Com.STGMEDIUM pStgmed) 60 fixed (winmdroot.System.Com.FORMATETC* pFormatetcLocal = &pFormatetc) 74 public unsafe void OnDataChange(winmdroot.System.Com.FORMATETC* pFormatetc, winmdroot.System.Com.STGMEDIUM* pStgmed) 76 ((delegate *unmanaged [Stdcall]<IAdviseSink*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,void>)lpVtbl[3])((IAdviseSink*)Unsafe.AsPointer(ref this), pFormatetc, pStgmed); 143 internal delegate *unmanaged [Stdcall]<IAdviseSink*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,void> OnDataChange_4; 163 unsafe void OnDataChange(winmdroot.System.Com.FORMATETC* pFormatetc, winmdroot.System.Com.STGMEDIUM* pStgmed);
Windows.Win32.IDataObject.g.cs (49)
55 /// <inheritdoc cref="GetData(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*)"/> 56 internal unsafe winmdroot.Foundation.HRESULT GetData(in winmdroot.System.Com.FORMATETC pformatetcIn, out winmdroot.System.Com.STGMEDIUM pmedium) 60 fixed (winmdroot.System.Com.FORMATETC* pformatetcInLocal = &pformatetcIn) 79 public unsafe winmdroot.Foundation.HRESULT GetData(winmdroot.System.Com.FORMATETC* pformatetcIn, winmdroot.System.Com.STGMEDIUM* pmedium) 81 return ((delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IDataObject*)Unsafe.AsPointer(ref this), pformatetcIn, pmedium); 84 /// <inheritdoc cref="GetDataHere(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*)"/> 85 internal unsafe winmdroot.Foundation.HRESULT GetDataHere(in winmdroot.System.Com.FORMATETC pformatetc, ref winmdroot.System.Com.STGMEDIUM pmedium) 89 fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc) 108 public unsafe winmdroot.Foundation.HRESULT GetDataHere(winmdroot.System.Com.FORMATETC* pformatetc, winmdroot.System.Com.STGMEDIUM* pmedium) 110 return ((delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IDataObject*)Unsafe.AsPointer(ref this), pformatetc, pmedium); 113 /// <inheritdoc cref="QueryGetData(winmdroot.System.Com.FORMATETC*)"/> 114 internal unsafe winmdroot.Foundation.HRESULT QueryGetData(in winmdroot.System.Com.FORMATETC pformatetc) 116 fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc) 130 public unsafe winmdroot.Foundation.HRESULT QueryGetData(winmdroot.System.Com.FORMATETC* pformatetc) 132 return ((delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IDataObject*)Unsafe.AsPointer(ref this), pformatetc); 135 /// <inheritdoc cref="GetCanonicalFormatEtc(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.FORMATETC*)"/> 136 internal unsafe winmdroot.Foundation.HRESULT GetCanonicalFormatEtc(in winmdroot.System.Com.FORMATETC pformatectIn, out winmdroot.System.Com.FORMATETC pformatetcOut) 138 fixed (winmdroot.System.Com.FORMATETC* pformatetcOutLocal = &pformatetcOut) 140 fixed (winmdroot.System.Com.FORMATETC* pformatectInLocal = &pformatectIn) 159 public unsafe winmdroot.Foundation.HRESULT GetCanonicalFormatEtc(winmdroot.System.Com.FORMATETC* pformatectIn, winmdroot.System.Com.FORMATETC* pformatetcOut) 161 return ((delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.FORMATETC* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IDataObject*)Unsafe.AsPointer(ref this), pformatectIn, pformatetcOut); 164 /// <inheritdoc cref="SetData(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*, winmdroot.Foundation.BOOL)"/> 165 internal unsafe winmdroot.Foundation.HRESULT SetData(in winmdroot.System.Com.FORMATETC pformatetc, in winmdroot.System.Com.STGMEDIUM pmedium, winmdroot.Foundation.BOOL fRelease) 169 fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc) 189 public unsafe winmdroot.Foundation.HRESULT SetData(winmdroot.System.Com.FORMATETC* pformatetc, winmdroot.System.Com.STGMEDIUM* pmedium, winmdroot.Foundation.BOOL fRelease) 191 return ((delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IDataObject*)Unsafe.AsPointer(ref this), pformatetc, pmedium, fRelease); 214 /// <inheritdoc cref="DAdvise(winmdroot.System.Com.FORMATETC*, uint, winmdroot.System.Com.IAdviseSink*, uint*)"/> 215 internal unsafe winmdroot.Foundation.HRESULT DAdvise(in winmdroot.System.Com.FORMATETC pformatetc, uint advf, winmdroot.System.Com.IAdviseSink* pAdvSink, out uint pdwConnection) 219 fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc) 246 public unsafe winmdroot.Foundation.HRESULT DAdvise(winmdroot.System.Com.FORMATETC* pformatetc, uint advf, winmdroot.System.Com.IAdviseSink* pAdvSink, uint* pdwConnection) 248 return ((delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,uint ,winmdroot.System.Com.IAdviseSink* ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((IDataObject*)Unsafe.AsPointer(ref this), pformatetc, advf, pAdvSink, pdwConnection); 308 internal delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,winmdroot.Foundation.HRESULT> GetData_4; 310 internal delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,winmdroot.Foundation.HRESULT> GetDataHere_5; 312 internal delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.Foundation.HRESULT> QueryGetData_6; 314 internal delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.FORMATETC* ,winmdroot.Foundation.HRESULT> GetCanonicalFormatEtc_7; 316 internal delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> SetData_8; 320 internal delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,uint ,winmdroot.System.Com.IAdviseSink* ,uint* ,winmdroot.Foundation.HRESULT> DAdvise_10; 336 unsafe winmdroot.Foundation.HRESULT GetData(winmdroot.System.Com.FORMATETC* pformatetcIn, winmdroot.System.Com.STGMEDIUM* pmedium); 339 unsafe winmdroot.Foundation.HRESULT GetDataHere(winmdroot.System.Com.FORMATETC* pformatetc, winmdroot.System.Com.STGMEDIUM* pmedium); 342 unsafe winmdroot.Foundation.HRESULT QueryGetData(winmdroot.System.Com.FORMATETC* pformatetc); 345 unsafe winmdroot.Foundation.HRESULT GetCanonicalFormatEtc(winmdroot.System.Com.FORMATETC* pformatectIn, winmdroot.System.Com.FORMATETC* pformatetcOut); 348 unsafe winmdroot.Foundation.HRESULT SetData(winmdroot.System.Com.FORMATETC* pformatetc, winmdroot.System.Com.STGMEDIUM* pmedium, winmdroot.Foundation.BOOL fRelease); 354 unsafe winmdroot.Foundation.HRESULT DAdvise(winmdroot.System.Com.FORMATETC* pformatetc, uint advf, winmdroot.System.Com.IAdviseSink* pAdvSink, uint* pdwConnection);
Windows.Win32.IEnumFORMATETC.g.cs (7)
55 /// <inheritdoc cref="Next(uint, winmdroot.System.Com.FORMATETC*, uint*)"/> 56 internal unsafe winmdroot.Foundation.HRESULT Next(Span<winmdroot.System.Com.FORMATETC> rgelt, uint* pceltFetched) 58 fixed (winmdroot.System.Com.FORMATETC* rgeltLocal = rgelt) 76 public unsafe winmdroot.Foundation.HRESULT Next(uint celt, winmdroot.System.Com.FORMATETC* rgelt, [Optional] uint* pceltFetched) 78 return ((delegate *unmanaged [Stdcall]<IEnumFORMATETC*,uint ,winmdroot.System.Com.FORMATETC* ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IEnumFORMATETC*)Unsafe.AsPointer(ref this), celt, rgelt, pceltFetched); 141 internal delegate *unmanaged [Stdcall]<IEnumFORMATETC*,uint ,winmdroot.System.Com.FORMATETC* ,uint* ,winmdroot.Foundation.HRESULT> Next_4; 159 unsafe winmdroot.Foundation.HRESULT Next(uint celt, winmdroot.System.Com.FORMATETC* rgelt, [Optional] uint* pceltFetched);
Windows.Win32.STATDATA.g.cs (1)
30 internal winmdroot.System.Com.FORMATETC formatetc;
Windows.Win32.System_Com_IAdviseSink_Extensions.g.cs (3)
23 /// <inheritdoc cref="winmdroot.System.Com.IAdviseSink.Interface.OnDataChange(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*)"/> 24 internal static unsafe void OnDataChange(this winmdroot.System.Com.IAdviseSink.Interface @this, in winmdroot.System.Com.FORMATETC pFormatetc, in winmdroot.System.Com.STGMEDIUM pStgmed) 28 fixed (winmdroot.System.Com.FORMATETC* pFormatetcLocal = &pFormatetc)
Windows.Win32.System_Com_IDataObject_Extensions.g.cs (21)
23 /// <inheritdoc cref="winmdroot.System.Com.IDataObject.Interface.GetData(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetData(this winmdroot.System.Com.IDataObject.Interface @this, in winmdroot.System.Com.FORMATETC pformatetcIn, out winmdroot.System.Com.STGMEDIUM pmedium) 28 fixed (winmdroot.System.Com.FORMATETC* pformatetcInLocal = &pformatetcIn) 36 /// <inheritdoc cref="winmdroot.System.Com.IDataObject.Interface.GetDataHere(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*)"/> 37 internal static unsafe winmdroot.Foundation.HRESULT GetDataHere(this winmdroot.System.Com.IDataObject.Interface @this, in winmdroot.System.Com.FORMATETC pformatetc, ref winmdroot.System.Com.STGMEDIUM pmedium) 41 fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc) 49 /// <inheritdoc cref="winmdroot.System.Com.IDataObject.Interface.QueryGetData(winmdroot.System.Com.FORMATETC*)"/> 50 internal static unsafe winmdroot.Foundation.HRESULT QueryGetData(this winmdroot.System.Com.IDataObject.Interface @this, in winmdroot.System.Com.FORMATETC pformatetc) 52 fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc) 59 /// <inheritdoc cref="winmdroot.System.Com.IDataObject.Interface.GetCanonicalFormatEtc(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.FORMATETC*)"/> 60 internal static unsafe winmdroot.Foundation.HRESULT GetCanonicalFormatEtc(this winmdroot.System.Com.IDataObject.Interface @this, in winmdroot.System.Com.FORMATETC pformatectIn, out winmdroot.System.Com.FORMATETC pformatetcOut) 62 fixed (winmdroot.System.Com.FORMATETC* pformatetcOutLocal = &pformatetcOut) 64 fixed (winmdroot.System.Com.FORMATETC* pformatectInLocal = &pformatectIn) 72 /// <inheritdoc cref="winmdroot.System.Com.IDataObject.Interface.SetData(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*, winmdroot.Foundation.BOOL)"/> 73 internal static unsafe winmdroot.Foundation.HRESULT SetData(this winmdroot.System.Com.IDataObject.Interface @this, in winmdroot.System.Com.FORMATETC pformatetc, in winmdroot.System.Com.STGMEDIUM pmedium, winmdroot.Foundation.BOOL fRelease) 77 fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc) 85 /// <inheritdoc cref="winmdroot.System.Com.IDataObject.Interface.DAdvise(winmdroot.System.Com.FORMATETC*, uint, winmdroot.System.Com.IAdviseSink*, uint*)"/> 86 internal static unsafe winmdroot.Foundation.HRESULT DAdvise(this winmdroot.System.Com.IDataObject.Interface @this, in winmdroot.System.Com.FORMATETC pformatetc, uint advf, winmdroot.System.Com.IAdviseSink* pAdvSink, out uint pdwConnection) 90 fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc)
Windows.Win32.System_Com_IEnumFORMATETC_Extensions.g.cs (3)
23 /// <inheritdoc cref="winmdroot.System.Com.IEnumFORMATETC.Interface.Next(uint, winmdroot.System.Com.FORMATETC*, uint*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT Next(this winmdroot.System.Com.IEnumFORMATETC.Interface @this, Span<winmdroot.System.Com.FORMATETC> rgelt, uint* pceltFetched) 26 fixed (winmdroot.System.Com.FORMATETC* rgeltLocal = rgelt)