2 instantiations of HRESULT
Microsoft.VisualStudio.Extensibility.Testing.Xunit (2)
Windows.Win32.HRESULT.g.cs (2)
36 public static explicit operator HRESULT(int value) => new HRESULT(value); 53 public static explicit operator HRESULT(uint value) => new HRESULT((int)value);
36 references to HRESULT
Microsoft.VisualStudio.Extensibility.Testing.Xunit (36)
Windows.Win32.HRESULT.g.cs (13)
28 : IEquatable<HRESULT> 34 public static implicit operator int(HRESULT value) => value.Value; 36 public static explicit operator HRESULT(int value) => new HRESULT(value); 38 public static bool operator ==(HRESULT left, HRESULT right) => left.Value == right.Value; 40 public static bool operator !=(HRESULT left, HRESULT right) => !(left == right); 42 public bool Equals(HRESULT other) => this.Value == other.Value; 44 public override bool Equals(object obj) => obj is HRESULT other && this.Equals(other); 51 public static implicit operator uint(HRESULT value) => (uint)value.Value; 53 public static explicit operator HRESULT(uint value) => new HRESULT((int)value); 71/// <returns><see langword="this"/> <see cref="HRESULT"/>, if it does not reflect an error.</returns> 73 internal HRESULT ThrowOnFailure(IntPtr errorInfo = default)
Windows.Win32.IEnumMoniker.g.cs (2)
37 unsafe winmdroot.Foundation.HRESULT Next(uint celt, [Out] [MarshalAs(UnmanagedType.LPArray,SizeParamIndex = 0)] winmdroot.System.Com.IMoniker[] rgelt, [Optional] uint* pceltFetched); 46winmdroot.Foundation.HRESULT Skip(uint celt);
Windows.Win32.IEnumString.g.cs (2)
37 unsafe winmdroot.Foundation.HRESULT Next(uint celt, winmdroot.Foundation.PWSTR* rgelt, [Optional] uint* pceltFetched); 46winmdroot.Foundation.HRESULT Skip(uint celt);
Windows.Win32.IMoniker.g.cs (2)
28 new winmdroot.Foundation.HRESULT IsDirty(); 122winmdroot.Foundation.HRESULT IsEqual(winmdroot.System.Com.IMoniker pmkOtherMoniker);
Windows.Win32.IPersistStream.g.cs (1)
34winmdroot.Foundation.HRESULT IsDirty();
Windows.Win32.ISequentialStream.g.cs (2)
40 unsafe winmdroot.Foundation.HRESULT Read(void* pv, uint cb, [Optional] uint* pcbRead); 54 unsafe winmdroot.Foundation.HRESULT Write(void* pv, uint cb, [Optional] uint* pcbWritten);
Windows.Win32.IStream.g.cs (2)
26 unsafe new winmdroot.Foundation.HRESULT Read(void* pv, uint cb, [Optional] uint* pcbRead); 29 unsafe new winmdroot.Foundation.HRESULT Write(void* pv, uint cb, [Optional] uint* pcbWritten);
Windows.Win32.IUnknown.g.cs (5)
26 internal unsafe winmdroot.Foundation.HRESULT QueryInterface(in global::System.Guid riid, out void* ppvObject) 32 winmdroot.Foundation.HRESULT __result = this.QueryInterface(riidLocal, ppvObjectLocal); 52 public unsafe winmdroot.Foundation.HRESULT QueryInterface(global::System.Guid* riid, void** ppvObject) 54 return ((delegate *unmanaged [Stdcall]<IUnknown*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IUnknown*)Unsafe.AsPointer(ref this), riid, ppvObject); 81 internal delegate *unmanaged [Stdcall]<IUnknown*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
Windows.Win32.PInvoke.OLE32.dll.g.cs (3)
35 internal static extern winmdroot.Foundation.HRESULT CoRegisterMessageFilter(winmdroot.Media.Audio.IMessageFilter lpMessageFilter, out winmdroot.Media.Audio.IMessageFilter lplpMessageFilter); 48 internal static extern winmdroot.Foundation.HRESULT CreateBindCtx(uint reserved, out winmdroot.System.Com.IBindCtx ppbc); 61 internal static extern winmdroot.Foundation.HRESULT GetRunningObjectTable(uint reserved, out winmdroot.System.Com.IRunningObjectTable pprot);
Windows.Win32.System_Com_IEnumMoniker_Extensions.g.cs (2)
23 internal static unsafe winmdroot.Foundation.HRESULT Next(this winmdroot.System.Com.IEnumMoniker @this, winmdroot.System.Com.IMoniker[] rgelt, uint* pceltFetched) 25 winmdroot.Foundation.HRESULT __result = @this.Next((uint )(rgelt?.Length ?? 0), rgelt, pceltFetched);
Windows.Win32.System_Com_IEnumString_Extensions.g.cs (2)
23 internal static unsafe winmdroot.Foundation.HRESULT Next(this winmdroot.System.Com.IEnumString @this, Span<winmdroot.Foundation.PWSTR> rgelt, uint* pceltFetched) 27 winmdroot.Foundation.HRESULT __result = @this.Next((uint )rgelt.Length, rgeltLocal, pceltFetched);