Desktop Functions: Smart Device Functions:
|
Search Results for "AI" in [All]secur32Check InitializeSecurityContext for details
/// The domain-only version includes trailing backslashes (\\).
/// The domain-only version includes a trailing forward slash (/).
/// is replaced with a new line character (\n), even in a domain-only case
/// The DNS domain name followed by a backward-slash and the SAM user name.
NameDnsDomain = 12 This may be required because System.Environment.UserDomainName is broken. If the local machine has a user account that is the same name as a logged in domain user (machineName\bob & domainName\bob) UserDomainName returns the machine name, not the domain name.
NameDnsDomain = 12
public String GetUserDomain()
NameDnsDomain = 12 [System.Environment.UserDomainName]
public uint cbSecurityTrailer;
throw new Exception("InitializeSecurityContext() failed!!!");
throw new Exception("AcceptSecurityContext() failed!!!");
throw new Exception("QueryContextAttribute() failed!!!");
ThisSecHelper[1] = new MultipleSecBufferHelper(new byte[ContextSizes.cbSecurityTrailer],SecBufferType.SECBUFFER_TOKEN);
throw new Exception("EncryptMessage() failed!!!");
int SecurityTrailerLength = encryptedBuffer.Length - messageLength;
byte[] SecurityTrailer = new byte[SecurityTrailerLength];
Array.Copy(encryptedBuffer,messageLength,SecurityTrailer,0,SecurityTrailerLength);
ThisSecHelper[1] = new MultipleSecBufferHelper(SecurityTrailer,SecBufferType.SECBUFFER_TOKEN);
throw new Exception("DecryptMessage() failed!!!");
throw new Exception("QueryContextAttribute() failed!!!");
throw new Exception("MakeSignature() failed!!!");
throw new Exception("VerifySignature() failed!!!");
static void Main(string[] args) Whidbey makes it trivial to Kerberize your application using NegotiateStream. Check the Beta documentation for details...
/// <param name="LsaHandle">[in] Handle obtained from a previous call to LsaRegisterLogonProcess or LsaConnectUntrusted.</param>
/// <param name="AuthenticationPackage">[in] Supplies the identifier of the authentication package. This value is obtained by calling LsaLookupAuthenticationPackage.</param>
/// <returns>If the function succeeds, the return value is STATUS_SUCCESS. Check the ProtocolStatus parameter to obtain the status returned by the authentication package.
/// If the function fails, the return value is an NTSTATUS code. The following are possible error codes.
public LSA_UNICODE_STRING LoginDomain;
public LSA_UNICODE_STRING DnsDomainName;
string domain = Marshal.PtrToStringUni(data.LoginDomain.buffer).Trim(); //domain for this account
listBox1.Items.Add("User: " + username + " *** Domain: " + domain + " *** Login Type: (" + data.LogonType + ") " + secType.ToString() +" *** Login Time: "+time.ToLocalTime().ToString()); 6: LsaLogonUser
/// This sample uses S4U security, which requires Windows Server 2003 and a W2003 domain controller
string Domain,
using (OSCalls.KerbS4ULogon authPackage = new OSCalls.KerbS4ULogon(UserName,Domain))
/// Requires Windows Server 2003 domain account running in Win2003 native domain mode
/// Raises an exception with error information if the user cannot log in
new Win32.HandleSecurityToken(credential.UserName,credential.Domain,(Win32.OSCalls.WinLogonType)logonType)) System.Security.Principal.WindowsIdentity has a constructor that you can use if you know the user's principal name (UPN). It does not work however for domain\username. This may be required to obtain the UPN (or other format) of a user's credentials. Minimum supported OS is Windows 2000. Full documentation of the native API is available from http://msdn.microsoft.com/en-us/library/ms725484(VS.85).aspx.
NameDnsDomain = 12
public string GetTranslatedName(string domain, string user)
string samCompatibleName = domain.ToUpper() + "\\" + username; query¢ú
þãrg¨SaI~£D#´Ô¦Yë>go5éM2ï¥6é"ÁÆxr3|}YØU½ÇQ>5$FwÑùßEjÑSÖº;eàjMs7èþõØRþB»ãV©ÌÙ¨¢Ü1ìðf*Æ~ÄEô¾£¶¯K¦@æUã\L suA#"×J¦ÑñZíÉ|b¸GÁtG`Çê¦Ó*ÑI%FÇM[`Òz»¾±hR².0
צíæ~UQóÃ< 10: !!!!! ¤±²È¢ìKú2XÛKn +¥AI9ÖÀÿéÄðy¯½Ù]ïàË'8,Ã_&e!Oê q3J5°f¸tðÏùñY÷¸!È1_÷&] Enums12: !!!!!!!!!!!!!!! ¶×éÕ[Z]¤è¼aIòÕDxßq8v24jKn*NP ùmMÉ_Ì#yè[;gdî|bü.Ó¬1Fßú£GhoÕämÁyѽèç/ÞmÛÿ±Øª=¸.^+å¢,áãÁÔvÃ=vVµ»Ñ ¦Ñ$Ýdý[õ]%Óó¨úóÀ÷]5ñMð\Ç¿C Å!Ezä¾9g"/3ødPÊKè·ÇÌmnIOÖ½ß66UBæ¯áÈæ¦¨f¸³±»±|íj*ð%AðFT&Ó|~s¸Ë_b«(iû)ãí ¶wJQ!_E¼¨`ËäÈÛ³wv ô±¨G ïÊŽÀó]5¦(|ÒÛò 13: BPPF
14: BP_BUFFERFORMAT
15: BrowseInfoFlags
/// Do not include network folders below the domain level in the dialog box's tree view control.
BIF_DONTGOBELOWDOMAIN = 0x00000002,
/// If the user types an invalid name into the edit box, the browse dialog box calls the application's BrowseCallbackProc with the BFFM_VALIDATEFAILED message.
''' Do not include network folders below the domain level in the dialog box's tree view control.
BIF_DONTGOBELOWDOMAIN = &H00000002
''' If the user types an invalid name into the edit box, the browse dialog box calls the application's BrowseCallbackProc with the BFFM_VALIDATEFAILED message.
BIF_DONTGOBELOWDOMAIN As Long = &H00000002 16: ClassStyles
/// Therefore, the system does not send WM_PAINT messages to windows that were obscured if the memory used by the bitmap has not been discarded and if other screen actions have not invalidated the stored image.
''' Therefore, the system does not send WM_PAINT messages to windows that were obscured if the memory used by the bitmap has not been discarded and if other screen actions have not invalidated the stored image. 17: CLSCTX
CLSCTX_NO_FAILURE_LOG = 0x4000,
CLSCTX_NO_FAILURE_LOG = &H4000
ComputerNameDnsDomain,
ComputerNamePhysicalDnsDomain,
public static PropertyKey UI_PKEY_ContextAvailable = new PropertyKey(new Guid(Convert.ToString(1100, 16).PadLeft(8, '0') + UI_PropertyKey), (int)VarEnum.VT_UI4); 20: CopyFileFlags
COPY_FILE_FAIL_IF_EXISTS = 0x00000001,
// will fail and GetLastError() will indicate ERROR_PASSWORD_RESTRICTION
' will fail and GetLastError() will indicate ERROR_PASSWORD_RESTRICTION
///<Summary>Retains the current position (ignores the x and y parameters).</Summary>
///<Summary>Does not redraw changes. If this flag is set, no repainting of any kind occurs. This applies to the client area, the nonclient area (including the title bar and scroll bars), and any part of the parent window uncovered as a result of the window being moved. When this flag is set, the application must explicitly invalidate or redraw any parts of the window and parent window that need redrawing.</Summary>
///<Summary>Retains the current size (ignores the cx and cy parameters).</Summary>
///<Summary>Retains the current Z order (ignores the hWndInsertAfter parameter).</Summary>
'''<Summary>Retains the current position (ignores the x and y parameters).</Summary>
'''<Summary>Does not redraw changes. If this flag is set, no repainting of any kind occurs. This applies to the client area, the nonclient area (including the title bar and scroll bars), and any part of the parent window uncovered as a result of the window being moved. When this flag is set, the application must explicitly invalidate or redraw any parts of the window and parent window that need redrawing.</Summary>
'''<Summary>Retains the current size (ignores the cx and cy parameters).</Summary>
'''<Summary>Retains the current Z order (ignores the hWndInsertAfter parameter).</Summary>
/// Retrieves a list of supported paper sizes. The pOutput buffer receives an array of WORD values that indicate the available paper sizes for the printer. The return value indicates the number of entries in the array. For a list of the possible array values, see the description of the dmPaperSize member of the DEVMODE structure. If pOutput is NULL, the return value indicates the required number of entries in the array.
/// Retrieves the dimensions, in tenths of a millimeter, of each supported paper size. The pOutput buffer receives an array of POINT structures. Each structure contains the width (x-dimension) and length (y-dimension) of a paper size as if the paper were in the DMORIENT_PORTRAIT orientation. The return value indicates the number of entries in the array.
/// Returns the minimum paper size that the dmPaperLength and dmPaperWidth members of the printer driver's DEVMODE structure can specify. The LOWORD of the return value contains the minimum dmPaperWidth value, and the HIWORD contains the minimum dmPaperLength value.
/// Returns the maximum paper size that the dmPaperLength and dmPaperWidth members of the printer driver's DEVMODE structure can specify. The LOWORD of the return value contains the maximum dmPaperWidth value, and the HIWORD contains the maximum dmPaperLength value.
/// Retrieves a list of available paper bins. The pOutput buffer receives an array of WORD values that indicate the available paper sources for the printer. The return value indicates the number of entries in the array. For a list of the possible array values, see the description of the dmDefaultSource member of the DEVMODE structure. If pOutput is NULL, the return value indicates the required number of entries in the array.
/// Retrieves the names of the printer's paper bins. The pOutput buffer receives an array of string buffers. Each string buffer is 24 characters long and contains the name of a paper bin. The return value indicates the number of entries in the array. The name strings are null-terminated unless the name is 24 characters long. If pOutput is NULL, the return value is the number of bin entries required.
/// Retrieves a list of the resolutions supported by the printer. The pOutput buffer receives an array of LONG values. For each supported resolution, the array contains a pair of LONG values that specify the x and y dimensions of the resolution, in dots per inch. The return value indicates the number of supported resolutions. If pOutput is NULL, the return value indicates the number of supported resolutions.
/// Retrieves the names of any additional files that need to be loaded when a driver is installed. The pOutput buffer receives an array of string buffers. Each string buffer is 64 characters long and contains the name of a file. The return value indicates the number of entries in the array. The name strings are null-terminated unless the name is 64 characters long. If pOutput is NULL, the return value is the number of files.
/// Retrieves a list of supported paper names (for example, Letter or Legal). The pOutput buffer receives an array of string buffers. Each string buffer is 64 characters long and contains the name of a paper form. The return value indicates the number of entries in the array. The name strings are null-terminated unless the name is 64 characters long. If pOutput is NULL, the return value is the number of paper forms.
/// Returns the relationship between portrait and landscape orientations for a device, in terms of the number of degrees that portrait orientation is rotated counterclockwise to produce landscape orientation. The return value can be one of the following:
///90 Portrait is rotated 90 degrees to produce landscape.
///270 Portrait is rotated 270 degrees to produce landscape.
/// Retrieves a list of printer description languages supported by the printer. The pOutput buffer receives an array of string buffers. Each buffer is 32 characters long and contains the name of a printer description language. The return value indicates the number of entries in the array. The name strings are null-terminated unless the name is 32 characters long. If pOutput is NULL, the return value indicates the required number of array entries.
/// The return value is the amount of available printer memory, in kilobytes. The pOutput parameter is not used.
/// Retrieves the names of the paper forms that are currently available for use. The pOutput buffer receives an array of string buffers. Each string buffer is 64 characters long and contains the name of a paper form. The return value indicates the number of entries in the array. The name strings are null-terminated unless the name is 64 characters long. If pOutput is NULL, the return value is the number of paper forms.
/// Retrieves the names of the supported media types. The pOutput buffer receives an array of string buffers. Each string buffer is 64 characters long and contains the name of a supported media type. The return value indicates the number of entries in the array. The strings are null-terminated unless the name is 64 characters long. If pOutput is NULL, the return value is the number of media type names required. Windows 2000: This flag is not supported.
/// <summary>DCX_USESTYLE: Undocumented, something related to WM_NCPAINT message.</summary>
/// DCX_VALIDATE is identical to using the BeginPaint function.</summary>
''' DCX_VALIDATE is identical to using the BeginPaint function.</summary> 25: DEVICE_TYPE
FILE_DEVICE_MAILSLOT = 0x0c,
FILE_DEVICE_MAILSLOT = &Hc
IDTRYAGAIN = 9,
IDTRYAGAIN = 9 27: DISP_CHANGE
Failed = -1,
Failed = -1
DsRole_RoleBackupDomainController,
DsRole_RolePrimaryDomainController
enum DSROLE_PRIMARY_DOMAIN_INFO_LEVEL : uint
DsRolePrimaryDomainInfoBasic = 1,
Enum DSROLE_PRIMARY_DOMAIN_INFO_LEVEL 30: DS_NAME_ERROR
// domain object resides in. Thus DS_NAME_RESULT_ITEM?.pDomain
DS_NAME_ERROR_DOMAIN_ONLY = 5, 31: DS_NAME_FLAGS
// The call fails if the DC is not a GC 32: DS_NAME_FORMAT
// Domain-only version includes trailing '\\'.
// DS_DOMAIN_SIMPLE_NAME = 4,
// Domain-only version includes trailing '/'.
// replaced with '\n' - even in domain-only case.
// Pseudo-name format so GetUserNameEx can return the DNS domain name to
DS_DNS_DOMAIN_NAME = 12
DS_REPL_INFO_KCC_DSA_CONNECT_FAILURES = 3,
DS_REPL_INFO_KCC_DSA_LINK_FAILURES = 4,
AllowNCPaint, 35: FileAttributes
/// File attributes are metadata values stored by the file system on disk and are used by the system and are available to developers via various file I/O APIs.
/// A file that is being used for temporary storage. File systems avoid writing data back to mass storage if sufficient cache memory is available, because typically, an application deletes a temporary file after the handle is closed. In that scenario, the system can entirely avoid writing the data. Otherwise, the data is written after the handle is closed.
/// The data of a file is not available immediately. This attribute indicates that the file data is physically moved to offline storage. This attribute is used by Remote Storage, which is the hierarchical storage management software. Applications should not arbitrarily change this attribute.
''' File attributes are metadata values stored by the file system on disk and are used by the system and are available to developers via various file I/O APIs.
''' A file that is being used for temporary storage. File systems avoid writing data back to mass storage if sufficient cache memory is available, because typically, an application deletes a temporary file after the handle is closed. In that scenario, the system can entirely avoid writing the data. Otherwise, the data is written after the handle is closed.
''' The data of a file is not available immediately. This attribute indicates that the file data is physically moved to offline storage. This attribute is used by Remote Storage, which is the hierarchical storage management software. Applications should not arbitrarily change this attribute. 36: FILEOP_FLAGS
/// Treat reparse points as objects, not containers
''' Treat reparse points as objects, not containers 37: fModes
/// No description available.
/// to contain the information.
/// Retrieves the root window by walking the chain of parent windows.
/// Retrieves the owned root window by walking the chain of parent and owner windows returned by GetParent.
// In the case that the shell item is a file, the property store contains:
GPS_BESTEFFORT = 0x00000040, // For readonly stores, succeed and return all available properties, even if one or more sources of properties fails. Not valid with GPS_READWRITE. 40: HIDUsage
41: HIDUsagePage
/// Selects the previous locale identifier in the circular list of loaded locale identifiers maintained by the system
/// Selects the next locale identifier in the circular list of loaded locale identifiers maintained by the system 43: HookType For the details about each of the values visit http://msdn.microsoft.com/en-us/library/windows/desktop/ms644990(v=vs.85).aspx 44: HRESULT
public bool Failed { get { return m_value < 0; } }
public static bool FAILED(int hr) { return hr < 0; }
///Catastrophic failure
[Description("Catastrophic failure")]
public const int E_FAIL = unchecked((int)0x80004005);
///The data necessary to complete this operation is not yet available.
[Description("The data necessary to complete this operation is not yet available.")]
///Thread local storage failure
[Description("Thread local storage failure")]
///Get shared memory allocator failure
[Description("Get shared memory allocator failure")]
///Get memory allocator failure
[Description("Get memory allocator failure")]
///Failure attempting to launch OLE service
[Description("Failure attempting to launch OLE service")]
public const int CO_E_INIT_SCM_EXEC_FAILURE = unchecked((int)0x80004011);
///A RunAs specification must be <domain name>\<user name> or simply <user name>
[Description("A RunAs specification must be <domain name>\\<user name> or simply <user name>")]
public const int CO_E_CREATEPROCESS_FAILURE = unchecked((int)0x80004018);
///<para>The pathname may be incorrect or unavailable.</para>
[Description("The server process could not be started as the configured identity.\nThe pathname may be incorrect or unavailable.")]
public const int CO_E_RUNAS_CREATEPROCESS_FAILURE = unchecked((int)0x80004019);
public const int CO_E_RUNAS_LOGON_FAILURE = unchecked((int)0x8000401A);
public const int CO_E_START_SERVICE_FAILURE = unchecked((int)0x8000401C);
public const int CO_E_REMOTE_COMMUNICATION_FAILURE = unchecked((int)0x8000401D);
///The component or application containing the component has been disabled.
[Description("The component or application containing the component has been disabled.")]
///The common language runtime is not available
[Description("The common language runtime is not available")]
public const int CO_E_CLRNOTAVAILABLE = unchecked((int)0x80004028);
///The server principal name (SPN) obtained during security negotiation is malformed.
[Description("The server principal name (SPN) obtained during security negotiation is malformed.")]
///The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call may have executed.
[Description("The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call may have executed.")]
public const int RPC_E_CANTCALLOUT_AGAIN = unchecked((int)0x80010011);
///The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call did not execute.
[Description("The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call did not execute.")]
///System call failed.
[Description("System call failed.")]
public const int RPC_E_SYS_CALL_FAILED = unchecked((int)0x80010100);
///The object invoked chose not to process the call now. Try again later.
[Description("The object invoked chose not to process the call now. Try again later.")]
///OLE has sent a request and is waiting for a reply.
[Description("OLE has sent a request and is waiting for a reply.")]
///OLE is waiting before retrying a request.
[Description("OLE is waiting before retrying a request.")]
public const int RPC_S_WAITONTIMER = unchecked((int)0x80010116);
///There are no synchronize objects to wait on.
[Description("There are no synchronize objects to wait on.")]
///Full subject issuer chain SSL principal name expected from the server.
[Description("Full subject issuer chain SSL principal name expected from the server.")]
public const int CO_E_FAILEDTOIMPERSONATE = unchecked((int)0x80010123);
///Unable to obtain server's security context
[Description("Unable to obtain server's security context")]
public const int CO_E_FAILEDTOGETSECCTX = unchecked((int)0x80010124);
public const int CO_E_FAILEDTOOPENTHREADTOKEN = unchecked((int)0x80010125);
///Unable to obtain user info from an access token
[Description("Unable to obtain user info from an access token")]
public const int CO_E_FAILEDTOGETTOKENINFO = unchecked((int)0x80010126);
///Unable to obtain the client's security blanket
[Description("Unable to obtain the client's security blanket")]
public const int CO_E_FAILEDTOQUERYCLIENTBLANKET = unchecked((int)0x80010128);
public const int CO_E_FAILEDTOSETDACL = unchecked((int)0x80010129);
public const int CO_E_ACCESSCHECKFAILED = unchecked((int)0x8001012A);
public const int CO_E_NETACCESSAPIFAILED = unchecked((int)0x8001012B);
///One of the trustee strings provided by the user did not conform to the <Domain>\<Name> syntax and it was not the "*" string
[Description("One of the trustee strings provided by the user did not conform to the <Domain>\\<Name> syntax and it was not the \"*\" string")]
public const int CO_E_CONVERSIONFAILED = unchecked((int)0x8001012E);
///The system function, LookupAccountSID, failed
[Description("The system function, LookupAccountSID, failed")]
public const int CO_E_LOOKUPACCSIDFAILED = unchecked((int)0x80010130);
///The system function, LookupAccountName, failed
[Description("The system function, LookupAccountName, failed")]
public const int CO_E_LOOKUPACCNAMEFAILED = unchecked((int)0x80010132);
public const int CO_E_SETSERLHNDLFAILED = unchecked((int)0x80010133);
///Unable to obtain the Windows directory
[Description("Unable to obtain the Windows directory")]
public const int CO_E_FAILEDTOGETWINDIR = unchecked((int)0x80010134);
public const int CO_E_FAILEDTOGENUUID = unchecked((int)0x80010136);
public const int CO_E_FAILEDTOCREATEFILE = unchecked((int)0x80010137);
public const int CO_E_FAILEDTOCLOSEHANDLE = unchecked((int)0x80010138);
public const int CO_E_FAILEDTOOPENPROCESSTOKEN = unchecked((int)0x8001013C);
public const int CO_E_DECODEFAILED = unchecked((int)0x8001013D);
///There is insufficient memory available to complete operation.
[Description("There is insufficient memory available to complete operation.")]
///The storage operation should block until more data is available.
[Description("The storage operation should block until more data is available.")]
///Consolidation of the storage file failed. (commit succeeded).
[Description("Consolidation of the storage file failed. (commit succeeded).")]
public const int STG_S_CONSOLIDATIONFAILED = unchecked((int)0x00030205);
public const int STG_E_STATUS_COPY_PROTECTION_FAILURE = unchecked((int)0x80030305);
///Copy Protection Error - DVD CSS Authentication failed.
[Description("Copy Protection Error - DVD CSS Authentication failed.")]
public const int STG_E_CSS_AUTHENTICATION_FAILURE = unchecked((int)0x80030306);
///Copy Protection Error - The read failed because the sector is encrypted.
[Description("Copy Protection Error - The read failed because the sector is encrypted.")]
public const int CLASS_E_CLASSNOTAVAILABLE = unchecked((int)0x80040111);
///Undo is not available
[Description("Undo is not available")]
///Space for tools is not available
[Description("Space for tools is not available")]
///OLESTREAM Get method failed
[Description("OLESTREAM Get method failed")]
///OLESTREAM Put method failed
[Description("OLESTREAM Put method failed")]
///OpenClipboard Failed
[Description("OpenClipboard Failed")]
///EmptyClipboard Failed
[Description("EmptyClipboard Failed")]
///SetClipboard Failed
[Description("SetClipboard Failed")]
///CloseClipboard Failed
[Description("CloseClipboard Failed")]
///Operation unavailable
[Description("Operation unavailable")]
public const int MK_E_UNAVAILABLE = unchecked((int)0x800401E3);
///Intermediate operation failed
[Description("Intermediate operation failed")]
public const int MK_E_ENUMERATION_FAILED = unchecked((int)0x800401EF);
public const int EVENT_S_SOME_SUBSCRIBERS_FAILED = unchecked((int)0x00040200);
public const int EVENT_E_ALL_SUBSCRIBERS_FAILED = unchecked((int)0x80040201);
///An unexpected exception was raised
[Description("An unexpected exception was raised")]
///A user-supplied component or subscriber raised an exception
[Description("A user-supplied component or subscriber raised an exception")]
///A retaining commit or abort is not supported
[Description("A retaining commit or abort is not supported")]
public const int XACT_E_CANTRETAIN = unchecked((int)0x8004D001);
///The transaction failed to commit for an unknown reason. The transaction was aborted.
[Description("The transaction failed to commit for an unknown reason. The transaction was aborted.")]
public const int XACT_E_COMMITFAILED = unchecked((int)0x8004D002);
///The requested semantics of retention of isolation across retaining commit and abort boundaries cannot be supported by this transaction implementation, or isoFlags was not equal to zero.
[Description("The requested semantics of retention of isolation across retaining commit and abort boundaries cannot be supported by this transaction implementation, or isoFlags was not equal to zero.")]
public const int XACT_E_NOISORETAIN = unchecked((int)0x8004D00B);
///The transaction failed to commit due to the failure of optimistic concurrency control in at least one of the resource managers.
[Description("The transaction failed to commit due to the failure of optimistic concurrency control in at least one of the resource managers.")]
///The transaction status is in doubt. A communication failure occurred, or a transaction manager or resource manager has failed
[Description("The transaction status is in doubt. A communication failure occurred, or a transaction manager or resource manager has failed")]
///The Transaction Manager is not available.
[Description("The Transaction Manager is not available.")]
public const int XACT_E_TMNOTAVAILABLE = unchecked((int)0x8004D01B);
///This transaction manager failed to establish a connection with another TIP transaction manager.
[Description("This transaction manager failed to establish a connection with another TIP transaction manager.")]
public const int XACT_E_TIP_CONNECT_FAILED = unchecked((int)0x8004D01F);
public const int XACT_E_TIP_PULL_FAILED = unchecked((int)0x8004D021);
///The Transaction Manager on the destination machine is not available.
[Description("The Transaction Manager on the destination machine is not available.")]
public const int XACT_E_DEST_TMNOTAVAILABLE = unchecked((int)0x8004D022);
///The transaction was successfully aborted. However, this is a coordinated transaction, and some number of enlisted resources were aborted outright because they could not support abort-retaining semantics
[Description("The transaction was successfully aborted. However, this is a coordinated transaction, and some number of enlisted resources were aborted outright because they could not support abort-retaining semantics")]
public const int XACT_S_SOMENORETAIN = unchecked((int)0x0004D003);
///The transaction was successfully aborted. However, the abort was non-retaining.
[Description("The transaction was successfully aborted. However, the abort was non-retaining.")]
public const int XACT_S_ALLNORETAIN = unchecked((int)0x0004D007);
///The component is configured to use synchronization and a thread has timed out waiting to enter the context.
[Description("The component is configured to use synchronization and a thread has timed out waiting to enter the context.")]
public const int CONTEXT_E_TMNOTAVAILABLE = unchecked((int)0x8004E00F);
public const int CO_E_ACTIVATIONFAILED = unchecked((int)0x8004E021);
///COM+ Activation failed. Check the event log for more information
[Description("COM+ Activation failed. Check the event log for more information")]
public const int CO_E_ACTIVATIONFAILED_EVENTLOGGED = unchecked((int)0x8004E022);
///COM+ Activation failed due to a catalog or configuration error.
[Description("COM+ Activation failed due to a catalog or configuration error.")]
public const int CO_E_ACTIVATIONFAILED_CATALOGERROR = unchecked((int)0x8004E023);
///COM+ activation failed because the activation could not be completed in the specified amount of time.
[Description("COM+ activation failed because the activation could not be completed in the specified amount of time.")]
public const int CO_E_ACTIVATIONFAILED_TIMEOUT = unchecked((int)0x8004E024);
///COM+ Activation failed because an initialization function failed. Check the event log for more information.
[Description("COM+ Activation failed because an initialization function failed. Check the event log for more information.")]
public const int CO_E_INITIALIZATIONFAILED = unchecked((int)0x8004E025);
///IIS intrinsics not available. Start your work with IIS.
[Description("IIS intrinsics not available. Start your work with IIS.")]
///An attempt to write a cookie failed.
[Description("An attempt to write a cookie failed.")]
///The TxIsolation Level property for the COM+ component being created is stronger than the TxIsolationLevel for the "root" component for the transaction. The creation failed.
[Description("The TxIsolation Level property for the COM+ component being created is stronger than the TxIsolationLevel for the \"root\" component for the transaction. The creation failed.")]
///Task Scheduler security services are available only on Windows NT.
[Description("Task Scheduler security services are available only on Windows NT.")]
///Attempt to create a class object failed
[Description("Attempt to create a class object failed")]
public const int CO_E_CLASS_CREATE_FAILED = unchecked((int)0x80080001);
///RPC communication failed with OLE service
[Description("RPC communication failed with OLE service")]
public const int CO_E_SCM_RPC_FAILURE = unchecked((int)0x80080003);
///Server execution failed
[Description("Server execution failed")]
public const int CO_E_SERVER_EXEC_FAILURE = unchecked((int)0x80080005);
public const int CO_E_OBJSRV_RPC_FAILURE = unchecked((int)0x80080006);
///An allocation chain contained an invalid link pointer
[Description("An allocation chain contained an invalid link pointer")]
///Not all the requested interfaces were available
[Description("Not all the requested interfaces were available")]
///Insufficient memory available for the operation.
[Description("Insufficient memory available for the operation.")]
///Provider DLL failed to initialize correctly.
[Description("Provider DLL failed to initialize correctly.")]
public const int NTE_PROVIDER_DLL_FAIL = unchecked((int)0x8009001D);
public const int NTE_FAIL = unchecked((int)0x80090020);
///The security token does not have storage space available for an additional container.
[Description("The security token does not have storage space available for an additional container.")]
///Not enough memory is available to complete this request
[Description("Not enough memory is available to complete this request")]
///The security package failed to initialize, and cannot be installed
[Description("The security package failed to initialize, and cannot be installed")]
///The security package is not able to marshall the logon buffer, so the logon attempt has failed
[Description("The security package is not able to marshall the logon buffer, so the logon attempt has failed")]
///The logon attempt failed
[Description("The logon attempt failed")]
///No credentials are available in the security package
[Description("No credentials are available in the security package")]
///The function completed successfully, but must be called again to complete the context
[Description("The function completed successfully, but must be called again to complete the context")]
///The logon was completed, but no network authority was available. The logon was made using locally known information
[Description("The logon was completed, but no network authority was available. The logon was made using locally known information")]
///The certificate chain was issued by an authority that is not trusted.
[Description("The certificate chain was issued by an authority that is not trusted.")]
public const int SEC_E_ENCRYPT_FAILURE = unchecked((int)0x80090329);
public const int SEC_E_DECRYPT_FAILURE = unchecked((int)0x80090330);
///The security context could not be established due to a failure in the requested quality of service (e.g. mutual authentication or delegation).
[Description("The security context could not be established due to a failure in the requested quality of service (e.g. mutual authentication or delegation).")]
public const int SEC_E_SECURITY_QOS_FAILED = unchecked((int)0x80090332);
///A security context was deleted before the context was completed. This is considered a logon failure.
[Description("A security context was deleted before the context was completed. This is considered a logon failure.")]
///The crypto system or checksum function is invalid because a required function is unavailable.
[Description("The crypto system or checksum function is invalid because a required function is unavailable.")]
///The local machine must be a Kerberos KDC (domain controller) and it is not.
[Description("The local machine must be a Kerberos KDC (domain controller) and it is not.")]
///The KDC reply contained more than one principal name.
[Description("The KDC reply contained more than one principal name.")]
///The client certificate does not contain a valid UPN, or does not match the client name in the logon request. Please contact your administrator.
[Description("The client certificate does not contain a valid UPN, or does not match the client name in the logon request. Please contact your administrator.")]
public const int SEC_E_PKINIT_CLIENT_FAILURE = unchecked((int)0x80090354);
///The Kerberos subsystem encountered an error. A service for user protocol request was made against a domain controller which does not support service for user.
[Description("The Kerberos subsystem encountered an error. A service for user protocol request was made against a domain controller which does not support service for user.")]
///An attempt was made by this server to make a Kerberos constrained delegation request for a target outside of the server's realm. This is not supported, and indicates a misconfiguration on this server's allowed to delegate to list. Please contact your administrator.
[Description("An attempt was made by this server to make a Kerberos constrained delegation request for a target outside of the server's realm. This is not supported, and indicates a misconfiguration on this server's allowed to delegate to list. Please contact your administrator.")]
public const int SEC_E_CROSSREALM_DELEGATION_FAILURE = unchecked((int)0x80090357);
///The cryptographic message does not contain an expected authenticated attribute.
[Description("The cryptographic message does not contain an expected authenticated attribute.")]
///The enveloped-data message does not contain the specified recipient.
[Description("The enveloped-data message does not contain the specified recipient.")]
///The cryptographic message does not contain all of the requested attributes.
[Description("The cryptographic message does not contain all of the requested attributes.")]
///The string contains a non-numeric character.
[Description("The string contains a non-numeric character.")]
///The string contains a non-printable character.
[Description("The string contains a non-printable character.")]
///The string contains a character not in the 7 bit ASCII character set.
[Description("The string contains a character not in the 7 bit ASCII character set.")]
///The string contains an invalid X500 name attribute key, oid, value or delimiter.
[Description("The string contains an invalid X500 name attribute key, oid, value or delimiter.")]
///The cryptographic operation failed due to a local security option setting.
[Description("The cryptographic operation failed due to a local security option setting.")]
public const int OSS_CONSTRAINT_VIOLATED = unchecked((int)0x80093011);
public const int OSS_UNAVAIL_ENCRULES = unchecked((int)0x80093017);
public const int OSS_CONSTRAINT_DLL_NOT_LINKED = unchecked((int)0x80093023);
///ASN1 constraint violated.
[Description("ASN1 constraint violated.")]
public const int CRYPT_E_ASN1_CONSTRAINT = unchecked((int)0x80093105);
///The certification authority's certificate contains invalid data.
[Description("The certification authority's certificate contains invalid data.")]
///The certificate contains an encoded length that is potentially incompatible with older enrollment software.
[Description("The certificate contains an encoded length that is potentially incompatible with older enrollment software.")]
///The request contains an invalid renewal certificate attribute.
[Description("The request contains an invalid renewal certificate attribute.")]
///The contacted domain controller cannot support signed LDAP traffic. Update the domain controller or configure Certificate Services to use SSL for Active Directory access.
[Description("The contacted domain controller cannot support signed LDAP traffic. Update the domain controller or configure Certificate Services to use SSL for Active Directory access.")]
///The request contains no certificate template information.
[Description("The request contains no certificate template information.")]
///The request contains conflicting template information.
[Description("The request contains conflicting template information.")]
///The UPN is unavailable and cannot be added to the Subject Alternate name.
[Description("The UPN is unavailable and cannot be added to the Subject Alternate name.")]
///The Active Directory GUID is unavailable and cannot be added to the Subject Alternate name.
[Description("The Active Directory GUID is unavailable and cannot be added to the Subject Alternate name.")]
///The DNS name is unavailable and cannot be added to the Subject Alternate name.
[Description("The DNS name is unavailable and cannot be added to the Subject Alternate name.")]
///The EMail name is unavailable and cannot be added to the Subject or Subject Alternate name.
[Description("The EMail name is unavailable and cannot be added to the Subject or Subject Alternate name.")]
public const int CERTSRV_E_SUBJECT_EMAIL_REQUIRED = unchecked((int)0x80094812);
///A certificate's basic constraint extension has not been observed.
[Description("A certificate's basic constraint extension has not been observed.")]
public const int TRUST_E_BASIC_CONSTRAINTS = unchecked((int)0x80096019);
///The certificate does not meet or contain the Authenticode financial extensions.
[Description("The certificate does not meet or contain the Authenticode financial extensions.")]
///File is too small to contain the last table.
[Description("File is too small to contain the last table.")]
public const int MSSIPOTF_E_FAILED_POLICY = unchecked((int)0x80097010);
public const int MSSIPOTF_E_FAILED_HINTS_CHECK = unchecked((int)0x80097011);
///Failed on a file operation (open, map, read, write).
[Description("Failed on a file operation (open, map, read, write).")]
///A call to a CryptoAPI function failed.
[Description("A call to a CryptoAPI function failed.")]
///A check failed in a partially constant table.
[Description("A check failed in a partially constant table.")]
///Unspecified cryptographic failure.
[Description("Unspecified cryptographic failure.")]
///A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.
[Description("A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.")]
///The validity periods of the certification chain do not nest correctly.
[Description("The validity periods of the certification chain do not nest correctly.")]
///A path length constraint in the certification chain has been violated.
[Description("A path length constraint in the certification chain has been violated.")]
///A certificate contains an unknown extension that is marked 'critical'.
[Description("A certificate contains an unknown extension that is marked 'critical'.")]
public const int CERT_E_ISSUERCHAINING = unchecked((int)0x800B0107);
///A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
[Description("A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.")]
///A certificate chain could not be built to a trusted root authority.
[Description("A certificate chain could not be built to a trusted root authority.")]
public const int CERT_E_CHAINING = unchecked((int)0x800B010A);
///Generic trust failure.
[Description("Generic trust failure.")]
public const int TRUST_E_FAIL = unchecked((int)0x800B010B);
public const int CERT_E_REVOCATION_FAILURE = unchecked((int)0x800B010E);
///A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.
[Description("A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.")]
///The specified path does not contain any applicable device INFs.
[Description("The specified path does not contain any applicable device INFs.")]
///The installation failed because a function driver was not specified for this device instance.
[Description("The installation failed because a function driver was not specified for this device instance.")]
public const int SPAPI_E_REMOTE_COMM_FAILURE = unchecked((int)0x800F0221);
///The machine selected for remote communication is not available at this time.
[Description("The machine selected for remote communication is not available at this time.")]
public const int SPAPI_E_MACHINE_UNAVAILABLE = unchecked((int)0x800F0222);
///The Plug and Play service is not available on the remote machine.
[Description("The Plug and Play service is not available on the remote machine.")]
///The third-party INF does not contain digital signature information.
[Description("The third-party INF does not contain digital signature information.")]
///An internal consistency check failed.
[Description("An internal consistency check failed.")]
///Not enough memory available to complete this command.
[Description("Not enough memory available to complete this command.")]
public const int SCARD_F_WAITED_TOO_LONG = unchecked((int)0x80100007);
///An ATR obtained from the registry is not a valid ATR string.
[Description("An ATR obtained from the registry is not a valid ATR string.")]
///The specified reader is not currently available for use.
[Description("The specified reader is not currently available for use.")]
public const int SCARD_E_READER_UNAVAILABLE = unchecked((int)0x80100017);
///The requested certificate could not be obtained.
[Description("The requested certificate could not be obtained.")]
public const int SCARD_E_CERTIFICATE_UNAVAILABLE = unchecked((int)0x8010002D);
public const int SCARD_E_NO_READERS_AVAILABLE = unchecked((int)0x8010002E);
///The requested key container does not exist on the smart card.
[Description("The requested key container does not exist on the smart card.")]
public const int SCARD_E_NO_KEY_CONTAINER = unchecked((int)0x80100030);
///Errors occurred accessing one or more objects - the ErrorInfo collection may have more detail
[Description("Errors occurred accessing one or more objects - the ErrorInfo collection may have more detail")]
public const int COMADMIN_E_APP_FILE_WRITEFAIL = unchecked((int)0x80110407);
public const int COMADMIN_E_APP_FILE_READFAIL = unchecked((int)0x80110408);
///DllRegisterServer failed on component install
[Description("DllRegisterServer failed on component install")]
///No server file share available
[Description("No server file share available")]
public const int COMADMIN_E_DLLLOADFAILED = unchecked((int)0x8011041D);
public const int COMADMIN_E_REGISTRARFAILED = unchecked((int)0x80110423);
public const int COMADMIN_E_COMPFILE_LOADDLLFAIL = unchecked((int)0x80110425);
///GetClassObject failed in the DLL
[Description("GetClassObject failed in the DLL")]
public const int COMADMIN_E_COMPFILE_CLASSNOTAVAIL = unchecked((int)0x80110427);
///The file does not contain components or component information
[Description("The file does not contain components or component information")]
///The component move was disallowed, because the source or destination application is either a system application or currently locked against changes
[Description("The component move was disallowed, because the source or destination application is either a system application or currently locked against changes")]
///The component move failed because the destination application no longer exists
[Description("The component move failed because the destination application no longer exists")]
///The component registrar referenced in this file is not available
[Description("The component registrar referenced in this file is not available")]
public const int COMADMIN_E_PROPERTYSAVEFAILED = unchecked((int)0x80110437);
///Failed to start application because it is either a library application or an application proxy
[Description("Failed to start application because it is either a library application or an application proxy")]
///The specified partition name is invalid. Check that the name contains at least one visible character
[Description("The specified partition name is invalid. Check that the name contains at least one visible character")]
///Applications that contain one or more imported components cannot be installed into a non-base partition
[Description("Applications that contain one or more imported components cannot be installed into a non-base partition")]
public const int COMQC_E_QUEUING_SERVICE_NOT_AVAILABLE = unchecked((int)0x80110602);
///Applications containing one or more legacy components may not be exported to 1.0 format.
[Description("Applications containing one or more legacy components may not be exported to 1.0 format.")]
public bool Contains(int key)
return base.Dictionary.Contains(key);
public bool ContainsKey(int key)
return base.InnerHashtable.ContainsKey(key);
if (!dirCodes.ContainsKey(hr))
Public ReadOnly Property Failed() As Boolean
Public Shared Function FAILED(hr As Integer) As Boolean
'''Catastrophic failure
<Description("Catastrophic failure")> _
Public Const E_FAIL As Integer = CInt(&H80004005UI)
'''The data necessary to complete this operation is not yet available.
<Description("The data necessary to complete this operation is not yet available.")> _
'''Thread local storage failure
<Description("Thread local storage failure")> _
'''Get shared memory allocator failure
<Description("Get shared memory allocator failure")> _
'''Get memory allocator failure
<Description("Get memory allocator failure")> _
'''Failure attempting to launch OLE service
<Description("Failure attempting to launch OLE service")> _
Public Const CO_E_INIT_SCM_EXEC_FAILURE As Integer = CInt(&H80004011UI)
'''A RunAs specification must be <domain name>\<user name> or simply <user name>
<Description("A RunAs specification must be <domain name>\<user name> or simply <user name>")> _
Public Const CO_E_CREATEPROCESS_FAILURE As Integer = CInt(&H80004018UI)
'''<para>The pathname may be incorrect or unavailable.</para>
<Description("The server process could not be started as the configured identity." & vbLf & "The pathname may be incorrect or unavailable.")> _
Public Const CO_E_RUNAS_CREATEPROCESS_FAILURE As Integer = CInt(&H80004019UI)
Public Const CO_E_RUNAS_LOGON_FAILURE As Integer = CInt(&H8000401aUI)
Public Const CO_E_START_SERVICE_FAILURE As Integer = CInt(&H8000401cUI)
Public Const CO_E_REMOTE_COMMUNICATION_FAILURE As Integer = CInt(&H8000401dUI)
'''The component or application containing the component has been disabled.
<Description("The component or application containing the component has been disabled.")> _
'''The common language runtime is not available
<Description("The common language runtime is not available")> _
Public Const CO_E_CLRNOTAVAILABLE As Integer = CInt(&H80004028UI)
'''The server principal name (SPN) obtained during security negotiation is malformed.
<Description("The server principal name (SPN) obtained during security negotiation is malformed.")> _
'''The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call may have executed.
<Description("The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call may have executed.")> _
Public Const RPC_E_CANTCALLOUT_AGAIN As Integer = CInt(&H80010011UI)
'''The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call did not execute.
<Description("The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call did not execute.")> _
'''System call failed.
<Description("System call failed.")> _
Public Const RPC_E_SYS_CALL_FAILED As Integer = CInt(&H80010100UI)
'''The object invoked chose not to process the call now. Try again later.
<Description("The object invoked chose not to process the call now. Try again later.")> _
'''OLE has sent a request and is waiting for a reply.
<Description("OLE has sent a request and is waiting for a reply.")> _
'''OLE is waiting before retrying a request.
<Description("OLE is waiting before retrying a request.")> _
Public Const RPC_S_WAITONTIMER As Integer = CInt(&H80010116UI)
'''There are no synchronize objects to wait on.
<Description("There are no synchronize objects to wait on.")> _
'''Full subject issuer chain SSL principal name expected from the server.
<Description("Full subject issuer chain SSL principal name expected from the server.")> _
Public Const CO_E_FAILEDTOIMPERSONATE As Integer = CInt(&H80010123UI)
'''Unable to obtain server's security context
<Description("Unable to obtain server's security context")> _
Public Const CO_E_FAILEDTOGETSECCTX As Integer = CInt(&H80010124UI)
Public Const CO_E_FAILEDTOOPENTHREADTOKEN As Integer = CInt(&H80010125UI)
'''Unable to obtain user info from an access token
<Description("Unable to obtain user info from an access token")> _
Public Const CO_E_FAILEDTOGETTOKENINFO As Integer = CInt(&H80010126UI)
'''Unable to obtain the client's security blanket
<Description("Unable to obtain the client's security blanket")> _
Public Const CO_E_FAILEDTOQUERYCLIENTBLANKET As Integer = CInt(&H80010128UI)
Public Const CO_E_FAILEDTOSETDACL As Integer = CInt(&H80010129UI)
Public Const CO_E_ACCESSCHECKFAILED As Integer = CInt(&H8001012aUI)
Public Const CO_E_NETACCESSAPIFAILED As Integer = CInt(&H8001012bUI)
'''One of the trustee strings provided by the user did not conform to the <Domain>\<Name> syntax and it was not the "*" string
<Description("One of the trustee strings provided by the user did not conform to the <Domain>\<Name> syntax and it was not the ""*"" string")> _
Public Const CO_E_CONVERSIONFAILED As Integer = CInt(&H8001012eUI)
'''The system function, LookupAccountSID, failed
<Description("The system function, LookupAccountSID, failed")> _
Public Const CO_E_LOOKUPACCSIDFAILED As Integer = CInt(&H80010130UI)
'''The system function, LookupAccountName, failed
<Description("The system function, LookupAccountName, failed")> _
Public Const CO_E_LOOKUPACCNAMEFAILED As Integer = CInt(&H80010132UI)
Public Const CO_E_SETSERLHNDLFAILED As Integer = CInt(&H80010133UI)
'''Unable to obtain the Windows directory
<Description("Unable to obtain the Windows directory")> _
Public Const CO_E_FAILEDTOGETWINDIR As Integer = CInt(&H80010134UI)
Public Const CO_E_FAILEDTOGENUUID As Integer = CInt(&H80010136UI)
Public Const CO_E_FAILEDTOCREATEFILE As Integer = CInt(&H80010137UI)
Public Const CO_E_FAILEDTOCLOSEHANDLE As Integer = CInt(&H80010138UI)
Public Const CO_E_FAILEDTOOPENPROCESSTOKEN As Integer = CInt(&H8001013cUI)
Public Const CO_E_DECODEFAILED As Integer = CInt(&H8001013dUI)
'''There is insufficient memory available to complete operation.
<Description("There is insufficient memory available to complete operation.")> _
'''The storage operation should block until more data is available.
<Description("The storage operation should block until more data is available.")> _
'''Consolidation of the storage file failed. (commit succeeded).
<Description("Consolidation of the storage file failed. (commit succeeded).")> _
Public Const STG_S_CONSOLIDATIONFAILED As Integer = CInt(&H30205)
Public Const STG_E_STATUS_COPY_PROTECTION_FAILURE As Integer = CInt(&H80030305UI)
'''Copy Protection Error - DVD CSS Authentication failed.
<Description("Copy Protection Error - DVD CSS Authentication failed.")> _
Public Const STG_E_CSS_AUTHENTICATION_FAILURE As Integer = CInt(&H80030306UI)
'''Copy Protection Error - The read failed because the sector is encrypted.
<Description("Copy Protection Error - The read failed because the sector is encrypted.")> _
Public Const CLASS_E_CLASSNOTAVAILABLE As Integer = CInt(&H80040111UI)
'''Undo is not available
<Description("Undo is not available")> _
'''Space for tools is not available
<Description("Space for tools is not available")> _
'''OLESTREAM Get method failed
<Description("OLESTREAM Get method failed")> _
'''OLESTREAM Put method failed
<Description("OLESTREAM Put method failed")> _
'''OpenClipboard Failed
<Description("OpenClipboard Failed")> _
'''EmptyClipboard Failed
<Description("EmptyClipboard Failed")> _
'''SetClipboard Failed
<Description("SetClipboard Failed")> _
'''CloseClipboard Failed
<Description("CloseClipboard Failed")> _
'''Operation unavailable
<Description("Operation unavailable")> _
Public Const MK_E_UNAVAILABLE As Integer = CInt(&H800401e3UI)
'''Intermediate operation failed
<Description("Intermediate operation failed")> _
Public Const MK_E_ENUMERATION_FAILED As Integer = CInt(&H800401efUI)
Public Const EVENT_S_SOME_SUBSCRIBERS_FAILED As Integer = CInt(&H40200)
Public Const EVENT_E_ALL_SUBSCRIBERS_FAILED As Integer = CInt(&H80040201UI)
'''An unexpected exception was raised
<Description("An unexpected exception was raised")> _
'''A user-supplied component or subscriber raised an exception
<Description("A user-supplied component or subscriber raised an exception")> _
'''A retaining commit or abort is not supported
<Description("A retaining commit or abort is not supported")> _
Public Const XACT_E_CANTRETAIN As Integer = CInt(&H8004d001UI)
'''The transaction failed to commit for an unknown reason. The transaction was aborted.
<Description("The transaction failed to commit for an unknown reason. The transaction was aborted.")> _
Public Const XACT_E_COMMITFAILED As Integer = CInt(&H8004d002UI)
'''The requested semantics of retention of isolation across retaining commit and abort boundaries cannot be supported by this transaction implementation, or isoFlags was not equal to zero.
<Description("The requested semantics of retention of isolation across retaining commit and abort boundaries cannot be supported by this transaction implementation, or isoFlags was not equal to zero.")> _
Public Const XACT_E_NOISORETAIN As Integer = CInt(&H8004d00bUI)
'''The transaction failed to commit due to the failure of optimistic concurrency control in at least one of the resource managers.
<Description("The transaction failed to commit due to the failure of optimistic concurrency control in at least one of the resource managers.")> _
'''The transaction status is in doubt. A communication failure occurred, or a transaction manager or resource manager has failed
<Description("The transaction status is in doubt. A communication failure occurred, or a transaction manager or resource manager has failed")> _
'''The Transaction Manager is not available.
<Description("The Transaction Manager is not available.")> _
Public Const XACT_E_TMNOTAVAILABLE As Integer = CInt(&H8004d01bUI)
'''This transaction manager failed to establish a connection with another TIP transaction manager.
<Description("This transaction manager failed to establish a connection with another TIP transaction manager.")> _
Public Const XACT_E_TIP_CONNECT_FAILED As Integer = CInt(&H8004d01fUI)
Public Const XACT_E_TIP_PULL_FAILED As Integer = CInt(&H8004d021UI)
'''The Transaction Manager on the destination machine is not available.
<Description("The Transaction Manager on the destination machine is not available.")> _
Public Const XACT_E_DEST_TMNOTAVAILABLE As Integer = CInt(&H8004d022UI)
'''The transaction was successfully aborted. However, this is a coordinated transaction, and some number of enlisted resources were aborted outright because they could not support abort-retaining semantics
<Description("The transaction was successfully aborted. However, this is a coordinated transaction, and some number of enlisted resources were aborted outright because they could not support abort-retaining semantics")> _
Public Const XACT_S_SOMENORETAIN As Integer = CInt(&H4d003)
'''The transaction was successfully aborted. However, the abort was non-retaining.
<Description("The transaction was successfully aborted. However, the abort was non-retaining.")> _
Public Const XACT_S_ALLNORETAIN As Integer = CInt(&H4d007)
'''The component is configured to use synchronization and a thread has timed out waiting to enter the context.
<Description("The component is configured to use synchronization and a thread has timed out waiting to enter the context.")> _
Public Const CONTEXT_E_TMNOTAVAILABLE As Integer = CInt(&H8004e00fUI)
Public Const CO_E_ACTIVATIONFAILED As Integer = CInt(&H8004e021UI)
'''COM+ Activation failed. Check the event log for more information
<Description("COM+ Activation failed. Check the event log for more information")> _
Public Const CO_E_ACTIVATIONFAILED_EVENTLOGGED As Integer = CInt(&H8004e022UI)
'''COM+ Activation failed due to a catalog or configuration error.
<Description("COM+ Activation failed due to a catalog or configuration error.")> _
Public Const CO_E_ACTIVATIONFAILED_CATALOGERROR As Integer = CInt(&H8004e023UI)
'''COM+ activation failed because the activation could not be completed in the specified amount of time.
<Description("COM+ activation failed because the activation could not be completed in the specified amount of time.")> _
Public Const CO_E_ACTIVATIONFAILED_TIMEOUT As Integer = CInt(&H8004e024UI)
'''COM+ Activation failed because an initialization function failed. Check the event log for more information.
<Description("COM+ Activation failed because an initialization function failed. Check the event log for more information.")> _
Public Const CO_E_INITIALIZATIONFAILED As Integer = CInt(&H8004e025UI)
'''IIS intrinsics not available. Start your work with IIS.
<Description("IIS intrinsics not available. Start your work with IIS.")> _
'''An attempt to write a cookie failed.
<Description("An attempt to write a cookie failed.")> _
'''The TxIsolation Level property for the COM+ component being created is stronger than the TxIsolationLevel for the "root" component for the transaction. The creation failed.
<Description("The TxIsolation Level property for the COM+ component being created is stronger than the TxIsolationLevel for the ""root"" component for the transaction. The creation failed.")> _
'''Task Scheduler security services are available only on Windows NT.
<Description("Task Scheduler security services are available only on Windows NT.")> _
'''Attempt to create a class object failed
<Description("Attempt to create a class object failed")> _
Public Const CO_E_CLASS_CREATE_FAILED As Integer = CInt(&H80080001UI)
'''RPC communication failed with OLE service
<Description("RPC communication failed with OLE service")> _
Public Const CO_E_SCM_RPC_FAILURE As Integer = CInt(&H80080003UI)
'''Server execution failed
<Description("Server execution failed")> _
Public Const CO_E_SERVER_EXEC_FAILURE As Integer = CInt(&H80080005UI)
Public Const CO_E_OBJSRV_RPC_FAILURE As Integer = CInt(&H80080006UI)
'''An allocation chain contained an invalid link pointer
<Description("An allocation chain contained an invalid link pointer")> _
'''Not all the requested interfaces were available
<Description("Not all the requested interfaces were available")> _
'''Insufficient memory available for the operation.
<Description("Insufficient memory available for the operation.")> _
'''Provider DLL failed to initialize correctly.
<Description("Provider DLL failed to initialize correctly.")> _
Public Const NTE_PROVIDER_DLL_FAIL As Integer = CInt(&H8009001dUI)
Public Const NTE_FAIL As Integer = CInt(&H80090020UI)
'''The security token does not have storage space available for an additional container.
<Description("The security token does not have storage space available for an additional container.")> _
'''Not enough memory is available to complete this request
<Description("Not enough memory is available to complete this request")> _
'''The security package failed to initialize, and cannot be installed
<Description("The security package failed to initialize, and cannot be installed")> _
'''The security package is not able to marshall the logon buffer, so the logon attempt has failed
<Description("The security package is not able to marshall the logon buffer, so the logon attempt has failed")> _
'''The logon attempt failed
<Description("The logon attempt failed")> _
'''No credentials are available in the security package
<Description("No credentials are available in the security package")> _
'''The function completed successfully, but must be called again to complete the context
<Description("The function completed successfully, but must be called again to complete the context")> _
'''The logon was completed, but no network authority was available. The logon was made using locally known information
<Description("The logon was completed, but no network authority was available. The logon was made using locally known information")> _
'''The certificate chain was issued by an authority that is not trusted.
<Description("The certificate chain was issued by an authority that is not trusted.")> _
Public Const SEC_E_ENCRYPT_FAILURE As Integer = CInt(&H80090329UI)
Public Const SEC_E_DECRYPT_FAILURE As Integer = CInt(&H80090330UI)
'''The security context could not be established due to a failure in the requested quality of service (e.g. mutual authentication or delegation).
<Description("The security context could not be established due to a failure in the requested quality of service (e.g. mutual authentication or delegation).")> _
Public Const SEC_E_SECURITY_QOS_FAILED As Integer = CInt(&H80090332UI)
'''A security context was deleted before the context was completed. This is considered a logon failure.
<Description("A security context was deleted before the context was completed. This is considered a logon failure.")> _
'''The crypto system or checksum function is invalid because a required function is unavailable.
<Description("The crypto system or checksum function is invalid because a required function is unavailable.")> _
'''The local machine must be a Kerberos KDC (domain controller) and it is not.
<Description("The local machine must be a Kerberos KDC (domain controller) and it is not.")> _
'''The KDC reply contained more than one principal name.
<Description("The KDC reply contained more than one principal name.")> _
'''The client certificate does not contain a valid UPN, or does not match the client name in the logon request. Please contact your administrator.
<Description("The client certificate does not contain a valid UPN, or does not match the client name in the logon request. Please contact your administrator.")> _
Public Const SEC_E_PKINIT_CLIENT_FAILURE As Integer = CInt(&H80090354UI)
'''The Kerberos subsystem encountered an error. A service for user protocol request was made against a domain controller which does not support service for user.
<Description("The Kerberos subsystem encountered an error. A service for user protocol request was made against a domain controller which does not support service for user.")> _
'''An attempt was made by this server to make a Kerberos constrained delegation request for a target outside of the server's realm. This is not supported, and indicates a misconfiguration on this server's allowed to delegate to list. Please contact your administrator.
<Description("An attempt was made by this server to make a Kerberos constrained delegation request for a target outside of the server's realm. This is not supported, and indicates a misconfiguration on this server's allowed to delegate to list. Please contact your administrator.")> _
Public Const SEC_E_CROSSREALM_DELEGATION_FAILURE As Integer = CInt(&H80090357UI)
'''The cryptographic message does not contain an expected authenticated attribute.
<Description("The cryptographic message does not contain an expected authenticated attribute.")> _
'''The enveloped-data message does not contain the specified recipient.
<Description("The enveloped-data message does not contain the specified recipient.")> _
'''The cryptographic message does not contain all of the requested attributes.
<Description("The cryptographic message does not contain all of the requested attributes.")> _
'''The string contains a non-numeric character.
<Description("The string contains a non-numeric character.")> _
'''The string contains a non-printable character.
<Description("The string contains a non-printable character.")> _
'''The string contains a character not in the 7 bit ASCII character set.
<Description("The string contains a character not in the 7 bit ASCII character set.")> _
'''The string contains an invalid X500 name attribute key, oid, value or delimiter.
<Description("The string contains an invalid X500 name attribute key, oid, value or delimiter.")> _
'''The cryptographic operation failed due to a local security option setting.
<Description("The cryptographic operation failed due to a local security option setting.")> _
Public Const OSS_CONSTRAINT_VIOLATED As Integer = CInt(&H80093011UI)
Public Const OSS_UNAVAIL_ENCRULES As Integer = CInt(&H80093017UI)
Public Const OSS_CONSTRAINT_DLL_NOT_LINKED As Integer = CInt(&H80093023UI)
'''ASN1 constraint violated.
<Description("ASN1 constraint violated.")> _
Public Const CRYPT_E_ASN1_CONSTRAINT As Integer = CInt(&H80093105UI)
'''The certification authority's certificate contains invalid data.
<Description("The certification authority's certificate contains invalid data.")> _
'''The certificate contains an encoded length that is potentially incompatible with older enrollment software.
<Description("The certificate contains an encoded length that is potentially incompatible with older enrollment software.")> _
'''The request contains an invalid renewal certificate attribute.
<Description("The request contains an invalid renewal certificate attribute.")> _
'''The contacted domain controller cannot support signed LDAP traffic. Update the domain controller or configure Certificate Services to use SSL for Active Directory access.
<Description("The contacted domain controller cannot support signed LDAP traffic. Update the domain controller or configure Certificate Services to use SSL for Active Directory access.")> _
'''The request contains no certificate template information.
<Description("The request contains no certificate template information.")> _
'''The request contains conflicting template information.
<Description("The request contains conflicting template information.")> _
'''The UPN is unavailable and cannot be added to the Subject Alternate name.
<Description("The UPN is unavailable and cannot be added to the Subject Alternate name.")> _
'''The Active Directory GUID is unavailable and cannot be added to the Subject Alternate name.
<Description("The Active Directory GUID is unavailable and cannot be added to the Subject Alternate name.")> _
'''The DNS name is unavailable and cannot be added to the Subject Alternate name.
<Description("The DNS name is unavailable and cannot be added to the Subject Alternate name.")> _
'''The EMail name is unavailable and cannot be added to the Subject or Subject Alternate name.
<Description("The EMail name is unavailable and cannot be added to the Subject or Subject Alternate name.")> _
Public Const CERTSRV_E_SUBJECT_EMAIL_REQUIRED As Integer = CInt(&H80094812UI)
'''A certificate's basic constraint extension has not been observed.
<Description("A certificate's basic constraint extension has not been observed.")> _
Public Const TRUST_E_BASIC_CONSTRAINTS As Integer = CInt(&H80096019UI)
'''The certificate does not meet or contain the Authenticode financial extensions.
<Description("The certificate does not meet or contain the Authenticode financial extensions.")> _
'''File is too small to contain the last table.
<Description("File is too small to contain the last table.")> _
Public Const MSSIPOTF_E_FAILED_POLICY As Integer = CInt(&H80097010UI)
Public Const MSSIPOTF_E_FAILED_HINTS_CHECK As Integer = CInt(&H80097011UI)
'''Failed on a file operation (open, map, read, write).
<Description("Failed on a file operation (open, map, read, write).")> _
'''A call to a CryptoAPI function failed.
<Description("A call to a CryptoAPI function failed.")> _
'''A check failed in a partially constant table.
<Description("A check failed in a partially constant table.")> _
'''Unspecified cryptographic failure.
<Description("Unspecified cryptographic failure.")> _
'''A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.
<Description("A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.")> _
'''The validity periods of the certification chain do not nest correctly.
<Description("The validity periods of the certification chain do not nest correctly.")> _
'''A path length constraint in the certification chain has been violated.
<Description("A path length constraint in the certification chain has been violated.")> _
'''A certificate contains an unknown extension that is marked 'critical'.
<Description("A certificate contains an unknown extension that is marked 'critical'.")> _
Public Const CERT_E_ISSUERCHAINING As Integer = CInt(&H800b0107UI)
'''A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
<Description("A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.")> _
'''A certificate chain could not be built to a trusted root authority.
<Description("A certificate chain could not be built to a trusted root authority.")> _
Public Const CERT_E_CHAINING As Integer = CInt(&H800b010aUI)
'''Generic trust failure.
<Description("Generic trust failure.")> _
Public Const TRUST_E_FAIL As Integer = CInt(&H800b010bUI)
Public Const CERT_E_REVOCATION_FAILURE As Integer = CInt(&H800b010eUI)
'''A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.
<Description("A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.")> _
'''The specified path does not contain any applicable device INFs.
<Description("The specified path does not contain any applicable device INFs.")> _
'''The installation failed because a function driver was not specified for this device instance.
<Description("The installation failed because a function driver was not specified for this device instance.")> _
Public Const SPAPI_E_REMOTE_COMM_FAILURE As Integer = CInt(&H800f0221UI)
'''The machine selected for remote communication is not available at this time.
<Description("The machine selected for remote communication is not available at this time.")> _
Public Const SPAPI_E_MACHINE_UNAVAILABLE As Integer = CInt(&H800f0222UI)
'''The Plug and Play service is not available on the remote machine.
<Description("The Plug and Play service is not available on the remote machine.")> _
'''The third-party INF does not contain digital signature information.
<Description("The third-party INF does not contain digital signature information.")> _
'''An internal consistency check failed.
<Description("An internal consistency check failed.")> _
'''Not enough memory available to complete this command.
<Description("Not enough memory available to complete this command.")> _
Public Const SCARD_F_WAITED_TOO_LONG As Integer = CInt(&H80100007UI)
'''An ATR obtained from the registry is not a valid ATR string.
<Description("An ATR obtained from the registry is not a valid ATR string.")> _
'''The specified reader is not currently available for use.
<Description("The specified reader is not currently available for use.")> _
Public Const SCARD_E_READER_UNAVAILABLE As Integer = CInt(&H80100017UI)
'''The requested certificate could not be obtained.
<Description("The requested certificate could not be obtained.")> _
Public Const SCARD_E_CERTIFICATE_UNAVAILABLE As Integer = CInt(&H8010002dUI)
Public Const SCARD_E_NO_READERS_AVAILABLE As Integer = CInt(&H8010002eUI)
'''The requested key container does not exist on the smart card.
<Description("The requested key container does not exist on the smart card.")> _
Public Const SCARD_E_NO_KEY_CONTAINER As Integer = CInt(&H80100030UI)
'''Errors occurred accessing one or more objects - the ErrorInfo collection may have more detail
<Description("Errors occurred accessing one or more objects - the ErrorInfo collection may have more detail")> _
Public Const COMADMIN_E_APP_FILE_WRITEFAIL As Integer = CInt(&H80110407UI)
Public Const COMADMIN_E_APP_FILE_READFAIL As Integer = CInt(&H80110408UI)
'''DllRegisterServer failed on component install
<Description("DllRegisterServer failed on component install")> _
'''No server file share available
<Description("No server file share available")> _
Public Const COMADMIN_E_DLLLOADFAILED As Integer = CInt(&H8011041dUI)
Public Const COMADMIN_E_REGISTRARFAILED As Integer = CInt(&H80110423UI)
Public Const COMADMIN_E_COMPFILE_LOADDLLFAIL As Integer = CInt(&H80110425UI)
'''GetClassObject failed in the DLL
<Description("GetClassObject failed in the DLL")> _
Public Const COMADMIN_E_COMPFILE_CLASSNOTAVAIL As Integer = CInt(&H80110427UI)
'''The file does not contain components or component information
<Description("The file does not contain components or component information")> _
'''The component move was disallowed, because the source or destination application is either a system application or currently locked against changes
<Description("The component move was disallowed, because the source or destination application is either a system application or currently locked against changes")> _
'''The component move failed because the destination application no longer exists
<Description("The component move failed because the destination application no longer exists")> _
'''The component registrar referenced in this file is not available
<Description("The component registrar referenced in this file is not available")> _
Public Const COMADMIN_E_PROPERTYSAVEFAILED As Integer = CInt(&H80110437UI)
'''Failed to start application because it is either a library application or an application proxy
<Description("Failed to start application because it is either a library application or an application proxy")> _
'''The specified partition name is invalid. Check that the name contains at least one visible character
<Description("The specified partition name is invalid. Check that the name contains at least one visible character")> _
'''Applications that contain one or more imported components cannot be installed into a non-base partition
<Description("Applications that contain one or more imported components cannot be installed into a non-base partition")> _
Public Const COMQC_E_QUEUING_SERVICE_NOT_AVAILABLE As Integer = CInt(&H80110602UI)
'''Applications containing one or more legacy components may not be exported to 1.0 format.
<Description("Applications containing one or more legacy components may not be exported to 1.0 format.")> _
Public Function Contains(key As Integer) As Boolean
Return MyBase.Dictionary.Contains(key)
Public Function ContainsKey(key As Integer) As Boolean
Return MyBase.InnerHashtable.ContainsKey(key)
If Not dirCodes.ContainsKey(hr) Then
E_FAIL = 0x80000008,
/// No more chunks of text available in object
/// No more text available in chunk
/// No more property values available in chunk
FILTER_E_EMBEDDING_UNAVAILABLE = 0x80041707,
FILTER_E_LINK_UNAVAILABLE = 0x80041708,
E_FAIL = &H80000008
FILTER_E_EMBEDDING_UNAVAILABLE = &H80041707
FILTER_E_LINK_UNAVAILABLE = &H80041708 46: IFILTER_FLAGS
/// When this flag is set, properties available through COM
'// available through COM enumerators should not be returned from IFilter. 47: IFILTER_INIT
/// match against observed line breaks.
/// objects within the document. If a link is unavailable, the
/// IFilter::GetChunk call that would have obtained the first chunk of the
/// link should return FILTER_E_LINK_UNAVAILABLE.
' match against observed line breaks.
' objects within the document. If a link is unavailable the
' IFilter::GetChunk call that would have obtained the first chunk of the
' link should return FILTER_E_LINK_UNAVAILABLE. 48: INSTALLSTATE
INSTALLSTATE_SOURCEABSENT = -4, // run from source, source is unavailable
INSTALLSTATE_ABSENT = 2, // uninstalled (or action state absent but clients remain)
''' Run from source, source is unavailable.
''' Uninstalled (or action state absent but clients remain).
INTERNET_AUTODIAL_FAILIFSECURITYCHECK = 0x04
INTERNET_AUTODIAL_FAILIFSECURITYCHECK = &H4 50: IsoFlag
RetainCommitDc = 1,
RetainCommit = 2,
RetainCommitNo = 3,
RetainAbortDc = 4,
RetainAbort = 8,
RetainAbortNo = 12,
RetainDontCare = 7,
RetainBoth = 10,
RetainNone = 13,
RetainCommitDc = 1
RetainCommit = 2
RetainCommitNo = 3
RetainAbortDc = 4
RetainAbort = 8
RetainAbortNo = 12
RetainDontCare = 7
RetainBoth = 10
RetainNone = 13 51: KLF
/// If set but KLF_SHIFTLOCK is not set, the Caps Lock state is turned off by pressing the Caps Lock key again. If set and KLF_SHIFTLOCK is also set, the Caps Lock state is turned off by pressing either SHIFT key 52: LB_
/// lParam A pointer to the null-terminated string that contains the prefix for which to search. The search is case independent
/// lParam A pointer to the null-terminated string that contains the string for which to search. The search is case independent, so this string can contain any combination of uppercase and lowercase letters.
' lParam A pointer to the null-terminated string that contains the prefix for which to search. The search is case independent
' lParam A pointer to the null-terminated string that contains the string for which to search. The search is case independent, so this string can contain any combination of uppercase and lowercase letters. 53: ListViewMessages
// Contains a few undocumented messages of which the name was invented. 54: MessageBoxResult
TryAgain=10,
TryAgain
TryAgain As Long = 10 55: MIB_TCP_STATE
MIB_TCP_STATE_FIN_WAIT1 = 6,
MIB_TCP_STATE_FIN_WAIT2 = 7,
MIB_TCP_STATE_CLOSE_WAIT = 8,
MIB_TCP_STATE_TIME_WAIT = 11,
MIB_TCP_STATE_FIN_WAIT1 = 6
MIB_TCP_STATE_FIN_WAIT2 = 7
MIB_TCP_STATE_CLOSE_WAIT = 8
MIB_TCP_STATE_TIME_WAIT = 11 56: MoveFileFlags
MOVEFILE_FAIL_IF_NOT_TRACKABLE = 0x00000020
MOVEFILE_FAIL_IF_NOT_TRACKABLE = &H20 57: NET_API_STATUS
/// This operation is only allowed on the primary domain controller of the domain.
/// The RPC server is not available. This error is returned if a remote computer was specified in
/// the lpServer parameter and the RPC server is not available.
RPC_S_SERVER_UNAVAILABLE = 2147944122, // 0x800706BA
RPC_S_SERVER_UNAVAILABLE = 2147944122 58: NtStatus
Wait0 = 0x00000000,
Wait1 = 0x00000001,
Wait2 = 0x00000002,
Wait3 = 0x00000003,
Wait63 = 0x0000003f,
AbandonedWait0 = 0x00000080,
AbandonedWait1 = 0x00000081,
AbandonedWait2 = 0x00000082,
AbandonedWait3 = 0x00000083,
AbandonedWait63 = 0x000000bf,
PrimaryTransportConnectFailed = 0x0000010e,
NoMediaInDevice = 0xc0000013,
LogonFailure = 0xc000006d,
InstanceNotAvailable = 0xc00000ab,
PipeNotAvailable = 0xc00000ac,
CantWait = 0xc00000d8,
IoPrivilegeFailed = 0xc0000137,
TmInitializationFailed = 0xc0190004,
TransactionPropagationFailed = 0xc0190010,
LogGrowthFailed = 0xc0190019, 59: OpenFile
// Other efforts to open a file with other sharing modes fail. This flag is mapped to the
// by any other process, the function fails.
// or for read access by any other process, the function fails.
// or for write access by any other process, the function fails.
// the function fails. 60: PAGESETUP_FLAGS
PSD_ENABLEPAGEPAINTHOOK = 0x00040000,
PSD_DISABLEPAGEPAINTING = 0x00080000, Cut off search results after 60. Please refine your search. |