|
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
#pragma warning disable CS1591,CS1573,CS0465,CS0649,CS8019,CS1570,CS1584,CS1658,CS0436,CS8981
using global::System;
using global::System.Diagnostics;
using global::System.Diagnostics.CodeAnalysis;
using global::System.Runtime.CompilerServices;
using global::System.Runtime.InteropServices;
using global::System.Runtime.Versioning;
using winmdroot = global::Windows.Win32;
namespace Windows.Win32
{
namespace Foundation
{
/// <remarks>
/// <para>The **HRESULT** data type is the same as the [SCODE](scode.md) data type. An **HRESULT** value consists of the following fields: - A 1-bit code indicating severity, where zero represents success and 1 represents failure. - A 4-bit reserved value. - An 11-bit code indicating responsibility for the error or warning, also known as a facility code. - A 16-bit code describing the error or warning. Most MAPI interface methods and functions return **HRESULT** values to provide detailed cause formation. **HRESULT** values are also used widely in OLE interface methods. OLE provides several macros for converting between **HRESULT** values and **SCODE** values, another common data type for error handling. > [!NOTE] > In 64-bit MAPI, **HRESULT** is still a 32-bit value. For information about the OLE use of **HRESULT** values, see the *OLE Programmer's Reference*. For more information about the use of these values in MAPI, see [Error Handling](error-handling-in-mapi.md) and any of the following interface methods: [IABLogon::GetLastError](iablogon-getlasterror.md) [IMAPISupport::GetLastError](imapisupport-getlasterror.md) [IMAPIControl::GetLastError](imapicontrol-getlasterror.md) [IMAPITable::GetLastError](imapitable-getlasterror.md) [IMAPIProp::GetLastError](imapiprop-getlasterror.md) [IMAPIViewAdviseSink::OnPrint](imapiviewadvisesink-onprint.md)</para>
/// <para><see href="https://learn.microsoft.com/office/client-developer/outlook/mapi/hresult#">Read more on docs.microsoft.com</see>.</para>
/// </remarks>
[DebuggerDisplay("{Value}")]
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
internal readonly partial struct HRESULT
: IEquatable<HRESULT>
{
internal readonly int Value;
internal HRESULT(int value) => this.Value = value;
public static implicit operator int(HRESULT value) => value.Value;
public static explicit operator HRESULT(int value) => new HRESULT(value);
public static bool operator ==(HRESULT left, HRESULT right) => left.Value == right.Value;
public static bool operator !=(HRESULT left, HRESULT right) => !(left == right);
public bool Equals(HRESULT other) => this.Value == other.Value;
public override bool Equals(object obj) => obj is HRESULT other && this.Equals(other);
public override int GetHashCode() => this.Value.GetHashCode();
public override string ToString() => string.Format(global::System.Globalization.CultureInfo.InvariantCulture, "0x{0:X8}", this.Value);
public static implicit operator uint(HRESULT value) => (uint)value.Value;
public static explicit operator HRESULT(uint value) => new HRESULT((int)value);
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
internal bool Succeeded => this.Value >= 0;
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
internal bool Failed => this.Value < 0;
/// <inheritdoc cref="Marshal.ThrowExceptionForHR(int, IntPtr)" />
/// <param name="errorInfo">
/// A pointer to the IErrorInfo interface that provides more information about the
/// error. You can specify <see cref="IntPtr.Zero"/> to use the current IErrorInfo interface, or
/// <c>new IntPtr(-1)</c> to ignore the current IErrorInfo interface and construct the exception
/// just from the error code.
/// </param>
/// <returns><see langword="this"/> <see cref="HRESULT"/>, if it does not reflect an error.</returns>
/// <seealso cref="Marshal.ThrowExceptionForHR(int, IntPtr)"/>
internal HRESULT ThrowOnFailure(IntPtr errorInfo = default)
{
Marshal.ThrowExceptionForHR(this.Value, errorInfo);
return this;
}
internal string ToString(string format, IFormatProvider formatProvider) => ((uint)this.Value).ToString(format, formatProvider);
internal static readonly winmdroot.Foundation.HRESULT CLIPBRD_E_BAD_DATA = (winmdroot.Foundation.HRESULT)(-2147221037);
internal static readonly winmdroot.Foundation.HRESULT DATA_S_SAMEFORMATETC = (winmdroot.Foundation.HRESULT)(262448);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_ARRAYISLOCKED = (winmdroot.Foundation.HRESULT)(-2147352563);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_BADCALLEE = (winmdroot.Foundation.HRESULT)(-2147352560);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_BADINDEX = (winmdroot.Foundation.HRESULT)(-2147352565);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_BADPARAMCOUNT = (winmdroot.Foundation.HRESULT)(-2147352562);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_BADVARTYPE = (winmdroot.Foundation.HRESULT)(-2147352568);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_BUFFERTOOSMALL = (winmdroot.Foundation.HRESULT)(-2147352557);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_DIVBYZERO = (winmdroot.Foundation.HRESULT)(-2147352558);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_EXCEPTION = (winmdroot.Foundation.HRESULT)(-2147352567);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_MEMBERNOTFOUND = (winmdroot.Foundation.HRESULT)(-2147352573);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_NONAMEDARGS = (winmdroot.Foundation.HRESULT)(-2147352569);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_NOTACOLLECTION = (winmdroot.Foundation.HRESULT)(-2147352559);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_OVERFLOW = (winmdroot.Foundation.HRESULT)(-2147352566);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_PARAMNOTFOUND = (winmdroot.Foundation.HRESULT)(-2147352572);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_PARAMNOTOPTIONAL = (winmdroot.Foundation.HRESULT)(-2147352561);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_TYPEMISMATCH = (winmdroot.Foundation.HRESULT)(-2147352571);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_UNKNOWNINTERFACE = (winmdroot.Foundation.HRESULT)(-2147352575);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_UNKNOWNLCID = (winmdroot.Foundation.HRESULT)(-2147352564);
internal static readonly winmdroot.Foundation.HRESULT DISP_E_UNKNOWNNAME = (winmdroot.Foundation.HRESULT)(-2147352570);
internal static readonly winmdroot.Foundation.HRESULT DRAGDROP_E_ALREADYREGISTERED = (winmdroot.Foundation.HRESULT)(-2147221247);
internal static readonly winmdroot.Foundation.HRESULT DRAGDROP_E_NOTREGISTERED = (winmdroot.Foundation.HRESULT)(-2147221248);
internal static readonly winmdroot.Foundation.HRESULT DRAGDROP_S_CANCEL = (winmdroot.Foundation.HRESULT)(262401);
internal static readonly winmdroot.Foundation.HRESULT DRAGDROP_S_DROP = (winmdroot.Foundation.HRESULT)(262400);
internal static readonly winmdroot.Foundation.HRESULT DRAGDROP_S_USEDEFAULTCURSORS = (winmdroot.Foundation.HRESULT)(262402);
internal static readonly winmdroot.Foundation.HRESULT DV_E_FORMATETC = (winmdroot.Foundation.HRESULT)(-2147221404);
internal static readonly winmdroot.Foundation.HRESULT DV_E_DVTARGETDEVICE = (winmdroot.Foundation.HRESULT)(-2147221403);
internal static readonly winmdroot.Foundation.HRESULT DV_E_STGMEDIUM = (winmdroot.Foundation.HRESULT)(-2147221402);
internal static readonly winmdroot.Foundation.HRESULT DV_E_STATDATA = (winmdroot.Foundation.HRESULT)(-2147221401);
internal static readonly winmdroot.Foundation.HRESULT DV_E_LINDEX = (winmdroot.Foundation.HRESULT)(-2147221400);
internal static readonly winmdroot.Foundation.HRESULT DV_E_TYMED = (winmdroot.Foundation.HRESULT)(-2147221399);
internal static readonly winmdroot.Foundation.HRESULT DV_E_CLIPFORMAT = (winmdroot.Foundation.HRESULT)(-2147221398);
internal static readonly winmdroot.Foundation.HRESULT DV_E_DVASPECT = (winmdroot.Foundation.HRESULT)(-2147221397);
internal static readonly winmdroot.Foundation.HRESULT DV_E_DVTARGETDEVICE_SIZE = (winmdroot.Foundation.HRESULT)(-2147221396);
internal static readonly winmdroot.Foundation.HRESULT DV_E_NOIVIEWOBJECT = (winmdroot.Foundation.HRESULT)(-2147221395);
internal static readonly winmdroot.Foundation.HRESULT E_ABORT = (winmdroot.Foundation.HRESULT)(-2147467260);
internal static readonly winmdroot.Foundation.HRESULT E_ACCESSDENIED = (winmdroot.Foundation.HRESULT)(-2147024891);
/// <summary>The operation could not be completed.</summary>
/// <remarks>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnpinevents-ondisablecomplete">Learn more about this API from docs.microsoft.com</see>.</para>
/// </remarks>
internal static readonly winmdroot.Foundation.HRESULT E_FAIL = (winmdroot.Foundation.HRESULT)(-2147467259);
internal static readonly winmdroot.Foundation.HRESULT E_HANDLE = (winmdroot.Foundation.HRESULT)(-2147024890);
/// <summary>Documentation varies per use. Refer to each: <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnconnectioncontextevents-onsetprovisionedcontextcomplete">IMbnConnectionContextEvents.OnSetProvisionedContextComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnserviceactivationevents-onactivationcomplete">IMbnServiceActivationEvents.OnActivationComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsmsevents-onsmssendcomplete">IMbnSmsEvents.OnSmsSendComplete</see>.</summary>
internal static readonly winmdroot.Foundation.HRESULT E_INVALIDARG = (winmdroot.Foundation.HRESULT)(-2147024809);
internal static readonly winmdroot.Foundation.HRESULT E_NOINTERFACE = (winmdroot.Foundation.HRESULT)(-2147467262);
internal static readonly winmdroot.Foundation.HRESULT E_NOTIMPL = (winmdroot.Foundation.HRESULT)(-2147467263);
internal static readonly winmdroot.Foundation.HRESULT E_OUTOFMEMORY = (winmdroot.Foundation.HRESULT)(-2147024882);
internal static readonly winmdroot.Foundation.HRESULT E_PENDING = (winmdroot.Foundation.HRESULT)(-2147483638);
internal static readonly winmdroot.Foundation.HRESULT E_POINTER = (winmdroot.Foundation.HRESULT)(-2147467261);
internal static readonly winmdroot.Foundation.HRESULT E_UNEXPECTED = (winmdroot.Foundation.HRESULT)(-2147418113);
internal static readonly winmdroot.Foundation.HRESULT INPLACE_E_NOTOOLSPACE = (winmdroot.Foundation.HRESULT)(-2147221087);
internal static readonly winmdroot.Foundation.HRESULT NS_E_WMP_CANNOT_FIND_FILE = (winmdroot.Foundation.HRESULT)(-1072885353);
internal static readonly winmdroot.Foundation.HRESULT NS_E_WMP_DSHOW_UNSUPPORTED_FORMAT = (winmdroot.Foundation.HRESULT)(-1072885350);
internal static readonly winmdroot.Foundation.HRESULT NS_E_WMP_INVALID_ASX = (winmdroot.Foundation.HRESULT)(-1072885347);
internal static readonly winmdroot.Foundation.HRESULT NS_E_WMP_LOGON_FAILURE = (winmdroot.Foundation.HRESULT)(-1072885354);
internal static readonly winmdroot.Foundation.HRESULT NS_E_WMP_UNSUPPORTED_FORMAT = (winmdroot.Foundation.HRESULT)(-1072885351);
internal static readonly winmdroot.Foundation.HRESULT NS_E_WMP_URLDOWNLOADFAILED = (winmdroot.Foundation.HRESULT)(-1072885782);
internal static readonly winmdroot.Foundation.HRESULT OLE_E_ADVISENOTSUPPORTED = (winmdroot.Foundation.HRESULT)(-2147221501);
internal static readonly winmdroot.Foundation.HRESULT OLE_E_INVALIDRECT = (winmdroot.Foundation.HRESULT)(-2147221491);
internal static readonly winmdroot.Foundation.HRESULT OLE_E_NOCONNECTION = (winmdroot.Foundation.HRESULT)(-2147221500);
internal static readonly winmdroot.Foundation.HRESULT OLE_E_PROMPTSAVECANCELLED = (winmdroot.Foundation.HRESULT)(-2147221492);
internal static readonly winmdroot.Foundation.HRESULT OLECMDERR_E_DISABLED = (winmdroot.Foundation.HRESULT)(-2147221247);
internal static readonly winmdroot.Foundation.HRESULT OLECMDERR_E_UNKNOWNGROUP = (winmdroot.Foundation.HRESULT)(-2147221244);
internal static readonly winmdroot.Foundation.HRESULT REGDB_E_CLASSNOTREG = (winmdroot.Foundation.HRESULT)(-2147221164);
internal static readonly winmdroot.Foundation.HRESULT RPC_E_CHANGED_MODE = (winmdroot.Foundation.HRESULT)(-2147417850);
internal static readonly winmdroot.Foundation.HRESULT RPC_E_DISCONNECTED = (winmdroot.Foundation.HRESULT)(-2147417848);
internal static readonly winmdroot.Foundation.HRESULT RPC_E_SERVERFAULT = (winmdroot.Foundation.HRESULT)(-2147417851);
internal static readonly winmdroot.Foundation.HRESULT RPC_E_SYS_CALL_FAILED = (winmdroot.Foundation.HRESULT)(-2147417856);
internal static readonly winmdroot.Foundation.HRESULT S_FALSE = (winmdroot.Foundation.HRESULT)(1);
/// <summary>Documentation varies per use. Refer to each: <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnconnectioncontextevents-onsetprovisionedcontextcomplete">IMbnConnectionContextEvents.OnSetProvisionedContextComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnconnectionevents-onconnectcomplete">IMbnConnectionEvents.OnConnectComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnpinevents-onchangecomplete">IMbnPinEvents.OnChangeComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnpinevents-ondisablecomplete">IMbnPinEvents.OnDisableComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnpinevents-onenablecomplete">IMbnPinEvents.OnEnableComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnpinevents-onentercomplete">IMbnPinEvents.OnEnterComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnpinevents-onunblockcomplete">IMbnPinEvents.OnUnblockComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnpinmanagerevents-ongetpinstatecomplete">IMbnPinManagerEvents.OnGetPinStateComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnradioevents-onsetsoftwareradiostatecomplete">IMbnRadioEvents.OnSetSoftwareRadioStateComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnserviceactivationevents-onactivationcomplete">IMbnServiceActivationEvents.OnActivationComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsmsevents-onsetsmsconfigurationcomplete">IMbnSmsEvents.OnSetSmsConfigurationComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsmsevents-onsmsdeletecomplete">IMbnSmsEvents.OnSmsDeleteComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsmsevents-onsmsreadcomplete">IMbnSmsEvents.OnSmsReadComplete</see>, <see href="https://learn.microsoft.com/windows/win32/api/mbnapi/nf-mbnapi-imbnsmsevents-onsmssendcomplete">IMbnSmsEvents.OnSmsSendComplete</see>.</summary>
internal static readonly winmdroot.Foundation.HRESULT S_OK = (winmdroot.Foundation.HRESULT)(0);
internal static readonly winmdroot.Foundation.HRESULT STG_E_INVALIDFUNCTION = (winmdroot.Foundation.HRESULT)(-2147287039);
internal static readonly winmdroot.Foundation.HRESULT STG_E_FILENOTFOUND = (winmdroot.Foundation.HRESULT)(-2147287038);
internal static readonly winmdroot.Foundation.HRESULT STG_E_PATHNOTFOUND = (winmdroot.Foundation.HRESULT)(-2147287037);
internal static readonly winmdroot.Foundation.HRESULT STG_E_TOOMANYOPENFILES = (winmdroot.Foundation.HRESULT)(-2147287036);
internal static readonly winmdroot.Foundation.HRESULT STG_E_ACCESSDENIED = (winmdroot.Foundation.HRESULT)(-2147287035);
internal static readonly winmdroot.Foundation.HRESULT STG_E_INVALIDHANDLE = (winmdroot.Foundation.HRESULT)(-2147287034);
internal static readonly winmdroot.Foundation.HRESULT STG_E_INSUFFICIENTMEMORY = (winmdroot.Foundation.HRESULT)(-2147287032);
internal static readonly winmdroot.Foundation.HRESULT STG_E_INVALIDPOINTER = (winmdroot.Foundation.HRESULT)(-2147287031);
internal static readonly winmdroot.Foundation.HRESULT STG_E_NOMOREFILES = (winmdroot.Foundation.HRESULT)(-2147287022);
internal static readonly winmdroot.Foundation.HRESULT STG_E_DISKISWRITEPROTECTED = (winmdroot.Foundation.HRESULT)(-2147287021);
internal static readonly winmdroot.Foundation.HRESULT STG_E_SEEKERROR = (winmdroot.Foundation.HRESULT)(-2147287015);
internal static readonly winmdroot.Foundation.HRESULT STG_E_WRITEFAULT = (winmdroot.Foundation.HRESULT)(-2147287011);
internal static readonly winmdroot.Foundation.HRESULT STG_E_READFAULT = (winmdroot.Foundation.HRESULT)(-2147287010);
internal static readonly winmdroot.Foundation.HRESULT STG_E_SHAREVIOLATION = (winmdroot.Foundation.HRESULT)(-2147287008);
internal static readonly winmdroot.Foundation.HRESULT STG_E_LOCKVIOLATION = (winmdroot.Foundation.HRESULT)(-2147287007);
internal static readonly winmdroot.Foundation.HRESULT STG_E_FILEALREADYEXISTS = (winmdroot.Foundation.HRESULT)(-2147286960);
internal static readonly winmdroot.Foundation.HRESULT STG_E_INVALIDPARAMETER = (winmdroot.Foundation.HRESULT)(-2147286953);
internal static readonly winmdroot.Foundation.HRESULT STG_E_MEDIUMFULL = (winmdroot.Foundation.HRESULT)(-2147286928);
internal static readonly winmdroot.Foundation.HRESULT STG_E_PROPSETMISMATCHED = (winmdroot.Foundation.HRESULT)(-2147286800);
internal static readonly winmdroot.Foundation.HRESULT STG_E_ABNORMALAPIEXIT = (winmdroot.Foundation.HRESULT)(-2147286790);
internal static readonly winmdroot.Foundation.HRESULT STG_E_INVALIDHEADER = (winmdroot.Foundation.HRESULT)(-2147286789);
internal static readonly winmdroot.Foundation.HRESULT STG_E_INVALIDNAME = (winmdroot.Foundation.HRESULT)(-2147286788);
internal static readonly winmdroot.Foundation.HRESULT STG_E_UNKNOWN = (winmdroot.Foundation.HRESULT)(-2147286787);
internal static readonly winmdroot.Foundation.HRESULT STG_E_UNIMPLEMENTEDFUNCTION = (winmdroot.Foundation.HRESULT)(-2147286786);
internal static readonly winmdroot.Foundation.HRESULT STG_E_INVALIDFLAG = (winmdroot.Foundation.HRESULT)(-2147286785);
internal static readonly winmdroot.Foundation.HRESULT STG_E_INUSE = (winmdroot.Foundation.HRESULT)(-2147286784);
internal static readonly winmdroot.Foundation.HRESULT STG_E_NOTCURRENT = (winmdroot.Foundation.HRESULT)(-2147286783);
internal static readonly winmdroot.Foundation.HRESULT STG_E_REVERTED = (winmdroot.Foundation.HRESULT)(-2147286782);
internal static readonly winmdroot.Foundation.HRESULT STG_E_CANTSAVE = (winmdroot.Foundation.HRESULT)(-2147286781);
internal static readonly winmdroot.Foundation.HRESULT STG_E_OLDFORMAT = (winmdroot.Foundation.HRESULT)(-2147286780);
internal static readonly winmdroot.Foundation.HRESULT STG_E_OLDDLL = (winmdroot.Foundation.HRESULT)(-2147286779);
internal static readonly winmdroot.Foundation.HRESULT STG_E_SHAREREQUIRED = (winmdroot.Foundation.HRESULT)(-2147286778);
internal static readonly winmdroot.Foundation.HRESULT STG_E_NOTFILEBASEDSTORAGE = (winmdroot.Foundation.HRESULT)(-2147286777);
internal static readonly winmdroot.Foundation.HRESULT STG_E_EXTANTMARSHALLINGS = (winmdroot.Foundation.HRESULT)(-2147286776);
internal static readonly winmdroot.Foundation.HRESULT STG_E_DOCFILECORRUPT = (winmdroot.Foundation.HRESULT)(-2147286775);
internal static readonly winmdroot.Foundation.HRESULT STG_E_BADBASEADDRESS = (winmdroot.Foundation.HRESULT)(-2147286768);
internal static readonly winmdroot.Foundation.HRESULT STG_E_DOCFILETOOLARGE = (winmdroot.Foundation.HRESULT)(-2147286767);
internal static readonly winmdroot.Foundation.HRESULT STG_E_NOTSIMPLEFORMAT = (winmdroot.Foundation.HRESULT)(-2147286766);
internal static readonly winmdroot.Foundation.HRESULT STG_E_INCOMPLETE = (winmdroot.Foundation.HRESULT)(-2147286527);
internal static readonly winmdroot.Foundation.HRESULT STG_E_TERMINATED = (winmdroot.Foundation.HRESULT)(-2147286526);
internal static readonly winmdroot.Foundation.HRESULT STG_E_FIRMWARE_SLOT_INVALID = (winmdroot.Foundation.HRESULT)(-2147286520);
internal static readonly winmdroot.Foundation.HRESULT STG_E_FIRMWARE_IMAGE_INVALID = (winmdroot.Foundation.HRESULT)(-2147286519);
internal static readonly winmdroot.Foundation.HRESULT STG_E_DEVICE_UNRESPONSIVE = (winmdroot.Foundation.HRESULT)(-2147286518);
internal static readonly winmdroot.Foundation.HRESULT STG_E_STATUS_COPY_PROTECTION_FAILURE = (winmdroot.Foundation.HRESULT)(-2147286267);
internal static readonly winmdroot.Foundation.HRESULT STG_E_CSS_AUTHENTICATION_FAILURE = (winmdroot.Foundation.HRESULT)(-2147286266);
internal static readonly winmdroot.Foundation.HRESULT STG_E_CSS_KEY_NOT_PRESENT = (winmdroot.Foundation.HRESULT)(-2147286265);
internal static readonly winmdroot.Foundation.HRESULT STG_E_CSS_KEY_NOT_ESTABLISHED = (winmdroot.Foundation.HRESULT)(-2147286264);
internal static readonly winmdroot.Foundation.HRESULT STG_E_CSS_SCRAMBLED_SECTOR = (winmdroot.Foundation.HRESULT)(-2147286263);
internal static readonly winmdroot.Foundation.HRESULT STG_E_CSS_REGION_MISMATCH = (winmdroot.Foundation.HRESULT)(-2147286262);
internal static readonly winmdroot.Foundation.HRESULT STG_E_RESETS_EXHAUSTED = (winmdroot.Foundation.HRESULT)(-2147286261);
internal static readonly winmdroot.Foundation.HRESULT TYPE_E_BADMODULEKIND = (winmdroot.Foundation.HRESULT)(-2147317571);
internal static readonly winmdroot.Foundation.HRESULT VIEW_E_DRAW = (winmdroot.Foundation.HRESULT)(-2147221184);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_WRONGSTATE = (winmdroot.Foundation.HRESULT)(-2003292412);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_VALUEOUTOFRANGE = (winmdroot.Foundation.HRESULT)(-2003292411);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_UNKNOWNIMAGEFORMAT = (winmdroot.Foundation.HRESULT)(-2003292409);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_UNSUPPORTEDVERSION = (winmdroot.Foundation.HRESULT)(-2003292405);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_NOTINITIALIZED = (winmdroot.Foundation.HRESULT)(-2003292404);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_ALREADYLOCKED = (winmdroot.Foundation.HRESULT)(-2003292403);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_PROPERTYNOTFOUND = (winmdroot.Foundation.HRESULT)(-2003292352);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_PROPERTYNOTSUPPORTED = (winmdroot.Foundation.HRESULT)(-2003292351);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_PROPERTYSIZE = (winmdroot.Foundation.HRESULT)(-2003292350);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_CODECPRESENT = (winmdroot.Foundation.HRESULT)(-2003292349);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_CODECNOTHUMBNAIL = (winmdroot.Foundation.HRESULT)(-2003292348);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_PALETTEUNAVAILABLE = (winmdroot.Foundation.HRESULT)(-2003292347);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_CODECTOOMANYSCANLINES = (winmdroot.Foundation.HRESULT)(-2003292346);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_INTERNALERROR = (winmdroot.Foundation.HRESULT)(-2003292344);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_SOURCERECTDOESNOTMATCHDIMENSIONS = (winmdroot.Foundation.HRESULT)(-2003292343);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_COMPONENTNOTFOUND = (winmdroot.Foundation.HRESULT)(-2003292336);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_IMAGESIZEOUTOFRANGE = (winmdroot.Foundation.HRESULT)(-2003292335);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_TOOMUCHMETADATA = (winmdroot.Foundation.HRESULT)(-2003292334);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_BADIMAGE = (winmdroot.Foundation.HRESULT)(-2003292320);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_BADHEADER = (winmdroot.Foundation.HRESULT)(-2003292319);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_FRAMEMISSING = (winmdroot.Foundation.HRESULT)(-2003292318);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_BADMETADATAHEADER = (winmdroot.Foundation.HRESULT)(-2003292317);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_BADSTREAMDATA = (winmdroot.Foundation.HRESULT)(-2003292304);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_STREAMWRITE = (winmdroot.Foundation.HRESULT)(-2003292303);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_STREAMREAD = (winmdroot.Foundation.HRESULT)(-2003292302);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_STREAMNOTAVAILABLE = (winmdroot.Foundation.HRESULT)(-2003292301);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT = (winmdroot.Foundation.HRESULT)(-2003292288);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_UNSUPPORTEDOPERATION = (winmdroot.Foundation.HRESULT)(-2003292287);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_INVALIDREGISTRATION = (winmdroot.Foundation.HRESULT)(-2003292278);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_COMPONENTINITIALIZEFAILURE = (winmdroot.Foundation.HRESULT)(-2003292277);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_INSUFFICIENTBUFFER = (winmdroot.Foundation.HRESULT)(-2003292276);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_DUPLICATEMETADATAPRESENT = (winmdroot.Foundation.HRESULT)(-2003292275);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_PROPERTYUNEXPECTEDTYPE = (winmdroot.Foundation.HRESULT)(-2003292274);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_UNEXPECTEDSIZE = (winmdroot.Foundation.HRESULT)(-2003292273);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_INVALIDQUERYREQUEST = (winmdroot.Foundation.HRESULT)(-2003292272);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_UNEXPECTEDMETADATATYPE = (winmdroot.Foundation.HRESULT)(-2003292271);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_REQUESTONLYVALIDATMETADATAROOT = (winmdroot.Foundation.HRESULT)(-2003292270);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_INVALIDQUERYCHARACTER = (winmdroot.Foundation.HRESULT)(-2003292269);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_WIN32ERROR = (winmdroot.Foundation.HRESULT)(-2003292268);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_INVALIDPROGRESSIVELEVEL = (winmdroot.Foundation.HRESULT)(-2003292267);
internal static readonly winmdroot.Foundation.HRESULT WINCODEC_ERR_INVALIDJPEGSCANINDEX = (winmdroot.Foundation.HRESULT)(-2003292266);
}
}
}
|