5 instantiations of BSTR
Microsoft.Private.Windows.Core (5)
_generated\10\Windows.Win32.BSTR.g.cs (3)
37
public static explicit operator BSTR(char* value) => new
BSTR
(value);
54
public static explicit operator BSTR(IntPtr value) => new
BSTR
((char*)value.ToPointer());
56
public static explicit operator BSTR(UIntPtr value) => new
BSTR
((char*)value.ToPointer());
Windows\Win32\System\Com\SafeArrayScope.cs (1)
189
using BSTR bstrText =
new
(s);
Windows\Win32\System\Variant\VARIANT.cs (1)
935
data = new() { bstrVal =
new
(value) }
204 references to BSTR
Microsoft.Private.Windows.Core (204)
_generated\10\Windows.Win32.BSTR.g.cs (13)
25
: IEquatable<
BSTR
>
35
public static implicit operator char*(
BSTR
value) => value.Value;
37
public static explicit operator
BSTR
(char* value) => new BSTR(value);
39
public static bool operator ==(
BSTR
left,
BSTR
right) => left.Value == right.Value;
41
public static bool operator !=(
BSTR
left,
BSTR
right) => !(left == right);
43
public bool Equals(
BSTR
other) => this.Value == other.Value;
45
public override bool Equals(object obj) => obj is
BSTR
other && this.Equals(other);
52
public static implicit operator IntPtr(
BSTR
value) => new IntPtr(value.Value);
54
public static explicit operator
BSTR
(IntPtr value) => new BSTR((char*)value.ToPointer());
56
public static explicit operator
BSTR
(UIntPtr value) => new BSTR((char*)value.ToPointer());
64
public static unsafe implicit operator ReadOnlySpan<char>(
BSTR
bstr) => bstr.Value != null ? new ReadOnlySpan<char>(bstr.Value, *((int*)bstr.Value - 1) / 2) : default(ReadOnlySpan<char>);
_generated\129\Windows.Win32.IDispatchEx.g.cs (17)
139
/// <inheritdoc cref="GetDispID(winmdroot.Foundation.
BSTR
, uint, int*)"/>
141
internal unsafe winmdroot.Foundation.HRESULT GetDispID(winmdroot.Foundation.
BSTR
bstrName, uint grfdex, out int pid)
150
public unsafe winmdroot.Foundation.HRESULT GetDispID(winmdroot.Foundation.
BSTR
bstrName, uint grfdex, int* pid)
152
return ((delegate *unmanaged [Stdcall]<IDispatchEx*,winmdroot.Foundation.
BSTR
,uint ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IDispatchEx*)Unsafe.AsPointer(ref this), bstrName, grfdex, pid);
187
public winmdroot.Foundation.HRESULT DeleteMemberByName(winmdroot.Foundation.
BSTR
bstrName, uint grfdex)
189
return ((delegate *unmanaged [Stdcall]<IDispatchEx*,winmdroot.Foundation.
BSTR
,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((IDispatchEx*)Unsafe.AsPointer(ref this), bstrName, grfdex);
213
/// <inheritdoc cref="GetMemberName(int, winmdroot.Foundation.
BSTR
*)"/>
215
internal unsafe winmdroot.Foundation.HRESULT GetMemberName(int id, out winmdroot.Foundation.
BSTR
pbstrName)
217
fixed (winmdroot.Foundation.
BSTR
* pbstrNameLocal = &pbstrName)
224
public unsafe winmdroot.Foundation.HRESULT GetMemberName(int id, winmdroot.Foundation.
BSTR
* pbstrName)
226
return ((delegate *unmanaged [Stdcall]<IDispatchEx*,int ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IDispatchEx*)Unsafe.AsPointer(ref this), id, pbstrName);
287
internal delegate *unmanaged [Stdcall]<IDispatchEx*,winmdroot.Foundation.
BSTR
,uint ,int* ,winmdroot.Foundation.HRESULT> GetDispID_8;
291
internal delegate *unmanaged [Stdcall]<IDispatchEx*,winmdroot.Foundation.
BSTR
,uint ,winmdroot.Foundation.HRESULT> DeleteMemberByName_10;
297
internal delegate *unmanaged [Stdcall]<IDispatchEx*,int ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.HRESULT> GetMemberName_13;
317
unsafe winmdroot.Foundation.HRESULT GetDispID(winmdroot.Foundation.
BSTR
bstrName, uint grfdex, int* pid);
323
winmdroot.Foundation.HRESULT DeleteMemberByName(winmdroot.Foundation.
BSTR
bstrName, uint grfdex);
332
unsafe winmdroot.Foundation.HRESULT GetMemberName(int id, winmdroot.Foundation.
BSTR
* pbstrName);
_generated\14\Windows.Win32.CABSTR.g.cs (1)
27
internal unsafe winmdroot.Foundation.
BSTR
* pElems;
_generated\155\Windows.Win32.IRecordInfo.g.cs (14)
120
/// <inheritdoc cref="GetName(winmdroot.Foundation.
BSTR
*)"/>
122
internal unsafe winmdroot.Foundation.HRESULT GetName(out winmdroot.Foundation.
BSTR
pbstrName)
124
fixed (winmdroot.Foundation.
BSTR
* pbstrNameLocal = &pbstrName)
138
public unsafe winmdroot.Foundation.HRESULT GetName(winmdroot.Foundation.
BSTR
* pbstrName)
140
return ((delegate *unmanaged [Stdcall]<IRecordInfo*,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IRecordInfo*)Unsafe.AsPointer(ref this), pbstrName);
311
/// <inheritdoc cref="GetFieldNames(uint*, winmdroot.Foundation.
BSTR
*)"/>
313
internal unsafe winmdroot.Foundation.HRESULT GetFieldNames(ref uint pcNames, Span<winmdroot.Foundation.
BSTR
> rgBstrNames)
315
fixed (winmdroot.Foundation.
BSTR
* rgBstrNamesLocal = rgBstrNames)
339
public unsafe winmdroot.Foundation.HRESULT GetFieldNames(uint* pcNames, winmdroot.Foundation.
BSTR
* rgBstrNames)
341
return ((delegate *unmanaged [Stdcall]<IRecordInfo*,uint* ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((IRecordInfo*)Unsafe.AsPointer(ref this), pcNames, rgBstrNames);
445
internal delegate *unmanaged [Stdcall]<IRecordInfo*,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.HRESULT> GetName_8;
459
internal delegate *unmanaged [Stdcall]<IRecordInfo*,uint* ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.HRESULT> GetFieldNames_15;
495
unsafe winmdroot.Foundation.HRESULT GetName(winmdroot.Foundation.
BSTR
* pbstrName);
516
unsafe winmdroot.Foundation.HRESULT GetFieldNames(uint* pcNames, winmdroot.Foundation.
BSTR
* rgBstrNames);
_generated\162\Windows.Win32.ITypeInfo.g.cs (59)
138
/// <inheritdoc cref="GetNames(int, winmdroot.Foundation.
BSTR
*, uint, uint*)"/>
139
internal unsafe winmdroot.Foundation.HRESULT GetNames(int memid, Span<winmdroot.Foundation.
BSTR
> rgBstrNames, out uint pcNames)
143
fixed (winmdroot.Foundation.
BSTR
* rgBstrNamesLocal = rgBstrNames)
167
public unsafe winmdroot.Foundation.HRESULT GetNames(int memid, winmdroot.Foundation.
BSTR
* rgBstrNames, uint cMaxNames, uint* pcNames)
169
return ((delegate *unmanaged [Stdcall]<ITypeInfo*,int ,winmdroot.Foundation.
BSTR
* ,uint ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((ITypeInfo*)Unsafe.AsPointer(ref this), memid, rgBstrNames, cMaxNames, pcNames);
300
/// <inheritdoc cref="GetDocumentation(int, winmdroot.Foundation.
BSTR
*, winmdroot.Foundation.
BSTR
*, uint*, winmdroot.Foundation.
BSTR
*)"/>
302
internal unsafe winmdroot.Foundation.HRESULT GetDocumentation(int memid, out winmdroot.Foundation.
BSTR
pBstrName, out winmdroot.Foundation.
BSTR
pBstrDocString, out uint pdwHelpContext, out winmdroot.Foundation.
BSTR
pBstrHelpFile)
304
fixed (winmdroot.Foundation.
BSTR
* pBstrHelpFileLocal = &pBstrHelpFile)
308
fixed (winmdroot.Foundation.
BSTR
* pBstrDocStringLocal = &pBstrDocString)
310
fixed (winmdroot.Foundation.
BSTR
* pBstrNameLocal = &pBstrName)
320
/// <inheritdoc cref="GetDocumentation(int, winmdroot.Foundation.
BSTR
*, winmdroot.Foundation.
BSTR
*, uint*, winmdroot.Foundation.
BSTR
*)"/>
325
winmdroot.Foundation.HRESULT __result = this.GetDocumentation(memid, default(winmdroot.Foundation.
BSTR
* ), default(winmdroot.Foundation.
BSTR
* ), pdwHelpContextLocal, default(winmdroot.Foundation.
BSTR
* ));
346
public unsafe winmdroot.Foundation.HRESULT GetDocumentation(int memid, [Optional] winmdroot.Foundation.
BSTR
* pBstrName, [Optional] winmdroot.Foundation.
BSTR
* pBstrDocString, uint* pdwHelpContext, [Optional] winmdroot.Foundation.
BSTR
* pBstrHelpFile)
348
return ((delegate *unmanaged [Stdcall]<ITypeInfo*,int ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.
BSTR
* ,uint* ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((ITypeInfo*)Unsafe.AsPointer(ref this), memid, pBstrName, pBstrDocString, pdwHelpContext, pBstrHelpFile);
351
/// <inheritdoc cref="GetDllEntry(int, winmdroot.System.Com.INVOKEKIND, winmdroot.Foundation.
BSTR
*, winmdroot.Foundation.
BSTR
*, ushort*)"/>
353
internal unsafe winmdroot.Foundation.HRESULT GetDllEntry(int memid, winmdroot.System.Com.INVOKEKIND invKind, out winmdroot.Foundation.
BSTR
pBstrDllName, out winmdroot.Foundation.
BSTR
pBstrName, out ushort pwOrdinal)
357
fixed (winmdroot.Foundation.
BSTR
* pBstrNameLocal = &pBstrName)
359
fixed (winmdroot.Foundation.
BSTR
* pBstrDllNameLocal = &pBstrDllName)
368
/// <inheritdoc cref="GetDllEntry(int, winmdroot.System.Com.INVOKEKIND, winmdroot.Foundation.
BSTR
*, winmdroot.Foundation.
BSTR
*, ushort*)"/>
373
winmdroot.Foundation.HRESULT __result = this.GetDllEntry(memid, invKind, default(winmdroot.Foundation.
BSTR
* ), default(winmdroot.Foundation.
BSTR
* ), pwOrdinalLocal);
394
public unsafe winmdroot.Foundation.HRESULT GetDllEntry(int memid, winmdroot.System.Com.INVOKEKIND invKind, [Optional] winmdroot.Foundation.
BSTR
* pBstrDllName, [Optional] winmdroot.Foundation.
BSTR
* pBstrName, ushort* pwOrdinal)
396
return ((delegate *unmanaged [Stdcall]<ITypeInfo*,int ,winmdroot.System.Com.INVOKEKIND ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.
BSTR
* ,ushort* ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((ITypeInfo*)Unsafe.AsPointer(ref this), memid, invKind, pBstrDllName, pBstrName, pwOrdinal);
468
/// <inheritdoc cref="GetMops(int, winmdroot.Foundation.
BSTR
*)"/>
470
internal unsafe winmdroot.Foundation.HRESULT GetMops(int memid, out winmdroot.Foundation.
BSTR
pBstrMops)
472
fixed (winmdroot.Foundation.
BSTR
* pBstrMopsLocal = &pBstrMops)
491
public unsafe winmdroot.Foundation.HRESULT GetMops(int memid, winmdroot.Foundation.
BSTR
* pBstrMops)
493
return ((delegate *unmanaged [Stdcall]<ITypeInfo*,int ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.HRESULT>)lpVtbl[17])((ITypeInfo*)Unsafe.AsPointer(ref this), memid, pBstrMops);
619
internal delegate *unmanaged [Stdcall]<ITypeInfo*,int ,winmdroot.Foundation.
BSTR
* ,uint ,uint* ,winmdroot.Foundation.HRESULT> GetNames_8;
629
internal delegate *unmanaged [Stdcall]<ITypeInfo*,int ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.
BSTR
* ,uint* ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.HRESULT> GetDocumentation_13;
631
internal delegate *unmanaged [Stdcall]<ITypeInfo*,int ,winmdroot.System.Com.INVOKEKIND ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.
BSTR
* ,ushort* ,winmdroot.Foundation.HRESULT> GetDllEntry_14;
639
internal delegate *unmanaged [Stdcall]<ITypeInfo*,int ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.HRESULT> GetMops_18;
675
unsafe winmdroot.Foundation.HRESULT GetNames(int memid, winmdroot.Foundation.
BSTR
* rgBstrNames, uint cMaxNames, uint* pcNames);
690
unsafe winmdroot.Foundation.HRESULT GetDocumentation(int memid, [Optional] winmdroot.Foundation.
BSTR
* pBstrName, [Optional] winmdroot.Foundation.
BSTR
* pBstrDocString, uint* pdwHelpContext, [Optional] winmdroot.Foundation.
BSTR
* pBstrHelpFile);
693
unsafe winmdroot.Foundation.HRESULT GetDllEntry(int memid, winmdroot.System.Com.INVOKEKIND invKind, [Optional] winmdroot.Foundation.
BSTR
* pBstrDllName, [Optional] winmdroot.Foundation.
BSTR
* pBstrName, ushort* pwOrdinal);
705
unsafe winmdroot.Foundation.HRESULT GetMops(int memid, winmdroot.Foundation.
BSTR
* pBstrMops);
_generated\163\Windows.Win32.ITypeLib.g.cs (27)
169
/// <inheritdoc cref="GetDocumentation(int, winmdroot.Foundation.
BSTR
*, winmdroot.Foundation.
BSTR
*, uint*, winmdroot.Foundation.
BSTR
*)"/>
171
internal unsafe winmdroot.Foundation.HRESULT GetDocumentation(int index, out winmdroot.Foundation.
BSTR
pBstrName, out winmdroot.Foundation.
BSTR
pBstrDocString, out uint pdwHelpContext, out winmdroot.Foundation.
BSTR
pBstrHelpFile)
173
fixed (winmdroot.Foundation.
BSTR
* pBstrHelpFileLocal = &pBstrHelpFile)
177
fixed (winmdroot.Foundation.
BSTR
* pBstrDocStringLocal = &pBstrDocString)
179
fixed (winmdroot.Foundation.
BSTR
* pBstrNameLocal = &pBstrName)
189
/// <inheritdoc cref="GetDocumentation(int, winmdroot.Foundation.
BSTR
*, winmdroot.Foundation.
BSTR
*, uint*, winmdroot.Foundation.
BSTR
*)"/>
194
winmdroot.Foundation.HRESULT __result = this.GetDocumentation(index, default(winmdroot.Foundation.
BSTR
* ), default(winmdroot.Foundation.
BSTR
* ), pdwHelpContextLocal, default(winmdroot.Foundation.
BSTR
* ));
210
public unsafe winmdroot.Foundation.HRESULT GetDocumentation(int index, [Optional] winmdroot.Foundation.
BSTR
* pBstrName, [Optional] winmdroot.Foundation.
BSTR
* pBstrDocString, uint* pdwHelpContext, [Optional] winmdroot.Foundation.
BSTR
* pBstrHelpFile)
212
return ((delegate *unmanaged [Stdcall]<ITypeLib*,int ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.
BSTR
* ,uint* ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((ITypeLib*)Unsafe.AsPointer(ref this), index, pBstrName, pBstrDocString, pdwHelpContext, pBstrHelpFile);
348
internal delegate *unmanaged [Stdcall]<ITypeLib*,int ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.
BSTR
* ,uint* ,winmdroot.Foundation.
BSTR
* ,winmdroot.Foundation.HRESULT> GetDocumentation_10;
388
unsafe winmdroot.Foundation.HRESULT GetDocumentation(int index, [Optional] winmdroot.Foundation.
BSTR
* pBstrName, [Optional] winmdroot.Foundation.
BSTR
* pBstrDocString, uint* pdwHelpContext, [Optional] winmdroot.Foundation.
BSTR
* pBstrHelpFile);
_generated\198\Windows.Win32.PInvokeCore.OLEAUT32.dll.g.cs (1)
32
internal static extern void SysFreeString([Optional] winmdroot.Foundation.
BSTR
bstrString);
_generated\204\Windows.Win32.PROPVARIANT.g.cs (2)
122
internal winmdroot.Foundation.
BSTR
bstrVal;
266
internal unsafe winmdroot.Foundation.
BSTR
* pbstrVal;
_generated\245\Windows.Win32.System_Com_ITypeInfo_Extensions.g.cs (31)
53
/// <inheritdoc cref="winmdroot.System.Com.ITypeInfo.Interface.GetNames(int, winmdroot.Foundation.
BSTR
*, uint, uint*)"/>
55
internal static unsafe winmdroot.Foundation.HRESULT GetNames(this winmdroot.System.Com.ITypeInfo.Interface @this, int memid, Span<winmdroot.Foundation.
BSTR
> rgBstrNames, out uint pcNames)
59
fixed (winmdroot.Foundation.
BSTR
* rgBstrNamesLocal = rgBstrNames)
121
/// <inheritdoc cref="winmdroot.System.Com.ITypeInfo.Interface.GetDocumentation(int, winmdroot.Foundation.
BSTR
*, winmdroot.Foundation.
BSTR
*, uint*, winmdroot.Foundation.
BSTR
*)"/>
122
internal static unsafe winmdroot.Foundation.HRESULT GetDocumentation(this winmdroot.System.Com.ITypeInfo.Interface @this, int memid, out winmdroot.Foundation.
BSTR
pBstrName, out winmdroot.Foundation.
BSTR
pBstrDocString, out uint pdwHelpContext, out winmdroot.Foundation.
BSTR
pBstrHelpFile)
124
fixed (winmdroot.Foundation.
BSTR
* pBstrHelpFileLocal = &pBstrHelpFile)
128
fixed (winmdroot.Foundation.
BSTR
* pBstrDocStringLocal = &pBstrDocString)
130
fixed (winmdroot.Foundation.
BSTR
* pBstrNameLocal = &pBstrName)
140
/// <inheritdoc cref="winmdroot.System.Com.ITypeInfo.Interface.GetDocumentation(int, winmdroot.Foundation.
BSTR
*, winmdroot.Foundation.
BSTR
*, uint*, winmdroot.Foundation.
BSTR
*)"/>
145
winmdroot.Foundation.HRESULT __result = @this.GetDocumentation(memid, default(winmdroot.Foundation.
BSTR
* ), default(winmdroot.Foundation.
BSTR
* ), pdwHelpContextLocal, default(winmdroot.Foundation.
BSTR
* ));
150
/// <inheritdoc cref="winmdroot.System.Com.ITypeInfo.Interface.GetDllEntry(int, winmdroot.System.Com.INVOKEKIND, winmdroot.Foundation.
BSTR
*, winmdroot.Foundation.
BSTR
*, ushort*)"/>
151
internal static unsafe winmdroot.Foundation.HRESULT GetDllEntry(this winmdroot.System.Com.ITypeInfo.Interface @this, int memid, winmdroot.System.Com.INVOKEKIND invKind, out winmdroot.Foundation.
BSTR
pBstrDllName, out winmdroot.Foundation.
BSTR
pBstrName, out ushort pwOrdinal)
155
fixed (winmdroot.Foundation.
BSTR
* pBstrNameLocal = &pBstrName)
157
fixed (winmdroot.Foundation.
BSTR
* pBstrDllNameLocal = &pBstrDllName)
166
/// <inheritdoc cref="winmdroot.System.Com.ITypeInfo.Interface.GetDllEntry(int, winmdroot.System.Com.INVOKEKIND, winmdroot.Foundation.
BSTR
*, winmdroot.Foundation.
BSTR
*, ushort*)"/>
171
winmdroot.Foundation.HRESULT __result = @this.GetDllEntry(memid, invKind, default(winmdroot.Foundation.
BSTR
* ), default(winmdroot.Foundation.
BSTR
* ), pwOrdinalLocal);
199
/// <inheritdoc cref="winmdroot.System.Com.ITypeInfo.Interface.GetMops(int, winmdroot.Foundation.
BSTR
*)"/>
200
internal static unsafe winmdroot.Foundation.HRESULT GetMops(this winmdroot.System.Com.ITypeInfo.Interface @this, int memid, out winmdroot.Foundation.
BSTR
pBstrMops)
202
fixed (winmdroot.Foundation.
BSTR
* pBstrMopsLocal = &pBstrMops)
_generated\246\Windows.Win32.System_Com_ITypeLib_Extensions.g.cs (15)
53
/// <inheritdoc cref="winmdroot.System.Com.ITypeLib.Interface.GetDocumentation(int, winmdroot.Foundation.
BSTR
*, winmdroot.Foundation.
BSTR
*, uint*, winmdroot.Foundation.
BSTR
*)"/>
54
internal static unsafe winmdroot.Foundation.HRESULT GetDocumentation(this winmdroot.System.Com.ITypeLib.Interface @this, int index, out winmdroot.Foundation.
BSTR
pBstrName, out winmdroot.Foundation.
BSTR
pBstrDocString, out uint pdwHelpContext, out winmdroot.Foundation.
BSTR
pBstrHelpFile)
56
fixed (winmdroot.Foundation.
BSTR
* pBstrHelpFileLocal = &pBstrHelpFile)
60
fixed (winmdroot.Foundation.
BSTR
* pBstrDocStringLocal = &pBstrDocString)
62
fixed (winmdroot.Foundation.
BSTR
* pBstrNameLocal = &pBstrName)
72
/// <inheritdoc cref="winmdroot.System.Com.ITypeLib.Interface.GetDocumentation(int, winmdroot.Foundation.
BSTR
*, winmdroot.Foundation.
BSTR
*, uint*, winmdroot.Foundation.
BSTR
*)"/>
77
winmdroot.Foundation.HRESULT __result = @this.GetDocumentation(index, default(winmdroot.Foundation.
BSTR
* ), default(winmdroot.Foundation.
BSTR
* ), pdwHelpContextLocal, default(winmdroot.Foundation.
BSTR
* ));
_generated\250\Windows.Win32.System_Ole_IDispatchEx_Extensions.g.cs (5)
23
/// <inheritdoc cref="winmdroot.System.Ole.IDispatchEx.Interface.GetDispID(winmdroot.Foundation.
BSTR
, uint, int*)"/>
24
internal static unsafe winmdroot.Foundation.HRESULT GetDispID(this winmdroot.System.Ole.IDispatchEx.Interface @this, winmdroot.Foundation.
BSTR
bstrName, uint grfdex, out int pid)
69
/// <inheritdoc cref="winmdroot.System.Ole.IDispatchEx.Interface.GetMemberName(int, winmdroot.Foundation.
BSTR
*)"/>
70
internal static unsafe winmdroot.Foundation.HRESULT GetMemberName(this winmdroot.System.Ole.IDispatchEx.Interface @this, int id, out winmdroot.Foundation.
BSTR
pbstrName)
72
fixed (winmdroot.Foundation.
BSTR
* pbstrNameLocal = &pbstrName)
_generated\253\Windows.Win32.System_Ole_IRecordInfo_Extensions.g.cs (6)
33
/// <inheritdoc cref="winmdroot.System.Ole.IRecordInfo.Interface.GetName(winmdroot.Foundation.
BSTR
*)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT GetName(this winmdroot.System.Ole.IRecordInfo.Interface @this, out winmdroot.Foundation.
BSTR
pbstrName)
36
fixed (winmdroot.Foundation.
BSTR
* pbstrNameLocal = &pbstrName)
108
/// <inheritdoc cref="winmdroot.System.Ole.IRecordInfo.Interface.GetFieldNames(uint*, winmdroot.Foundation.
BSTR
*)"/>
109
internal static unsafe winmdroot.Foundation.HRESULT GetFieldNames(this winmdroot.System.Ole.IRecordInfo.Interface @this, ref uint pcNames, Span<winmdroot.Foundation.
BSTR
> rgBstrNames)
111
fixed (winmdroot.Foundation.
BSTR
* rgBstrNamesLocal = rgBstrNames)
_generated\272\Windows.Win32.VARIANT.g.cs (2)
92
internal winmdroot.Foundation.
BSTR
bstrVal;
137
internal unsafe winmdroot.Foundation.
BSTR
* pbstrVal;
_generated\68\Windows.Win32.EXCEPINFO.g.cs (3)
37
internal winmdroot.Foundation.
BSTR
bstrSource;
40
internal winmdroot.Foundation.
BSTR
bstrDescription;
43
internal winmdroot.Foundation.
BSTR
bstrHelpFile;
Windows\Win32\Foundation\BSTR.cs (2)
24
/// Converts the <see cref="
BSTR
"/> to string and frees it.
34
/// Converts the <see cref="
BSTR
"/> to a nullable string and frees it.
Windows\Win32\System\Com\SafeArrayScope.cs (3)
155
using
BSTR
result = GetElement<
BSTR
>(i);
189
using
BSTR
bstrText = new(s);
Windows\Win32\System\Variant\VARIANT.cs (3)
926
public static explicit operator
BSTR
(VARIANT value)
927
=> value.vt == VT_BSTR ? value.data.bstrVal : ThrowInvalidCast<
BSTR
>();
939
public static explicit operator VARIANT(
BSTR
value)