#region Copyright (c) 2011-2023 Technosoftware GmbH. All rights reserved //----------------------------------------------------------------------------- // Copyright (c) 2011-2023 Technosoftware GmbH. All rights reserved // Web: https://www.technosoftware.com // // The source code in this file is covered under a dual-license scenario: // - Owner of a purchased license: SCLA 1.0 // - GPL V3: everybody else // // SCLA license terms accompanied with this source code. // See SCLA 1.0: https://technosoftware.com/license/Source_Code_License_Agreement.pdf // // GNU General Public License as published by the Free Software Foundation; // version 3 of the License are accompanied with this source code. // See https://technosoftware.com/license/GPLv3License.txt // // This source code is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY // or FITNESS FOR A PARTICULAR PURPOSE. //----------------------------------------------------------------------------- #endregion Copyright (c) 2011-2023 Technosoftware GmbH. All rights reserved #region Using Directives #endregion namespace Technosoftware.DaAeHdaClient.Com { namespace Da { /// /// Defines all well known COM DA HRESULT codes. /// internal struct Result { /// public const int S_OK = +0x00000000; // 0x00000000 /// public const int S_FALSE = +0x00000001; // 0x00000001 /// public const int E_NOTIMPL = -0x7FFFBFFF; // 0x80004001 /// public const int E_OUTOFMEMORY = -0x7FF8FFF2; // 0x8007000E /// public const int E_INVALIDARG = -0x7FF8FFA9; // 0x80070057 /// public const int E_NOINTERFACE = -0x7FFFBFFE; // 0x80004002 /// public const int E_POINTER = -0x7FFFBFFD; // 0x80004003 /// public const int E_FAIL = -0x7FFFBFFB; // 0x80004005 /// public const int CONNECT_E_NOCONNECTION = -0x7FFBFE00; // 0x80040200 /// public const int CONNECT_E_ADVISELIMIT = -0x7FFBFDFF; // 0x80040201 /// public const int DISP_E_TYPEMISMATCH = -0x7FFDFFFB; // 0x80020005 /// public const int DISP_E_OVERFLOW = -0x7FFDFFF6; // 0x8002000A /// public const int E_INVALIDHANDLE = -0x3FFBFFFF; // 0xC0040001 /// public const int E_BADTYPE = -0x3FFBFFFC; // 0xC0040004 /// public const int E_PUBLIC = -0x3FFBFFFB; // 0xC0040005 /// public const int E_BADRIGHTS = -0x3FFBFFFA; // 0xC0040006 /// public const int E_UNKNOWNITEMID = -0x3FFBFFF9; // 0xC0040007 /// public const int E_INVALIDITEMID = -0x3FFBFFF8; // 0xC0040008 /// public const int E_INVALIDFILTER = -0x3FFBFFF7; // 0xC0040009 /// public const int E_UNKNOWNPATH = -0x3FFBFFF6; // 0xC004000A /// public const int E_RANGE = -0x3FFBFFF5; // 0xC004000B /// public const int E_DUPLICATENAME = -0x3FFBFFF4; // 0xC004000C /// public const int S_UNSUPPORTEDRATE = +0x0004000D; // 0x0004000D /// public const int S_CLAMP = +0x0004000E; // 0x0004000E /// public const int S_INUSE = +0x0004000F; // 0x0004000F /// public const int E_INVALIDCONFIGFILE = -0x3FFBFFF0; // 0xC0040010 /// public const int E_NOTFOUND = -0x3FFBFFEF; // 0xC0040011 /// public const int E_INVALID_PID = -0x3FFBFDFD; // 0xC0040203 /// public const int E_DEADBANDNOTSET = -0x3FFBFC00; // 0xC0040400 /// public const int E_DEADBANDNOTSUPPORTED = -0x3FFBFBFF; // 0xC0040401 /// public const int E_NOBUFFERING = -0x3FFBFBFE; // 0xC0040402 /// public const int E_INVALIDCONTINUATIONPOINT = -0x3FFBFBFD; // 0xC0040403 /// public const int S_DATAQUEUEOVERFLOW = +0x00040404; // 0x00040404 /// public const int E_RATENOTSET = -0x3FFBFBFB; // 0xC0040405 /// public const int E_NOTSUPPORTED = -0x3FFBFBFA; // 0xC0040406 } } namespace Cpx { /// /// Defines all well known Complex Data HRESULT codes. /// internal struct Result { /// public const int E_TYPE_CHANGED = -0x3FFBFBF9; // 0xC0040407 /// public const int E_FILTER_DUPLICATE = -0x3FFBFBF8; // 0xC0040408 /// public const int E_FILTER_INVALID = -0x3FFBFBF7; // 0xC0040409 /// public const int E_FILTER_ERROR = -0x3FFBFBF6; // 0xC004040A /// public const int S_FILTER_NO_DATA = +0x0004040B; // 0xC004040B } } }