5 instantiations of FORMATETC
Microsoft.Private.Windows.Core (5)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (3)
404Com.FORMATETC formatetc = new() 469Com.FORMATETC formatEtc = new() 764Com.FORMATETC formatEtc = new()
System\Private\Windows\Ole\DragDropHelper.cs (2)
198FORMATETC formatEtc = new() 356FORMATETC formatEtc = new()
148 references to FORMATETC
Microsoft.Private.Windows.Core (148)
_generated\122\Windows.Win32.IAdviseSink.g.cs (7)
56 /// <inheritdoc cref="OnDataChange(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*)"/> 58 internal unsafe void OnDataChange(in winmdroot.System.Com.FORMATETC pFormatetc, in winmdroot.System.Com.STGMEDIUM pStgmed) 62 fixed (winmdroot.System.Com.FORMATETC* pFormatetcLocal = &pFormatetc) 76 public unsafe void OnDataChange(winmdroot.System.Com.FORMATETC* pFormatetc, winmdroot.System.Com.STGMEDIUM* pStgmed) 78 ((delegate *unmanaged [Stdcall]<IAdviseSink*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,void>)lpVtbl[3])((IAdviseSink*)Unsafe.AsPointer(ref this), pFormatetc, pStgmed); 147 internal delegate *unmanaged [Stdcall]<IAdviseSink*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,void> OnDataChange_4; 172 unsafe void OnDataChange(winmdroot.System.Com.FORMATETC* pFormatetc, winmdroot.System.Com.STGMEDIUM* pStgmed);
_generated\126\Windows.Win32.IDataObject.g.cs (49)
56 /// <inheritdoc cref="GetData(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*)"/> 58 internal unsafe winmdroot.Foundation.HRESULT GetData(in winmdroot.System.Com.FORMATETC pformatetcIn, out winmdroot.System.Com.STGMEDIUM pmedium) 62 fixed (winmdroot.System.Com.FORMATETC* pformatetcInLocal = &pformatetcIn) 81 public unsafe winmdroot.Foundation.HRESULT GetData(winmdroot.System.Com.FORMATETC* pformatetcIn, winmdroot.System.Com.STGMEDIUM* pmedium) 83 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); 86 /// <inheritdoc cref="GetDataHere(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*)"/> 88 internal unsafe winmdroot.Foundation.HRESULT GetDataHere(in winmdroot.System.Com.FORMATETC pformatetc, ref winmdroot.System.Com.STGMEDIUM pmedium) 92 fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc) 111 public unsafe winmdroot.Foundation.HRESULT GetDataHere(winmdroot.System.Com.FORMATETC* pformatetc, winmdroot.System.Com.STGMEDIUM* pmedium) 113 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); 116 /// <inheritdoc cref="QueryGetData(winmdroot.System.Com.FORMATETC*)"/> 118 internal unsafe winmdroot.Foundation.HRESULT QueryGetData(in winmdroot.System.Com.FORMATETC pformatetc) 120 fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc) 134 public unsafe winmdroot.Foundation.HRESULT QueryGetData(winmdroot.System.Com.FORMATETC* pformatetc) 136 return ((delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IDataObject*)Unsafe.AsPointer(ref this), pformatetc); 139 /// <inheritdoc cref="GetCanonicalFormatEtc(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.FORMATETC*)"/> 141 internal unsafe winmdroot.Foundation.HRESULT GetCanonicalFormatEtc(in winmdroot.System.Com.FORMATETC pformatectIn, out winmdroot.System.Com.FORMATETC pformatetcOut) 143 fixed (winmdroot.System.Com.FORMATETC* pformatetcOutLocal = &pformatetcOut) 145 fixed (winmdroot.System.Com.FORMATETC* pformatectInLocal = &pformatectIn) 164 public unsafe winmdroot.Foundation.HRESULT GetCanonicalFormatEtc(winmdroot.System.Com.FORMATETC* pformatectIn, winmdroot.System.Com.FORMATETC* pformatetcOut) 166 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); 169 /// <inheritdoc cref="SetData(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*, winmdroot.Foundation.BOOL)"/> 171 internal unsafe winmdroot.Foundation.HRESULT SetData(in winmdroot.System.Com.FORMATETC pformatetc, in winmdroot.System.Com.STGMEDIUM pmedium, winmdroot.Foundation.BOOL fRelease) 175 fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc) 195 public unsafe winmdroot.Foundation.HRESULT SetData(winmdroot.System.Com.FORMATETC* pformatetc, winmdroot.System.Com.STGMEDIUM* pmedium, winmdroot.Foundation.BOOL fRelease) 197 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); 220 /// <inheritdoc cref="DAdvise(winmdroot.System.Com.FORMATETC*, uint, winmdroot.System.Com.IAdviseSink*, uint*)"/> 222 internal unsafe winmdroot.Foundation.HRESULT DAdvise(in winmdroot.System.Com.FORMATETC pformatetc, uint advf, winmdroot.System.Com.IAdviseSink* pAdvSink, out uint pdwConnection) 226 fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc) 253 public unsafe winmdroot.Foundation.HRESULT DAdvise(winmdroot.System.Com.FORMATETC* pformatetc, uint advf, winmdroot.System.Com.IAdviseSink* pAdvSink, uint* pdwConnection) 255 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); 317 internal delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,winmdroot.Foundation.HRESULT> GetData_4; 319 internal delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,winmdroot.Foundation.HRESULT> GetDataHere_5; 321 internal delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.Foundation.HRESULT> QueryGetData_6; 323 internal delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.FORMATETC* ,winmdroot.Foundation.HRESULT> GetCanonicalFormatEtc_7; 325 internal delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,winmdroot.System.Com.STGMEDIUM* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> SetData_8; 329 internal delegate *unmanaged [Stdcall]<IDataObject*,winmdroot.System.Com.FORMATETC* ,uint ,winmdroot.System.Com.IAdviseSink* ,uint* ,winmdroot.Foundation.HRESULT> DAdvise_10; 350 unsafe winmdroot.Foundation.HRESULT GetData(winmdroot.System.Com.FORMATETC* pformatetcIn, winmdroot.System.Com.STGMEDIUM* pmedium); 353 unsafe winmdroot.Foundation.HRESULT GetDataHere(winmdroot.System.Com.FORMATETC* pformatetc, winmdroot.System.Com.STGMEDIUM* pmedium); 356 unsafe winmdroot.Foundation.HRESULT QueryGetData(winmdroot.System.Com.FORMATETC* pformatetc); 359 unsafe winmdroot.Foundation.HRESULT GetCanonicalFormatEtc(winmdroot.System.Com.FORMATETC* pformatectIn, winmdroot.System.Com.FORMATETC* pformatetcOut); 362 unsafe winmdroot.Foundation.HRESULT SetData(winmdroot.System.Com.FORMATETC* pformatetc, winmdroot.System.Com.STGMEDIUM* pmedium, winmdroot.Foundation.BOOL fRelease); 368 unsafe winmdroot.Foundation.HRESULT DAdvise(winmdroot.System.Com.FORMATETC* pformatetc, uint advf, winmdroot.System.Com.IAdviseSink* pAdvSink, uint* pdwConnection);
_generated\138\Windows.Win32.IEnumFORMATETC.g.cs (10)
56 /// <inheritdoc cref="Next(uint, winmdroot.System.Com.FORMATETC*, uint*)"/> 57 internal unsafe winmdroot.Foundation.HRESULT Next(Span<winmdroot.System.Com.FORMATETC> rgelt, out uint pceltFetched) 61 fixed (winmdroot.System.Com.FORMATETC* rgeltLocal = rgelt) 69 /// <inheritdoc cref="Next(uint, winmdroot.System.Com.FORMATETC*, uint*)"/> 70 internal unsafe winmdroot.Foundation.HRESULT Next(Span<winmdroot.System.Com.FORMATETC> rgelt) 72 fixed (winmdroot.System.Com.FORMATETC* rgeltLocal = rgelt) 90 public unsafe winmdroot.Foundation.HRESULT Next(uint celt, winmdroot.System.Com.FORMATETC* rgelt, [Optional] uint* pceltFetched) 92 return ((delegate *unmanaged [Stdcall]<IEnumFORMATETC*,uint ,winmdroot.System.Com.FORMATETC* ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IEnumFORMATETC*)Unsafe.AsPointer(ref this), celt, rgelt, pceltFetched); 157 internal delegate *unmanaged [Stdcall]<IEnumFORMATETC*,uint ,winmdroot.System.Com.FORMATETC* ,uint* ,winmdroot.Foundation.HRESULT> Next_4; 180 unsafe winmdroot.Foundation.HRESULT Next(uint celt, winmdroot.System.Com.FORMATETC* rgelt, [Optional] uint* pceltFetched);
_generated\220\Windows.Win32.STATDATA.g.cs (1)
30 internal winmdroot.System.Com.FORMATETC formatetc;
_generated\228\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)
_generated\230\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)
_generated\231\Windows.Win32.System_Com_IEnumFORMATETC_Extensions.g.cs (6)
23 /// <inheritdoc cref="winmdroot.System.Com.IEnumFORMATETC.Interface.Next(uint, winmdroot.System.Com.FORMATETC*, uint*)"/> 25 internal static unsafe winmdroot.Foundation.HRESULT Next(this winmdroot.System.Com.IEnumFORMATETC.Interface @this, Span<winmdroot.System.Com.FORMATETC> rgelt, out uint pceltFetched) 29 fixed (winmdroot.System.Com.FORMATETC* rgeltLocal = rgelt) 37 /// <inheritdoc cref="winmdroot.System.Com.IEnumFORMATETC.Interface.Next(uint, winmdroot.System.Com.FORMATETC*, uint*)"/> 38 internal static unsafe winmdroot.Foundation.HRESULT Next(this winmdroot.System.Com.IEnumFORMATETC.Interface @this, Span<winmdroot.System.Com.FORMATETC> rgelt) 40 fixed (winmdroot.System.Com.FORMATETC* rgeltLocal = rgelt)
System\Private\Windows\Ole\Composition.cs (7)
215public HRESULT DAdvise(FORMATETC* pformatetc, uint advf, IAdviseSink* pAdvSink, uint* pdwConnection) => _nativeDataObject.DAdvise(pformatetc, advf, pAdvSink, pdwConnection); 219public HRESULT GetCanonicalFormatEtc(FORMATETC* pformatectIn, FORMATETC* pformatetcOut) => _nativeDataObject.GetCanonicalFormatEtc(pformatectIn, pformatetcOut); 220public HRESULT GetData(FORMATETC* pformatetcIn, STGMEDIUM* pmedium) => _nativeDataObject.GetData(pformatetcIn, pmedium); 221public HRESULT GetDataHere(FORMATETC* pformatetc, STGMEDIUM* pmedium) => _nativeDataObject.GetDataHere(pformatetc, pmedium); 222public HRESULT QueryGetData(FORMATETC* pformatetc) => _nativeDataObject.QueryGetData(pformatetc); 223public 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)
45public HRESULT DAdvise(Com.FORMATETC* pformatetc, uint advf, Com.IAdviseSink* pAdvSink, uint* pdwConnection) 69public HRESULT GetData(Com.FORMATETC* pformatetcIn, Com.STGMEDIUM* pmedium) 75public HRESULT GetDataHere(Com.FORMATETC* pformatetc, Com.STGMEDIUM* pmedium) 81public HRESULT QueryGetData(Com.FORMATETC* pformatetc) 87public HRESULT GetCanonicalFormatEtc(Com.FORMATETC* pformatectIn, Com.FORMATETC* pformatetcOut) 93public HRESULT SetData(Com.FORMATETC* pformatetc, Com.STGMEDIUM* pmedium, BOOL fRelease) 404Com.FORMATETC formatetc = new() 469Com.FORMATETC formatEtc = new() 690Com.FORMATETC formatEtc = default; 764Com.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);