83 references to ITypeLib
System.Private.Windows.Core (78)
Windows.Win32.ITypeInfo.g.cs (7)
736
/// <inheritdoc cref="GetContainingTypeLib(winmdroot.System.Com.
ITypeLib
**, uint*)"/>
737
internal unsafe winmdroot.Foundation.HRESULT GetContainingTypeLib(winmdroot.System.Com.
ITypeLib
** ppTLib, out uint pIndex)
749
private static winmdroot.Foundation.HRESULT GetContainingTypeLib(ITypeInfo* pThis, winmdroot.System.Com.
ITypeLib
** ppTLib, uint* pIndex)
776
public unsafe winmdroot.Foundation.HRESULT GetContainingTypeLib(winmdroot.System.Com.
ITypeLib
** ppTLib, uint* pIndex)
778
return ((delegate *unmanaged [Stdcall]<ITypeInfo*,winmdroot.System.Com.
ITypeLib
** ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[18])((ITypeInfo*)Unsafe.AsPointer(ref this), ppTLib, pIndex);
949
internal delegate *unmanaged [Stdcall]<ITypeInfo*,winmdroot.System.Com.
ITypeLib
** ,uint* ,winmdroot.Foundation.HRESULT> GetContainingTypeLib_19;
1044
unsafe winmdroot.Foundation.HRESULT GetContainingTypeLib(winmdroot.System.Com.
ITypeLib
** ppTLib, uint* pIndex);
Windows.Win32.ITypeLib.g.cs (51)
25
:IVTable<
ITypeLib
,
ITypeLib
.Vtbl>,IComIID {
41
return ((delegate *unmanaged [Stdcall]<
ITypeLib
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
ITypeLib
*)Unsafe.AsPointer(ref this), riid, ppvObject);
46
return ((delegate *unmanaged [Stdcall]<
ITypeLib
*,uint>)lpVtbl[1])((
ITypeLib
*)Unsafe.AsPointer(ref this));
51
return ((delegate *unmanaged [Stdcall]<
ITypeLib
*,uint>)lpVtbl[2])((
ITypeLib
*)Unsafe.AsPointer(ref this));
57
private static uint GetTypeInfoCount(
ITypeLib
* pThis)
79
return ((delegate *unmanaged [Stdcall]<
ITypeLib
*,uint>)lpVtbl[3])((
ITypeLib
*)Unsafe.AsPointer(ref this));
85
private static winmdroot.Foundation.HRESULT GetTypeInfo(
ITypeLib
* pThis, uint index, winmdroot.System.Com.ITypeInfo** ppTInfo)
112
return ((delegate *unmanaged [Stdcall]<
ITypeLib
*,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
ITypeLib
*)Unsafe.AsPointer(ref this), index, ppTInfo);
128
private static winmdroot.Foundation.HRESULT GetTypeInfoType(
ITypeLib
* pThis, uint index, winmdroot.System.Com.TYPEKIND* pTKind)
157
return ((delegate *unmanaged [Stdcall]<
ITypeLib
*,uint ,winmdroot.System.Com.TYPEKIND* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((
ITypeLib
*)Unsafe.AsPointer(ref this), index, pTKind);
173
private static winmdroot.Foundation.HRESULT GetTypeInfoOfGuid(
ITypeLib
* pThis, global::System.Guid* guid, winmdroot.System.Com.ITypeInfo** ppTinfo)
202
return ((delegate *unmanaged [Stdcall]<
ITypeLib
*,global::System.Guid* ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((
ITypeLib
*)Unsafe.AsPointer(ref this), guid, ppTinfo);
218
private static winmdroot.Foundation.HRESULT GetLibAttr(
ITypeLib
* pThis, winmdroot.System.Com.TLIBATTR** ppTLibAttr)
244
return ((delegate *unmanaged [Stdcall]<
ITypeLib
*,winmdroot.System.Com.TLIBATTR** ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((
ITypeLib
*)Unsafe.AsPointer(ref this), ppTLibAttr);
250
private static winmdroot.Foundation.HRESULT GetTypeComp(
ITypeLib
* pThis, winmdroot.System.Com.ITypeComp** ppTComp)
280
return ((delegate *unmanaged [Stdcall]<
ITypeLib
*,winmdroot.System.Com.ITypeComp** ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((
ITypeLib
*)Unsafe.AsPointer(ref this), ppTComp);
296
private static winmdroot.Foundation.HRESULT GetDocumentation(
ITypeLib
* pThis, int index, [Optional] winmdroot.Foundation.BSTR* pBstrName, [Optional] winmdroot.Foundation.BSTR* pBstrDocString, uint* pdwHelpContext, [Optional] winmdroot.Foundation.BSTR* pBstrHelpFile)
326
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
private static winmdroot.Foundation.HRESULT IsName(
ITypeLib
* pThis, winmdroot.Foundation.PWSTR szNameBuf, uint lHashVal, winmdroot.Foundation.BOOL* pfName)
378
return ((delegate *unmanaged [Stdcall]<
ITypeLib
*,winmdroot.Foundation.PWSTR ,uint ,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((
ITypeLib
*)Unsafe.AsPointer(ref this), szNameBuf, lHashVal, pfName);
400
private static winmdroot.Foundation.HRESULT FindName(
ITypeLib
* pThis, winmdroot.Foundation.PWSTR szNameBuf, uint lHashVal, winmdroot.System.Com.ITypeInfo** ppTInfo, int* rgMemId, ushort* pcFound)
433
return ((delegate *unmanaged [Stdcall]<
ITypeLib
*,winmdroot.Foundation.PWSTR ,uint ,winmdroot.System.Com.ITypeInfo** ,int* ,ushort* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((
ITypeLib
*)Unsafe.AsPointer(ref this), szNameBuf, lHashVal, ppTInfo, rgMemId, pcFound);
448
private static void ReleaseTLibAttr(
ITypeLib
* pThis, winmdroot.System.Com.TLIBATTR* pTLibAttr)
470
((delegate *unmanaged [Stdcall]<
ITypeLib
*,winmdroot.System.Com.TLIBATTR* ,void>)lpVtbl[12])((
ITypeLib
*)Unsafe.AsPointer(ref this), pTLibAttr);
494
internal delegate *unmanaged [Stdcall]<
ITypeLib
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
496
internal delegate *unmanaged [Stdcall]<
ITypeLib
*,uint> AddRef_2;
498
internal delegate *unmanaged [Stdcall]<
ITypeLib
*,uint> Release_3;
500
internal delegate *unmanaged [Stdcall]<
ITypeLib
*,uint> GetTypeInfoCount_4;
502
internal delegate *unmanaged [Stdcall]<
ITypeLib
*,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT> GetTypeInfo_5;
504
internal delegate *unmanaged [Stdcall]<
ITypeLib
*,uint ,winmdroot.System.Com.TYPEKIND* ,winmdroot.Foundation.HRESULT> GetTypeInfoType_6;
506
internal delegate *unmanaged [Stdcall]<
ITypeLib
*,global::System.Guid* ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT> GetTypeInfoOfGuid_7;
508
internal delegate *unmanaged [Stdcall]<
ITypeLib
*,winmdroot.System.Com.TLIBATTR** ,winmdroot.Foundation.HRESULT> GetLibAttr_8;
510
internal delegate *unmanaged [Stdcall]<
ITypeLib
*,winmdroot.System.Com.ITypeComp** ,winmdroot.Foundation.HRESULT> GetTypeComp_9;
512
internal delegate *unmanaged [Stdcall]<
ITypeLib
*,int ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.BSTR* ,uint* ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> GetDocumentation_10;
514
internal delegate *unmanaged [Stdcall]<
ITypeLib
*,winmdroot.Foundation.PWSTR ,uint ,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT> IsName_11;
516
internal delegate *unmanaged [Stdcall]<
ITypeLib
*,winmdroot.Foundation.PWSTR ,uint ,winmdroot.System.Com.ITypeInfo** ,int* ,ushort* ,winmdroot.Foundation.HRESULT> FindName_12;
518
internal delegate *unmanaged [Stdcall]<
ITypeLib
*,winmdroot.System.Com.TLIBATTR* ,void> ReleaseTLibAttr_13;
Windows.Win32.PInvokeCore.OLEAUT32.dll.g.cs (3)
34
/// <inheritdoc cref="LoadRegTypeLib(global::System.Guid*, ushort, ushort, uint, winmdroot.System.Com.
ITypeLib
**)"/>
35
internal static unsafe winmdroot.Foundation.HRESULT LoadRegTypeLib(in global::System.Guid rguid, ushort wVerMajor, ushort wVerMinor, uint lcid, winmdroot.System.Com.
ITypeLib
** pptlib)
62
internal static extern unsafe winmdroot.Foundation.HRESULT LoadRegTypeLib(global::System.Guid* rguid, ushort wVerMajor, ushort wVerMinor, uint lcid, winmdroot.System.Com.
ITypeLib
** pptlib);
Windows.Win32.System_Com_ITypeInfo_Extensions.g.cs (2)
159
/// <inheritdoc cref="winmdroot.System.Com.ITypeInfo.Interface.GetContainingTypeLib(winmdroot.System.Com.
ITypeLib
**, uint*)"/>
160
internal static unsafe winmdroot.Foundation.HRESULT GetContainingTypeLib(this winmdroot.System.Com.ITypeInfo.Interface @this, winmdroot.System.Com.
ITypeLib
** ppTLib, out uint pIndex)
Windows.Win32.System_Com_ITypeLib_Extensions.g.cs (14)
23
/// <inheritdoc cref="winmdroot.System.Com.
ITypeLib
.Interface.GetTypeInfoType(uint, winmdroot.System.Com.TYPEKIND*)"/>
24
internal static unsafe winmdroot.Foundation.HRESULT GetTypeInfoType(this winmdroot.System.Com.
ITypeLib
.Interface @this, uint index, out winmdroot.System.Com.TYPEKIND pTKind)
33
/// <inheritdoc cref="winmdroot.System.Com.
ITypeLib
.Interface.GetTypeInfoOfGuid(global::System.Guid*, winmdroot.System.Com.ITypeInfo**)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT GetTypeInfoOfGuid(this winmdroot.System.Com.
ITypeLib
.Interface @this, in global::System.Guid guid, winmdroot.System.Com.ITypeInfo** ppTinfo)
43
/// <inheritdoc cref="winmdroot.System.Com.
ITypeLib
.Interface.GetLibAttr(winmdroot.System.Com.TLIBATTR**)"/>
44
internal static unsafe winmdroot.Foundation.HRESULT GetLibAttr(this winmdroot.System.Com.
ITypeLib
.Interface @this, out winmdroot.System.Com.TLIBATTR* ppTLibAttr)
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, winmdroot.Foundation.BSTR* pBstrName, winmdroot.Foundation.BSTR* pBstrDocString, out uint pdwHelpContext, winmdroot.Foundation.BSTR* pBstrHelpFile)
63
/// <inheritdoc cref="winmdroot.System.Com.
ITypeLib
.Interface.IsName(winmdroot.Foundation.PWSTR, uint, winmdroot.Foundation.BOOL*)"/>
64
internal static unsafe winmdroot.Foundation.HRESULT IsName(this winmdroot.System.Com.
ITypeLib
.Interface @this, ref Span<char>szNameBuf, uint lHashVal, out winmdroot.Foundation.BOOL pfName)
79
/// <inheritdoc cref="winmdroot.System.Com.
ITypeLib
.Interface.FindName(winmdroot.Foundation.PWSTR, uint, winmdroot.System.Com.ITypeInfo**, int*, ushort*)"/>
80
internal static unsafe winmdroot.Foundation.HRESULT FindName(this winmdroot.System.Com.
ITypeLib
.Interface @this, ref Span<char>szNameBuf, uint lHashVal, winmdroot.System.Com.ITypeInfo** ppTInfo, int* rgMemId, ref ushort pcFound)
95
/// <inheritdoc cref="winmdroot.System.Com.
ITypeLib
.Interface.ReleaseTLibAttr(winmdroot.System.Com.TLIBATTR*)"/>
96
internal static unsafe void ReleaseTLibAttr(this winmdroot.System.Com.
ITypeLib
.Interface @this, in winmdroot.System.Com.TLIBATTR pTLibAttr)
Windows\Win32\System\Com\ComHelpers.cs (1)
338
using ComScope<
ITypeLib
> typelib = new(null);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (1)
252
ITypeLib
* pTLB = null;
System.Windows.Forms.Primitives (3)
Windows.Win32.PInvoke.OLEAUT32.dll.g.cs (3)
40
/// <inheritdoc cref="LoadTypeLib(winmdroot.Foundation.PCWSTR, winmdroot.System.Com.
ITypeLib
**)"/>
41
internal static unsafe winmdroot.Foundation.HRESULT LoadTypeLib(string szFile, winmdroot.System.Com.
ITypeLib
** pptlib)
63
internal static extern unsafe winmdroot.Foundation.HRESULT LoadTypeLib(winmdroot.Foundation.PCWSTR szFile, winmdroot.System.Com.
ITypeLib
** pptlib);
System.Windows.Forms.Primitives.Tests (1)
Interop\Oleaut32\ITypeInfoTests.cs (1)
52
using ComScope<
ITypeLib
> typeLib = new(null);