5 instantiations of FORMATETC
Microsoft.Private.Windows.Core (5)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (3)
363
Com.FORMATETC formatetc =
new
()
428
Com.FORMATETC formatEtc =
new
()
723
Com.FORMATETC formatEtc =
new
()
System\Private\Windows\Ole\DragDropHelper.cs (2)
198
FORMATETC formatEtc =
new
()
356
FORMATETC formatEtc =
new
()
142 references to FORMATETC
Microsoft.Private.Windows.Core (142)
System\Private\Windows\Ole\Composition.cs (7)
208
public HRESULT DAdvise(
FORMATETC
* pformatetc, uint advf, IAdviseSink* pAdvSink, uint* pdwConnection) => _nativeDataObject.DAdvise(pformatetc, advf, pAdvSink, pdwConnection);
212
public HRESULT GetCanonicalFormatEtc(
FORMATETC
* pformatectIn,
FORMATETC
* pformatetcOut) => _nativeDataObject.GetCanonicalFormatEtc(pformatectIn, pformatetcOut);
213
public HRESULT GetData(
FORMATETC
* pformatetcIn, STGMEDIUM* pmedium) => _nativeDataObject.GetData(pformatetcIn, pmedium);
214
public HRESULT GetDataHere(
FORMATETC
* pformatetc, STGMEDIUM* pmedium) => _nativeDataObject.GetDataHere(pformatetc, pmedium);
215
public HRESULT QueryGetData(
FORMATETC
* pformatetc) => _nativeDataObject.QueryGetData(pformatetc);
216
public HRESULT SetData(
FORMATETC
* pformatetc, STGMEDIUM* pmedium, BOOL fRelease) => _nativeDataObject.SetData(pformatetc, pmedium, fRelease);
System\Private\Windows\Ole\Composition.ManagedToNativeAdapter.cs (7)
41
public HRESULT GetData(
FORMATETC
* pformatetcIn, STGMEDIUM* pmedium)
100
public HRESULT GetDataHere(
FORMATETC
* pformatetc, STGMEDIUM* pmedium)
162
public HRESULT QueryGetData(
FORMATETC
* pformatetc)
192
public HRESULT GetCanonicalFormatEtc(
FORMATETC
* pformatectIn,
FORMATETC
* pformatetcOut)
203
public HRESULT SetData(
FORMATETC
* pformatetc, STGMEDIUM* pmedium, BOOL fRelease)
253
public HRESULT DAdvise(
FORMATETC
* pformatetc, uint advf, IAdviseSink* pAdvSink, uint* pdwConnection)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (11)
34
public HRESULT DAdvise(Com.
FORMATETC
* pformatetc, uint advf, Com.IAdviseSink* pAdvSink, uint* pdwConnection)
58
public HRESULT GetData(Com.
FORMATETC
* pformatetcIn, Com.STGMEDIUM* pmedium)
64
public HRESULT GetDataHere(Com.
FORMATETC
* pformatetc, Com.STGMEDIUM* pmedium)
70
public HRESULT QueryGetData(Com.
FORMATETC
* pformatetc)
76
public HRESULT GetCanonicalFormatEtc(Com.
FORMATETC
* pformatectIn, Com.
FORMATETC
* pformatetcOut)
82
public HRESULT SetData(Com.
FORMATETC
* pformatetc, Com.STGMEDIUM* pmedium, BOOL fRelease)
363
Com.
FORMATETC
formatetc = new()
428
Com.
FORMATETC
formatEtc = new()
649
Com.
FORMATETC
formatEtc = default;
723
Com.
FORMATETC
formatEtc = new()
System\Private\Windows\Ole\Composition.NativeToRuntimeAdapter.cs (12)
30
fixed (Com.
FORMATETC
* nativeFormat = &Unsafe.As<FORMATETC, Com.
FORMATETC
>(ref pFormatetc))
68
HRESULT result = nativeDataObject.Value->GetCanonicalFormatEtc(Unsafe.As<FORMATETC, Com.
FORMATETC
>(ref formatIn), out Com.
FORMATETC
nativeFormat);
69
formatOut = Unsafe.As<Com.
FORMATETC
, FORMATETC>(ref nativeFormat);
75
Com.
FORMATETC
nativeFormat = Unsafe.As<FORMATETC, Com.
FORMATETC
>(ref format);
85
Com.
FORMATETC
nativeFormat = Unsafe.As<FORMATETC, Com.
FORMATETC
>(ref format);
96
return nativeDataObject.Value->QueryGetData(Unsafe.As<FORMATETC, Com.
FORMATETC
>(ref format));
102
Com.
FORMATETC
nativeFormat = Unsafe.As<FORMATETC, Com.
FORMATETC
>(ref formatIn);
System\Private\Windows\Ole\Composition.RuntimeToNativeAdapter.cs (7)
38
HRESULT Com.IDataObject.Interface.DAdvise(Com.
FORMATETC
* pformatetc, uint advf, Com.IAdviseSink* pAdvSink, uint* pdwConnection)
89
HRESULT Com.IDataObject.Interface.GetCanonicalFormatEtc(Com.
FORMATETC
* pformatectIn, Com.
FORMATETC
* pformatetcOut) =>
92
HRESULT Com.IDataObject.Interface.GetData(Com.
FORMATETC
* pformatetcIn, Com.STGMEDIUM* pmedium)
111
HRESULT Com.IDataObject.Interface.GetDataHere(Com.
FORMATETC
* pformatetc, Com.STGMEDIUM* pmedium)
132
HRESULT Com.IDataObject.Interface.QueryGetData(Com.
FORMATETC
* pformatetc) => (HRESULT)QueryGetData(ref *(FORMATETC*)pformatetc);
134
HRESULT Com.IDataObject.Interface.SetData(Com.
FORMATETC
* pformatetc, Com.STGMEDIUM* pmedium, BOOL fRelease)
System\Private\Windows\Ole\DragDropHelper.cs (3)
162
public static bool IsInDragLoopFormat(
FORMATETC
format)
198
FORMATETC
formatEtc = new()
356
FORMATETC
formatEtc = new()
System\Private\Windows\Ole\FormatEnumerator.cs (2)
106
HRESULT IEnumFORMATETC.Interface.Next(uint celt,
FORMATETC
* rgelt, uint* pceltFetched)
121
rgelt[i] = Unsafe.As<ComTypes.FORMATETC,
FORMATETC
>(ref elt[i]);
System\Private\Windows\Ole\IOleServices.cs (2)
32
/// <inheritdoc cref="IDataObject.GetDataHere(
FORMATETC
*, STGMEDIUM*)"/>
36
HRESULT 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)