Class: ReservedNames::Win32::Error

Inherits:
Object
  • Object
show all
Extended by:
Chef::ReservedNames::Win32::API::Error
Includes:
Chef::ReservedNames::Win32::API::Error
Defined in:
lib/chef/win32/error.rb

Constant Summary

Constants included from Chef::ReservedNames::Win32::API::Error

Chef::ReservedNames::Win32::API::Error::DONT_RESOLVE_DLL_REFERENCES, Chef::ReservedNames::Win32::API::Error::EPT_S_CANT_CREATE, Chef::ReservedNames::Win32::API::Error::EPT_S_CANT_PERFORM_OP, Chef::ReservedNames::Win32::API::Error::EPT_S_INVALID_ENTRY, Chef::ReservedNames::Win32::API::Error::EPT_S_NOT_REGISTERED, Chef::ReservedNames::Win32::API::Error::ERROR_ACCESS_DENIED, Chef::ReservedNames::Win32::API::Error::ERROR_ACCESS_DISABLED_BY_POLICY, Chef::ReservedNames::Win32::API::Error::ERROR_ACCOUNT_DISABLED, Chef::ReservedNames::Win32::API::Error::ERROR_ACCOUNT_EXPIRED, Chef::ReservedNames::Win32::API::Error::ERROR_ACCOUNT_LOCKED_OUT, Chef::ReservedNames::Win32::API::Error::ERROR_ACCOUNT_RESTRICTION, Chef::ReservedNames::Win32::API::Error::ERROR_ACTIVE_CONNECTIONS, Chef::ReservedNames::Win32::API::Error::ERROR_ADAP_HDW_ERR, Chef::ReservedNames::Win32::API::Error::ERROR_ADDRESS_ALREADY_ASSOCIATED, Chef::ReservedNames::Win32::API::Error::ERROR_ADDRESS_NOT_ASSOCIATED, Chef::ReservedNames::Win32::API::Error::ERROR_ALIAS_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_ALLOTTED_SPACE_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_ALREADY_ASSIGNED, Chef::ReservedNames::Win32::API::Error::ERROR_ALREADY_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_ALREADY_INITIALIZED, Chef::ReservedNames::Win32::API::Error::ERROR_ALREADY_REGISTERED, Chef::ReservedNames::Win32::API::Error::ERROR_ALREADY_RUNNING_LKG, Chef::ReservedNames::Win32::API::Error::ERROR_ALREADY_WAITING, Chef::ReservedNames::Win32::API::Error::ERROR_APP_WRONG_OS, Chef::ReservedNames::Win32::API::Error::ERROR_ARENA_TRASHED, Chef::ReservedNames::Win32::API::Error::ERROR_ARITHMETIC_OVERFLOW, Chef::ReservedNames::Win32::API::Error::ERROR_ATOMIC_LOCKS_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_AUTHENTICATION_FIREWALL_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_AUTODATASEG_EXCEEDS_64k, Chef::ReservedNames::Win32::API::Error::ERROR_BADDB, Chef::ReservedNames::Win32::API::Error::ERROR_BADKEY, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_ARGUMENTS, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_COMMAND, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_CONFIGURATION, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_DESCRIPTOR_FORMAT, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_DEVICE, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_DEV_TYPE, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_DRIVER, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_DRIVER_LEVEL, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_DYNALINK, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_ENVIRONMENT, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_EXE_FORMAT, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_FORMAT, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_IMPERSONATION_LEVEL, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_INHERITANCE_ACL, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_LENGTH, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_LOGON_SESSION_STATE, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_NETPATH, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_NET_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_NET_RESP, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_PATHNAME, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_PIPE, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_PROFILE, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_PROVIDER, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_QUERY_SYNTAX, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_REM_ADAP, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_THREADID_ADDR, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_TOKEN_TYPE, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_UNIT, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_USERNAME, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_USER_PROFILE, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_VALIDATION_CLASS, Chef::ReservedNames::Win32::API::Error::ERROR_BEGINNING_OF_MEDIA, Chef::ReservedNames::Win32::API::Error::ERROR_BOOT_ALREADY_ACCEPTED, Chef::ReservedNames::Win32::API::Error::ERROR_BROKEN_PIPE, Chef::ReservedNames::Win32::API::Error::ERROR_BUSY, Chef::ReservedNames::Win32::API::Error::ERROR_BUSY_DRIVE, Chef::ReservedNames::Win32::API::Error::ERROR_BUS_RESET, Chef::ReservedNames::Win32::API::Error::ERROR_CALLBACK_SUPPLIED_INVALID_DATA, Chef::ReservedNames::Win32::API::Error::ERROR_CALL_NOT_IMPLEMENTED, Chef::ReservedNames::Win32::API::Error::ERROR_CANCELLED, Chef::ReservedNames::Win32::API::Error::ERROR_CANCEL_VIOLATION, Chef::ReservedNames::Win32::API::Error::ERROR_CANNOT_COPY, Chef::ReservedNames::Win32::API::Error::ERROR_CANNOT_DETECT_DRIVER_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_CANNOT_DETECT_PROCESS_ABORT, Chef::ReservedNames::Win32::API::Error::ERROR_CANNOT_FIND_WND_CLASS, Chef::ReservedNames::Win32::API::Error::ERROR_CANNOT_IMPERSONATE, Chef::ReservedNames::Win32::API::Error::ERROR_CANNOT_MAKE, Chef::ReservedNames::Win32::API::Error::ERROR_CANNOT_OPEN_PROFILE, Chef::ReservedNames::Win32::API::Error::ERROR_CANTOPEN, Chef::ReservedNames::Win32::API::Error::ERROR_CANTREAD, Chef::ReservedNames::Win32::API::Error::ERROR_CANTWRITE, Chef::ReservedNames::Win32::API::Error::ERROR_CANT_ACCESS_DOMAIN_INFO, Chef::ReservedNames::Win32::API::Error::ERROR_CANT_ACCESS_FILE, Chef::ReservedNames::Win32::API::Error::ERROR_CANT_DISABLE_MANDATORY, Chef::ReservedNames::Win32::API::Error::ERROR_CANT_OPEN_ANONYMOUS, Chef::ReservedNames::Win32::API::Error::ERROR_CANT_RESOLVE_FILENAME, Chef::ReservedNames::Win32::API::Error::ERROR_CAN_NOT_COMPLETE, Chef::ReservedNames::Win32::API::Error::ERROR_CHILD_ALIVE_NOWAIT, Chef::ReservedNames::Win32::API::Error::ERROR_CHILD_MUST_BE_VOLATILE, Chef::ReservedNames::Win32::API::Error::ERROR_CHILD_NOT_COMPLETE, Chef::ReservedNames::Win32::API::Error::ERROR_CHILD_WINDOW_MENU, Chef::ReservedNames::Win32::API::Error::ERROR_CIRCULAR_DEPENDENCY, Chef::ReservedNames::Win32::API::Error::ERROR_CLASS_ALREADY_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_CLASS_DOES_NOT_EXIST, Chef::ReservedNames::Win32::API::Error::ERROR_CLASS_HAS_WINDOWS, Chef::ReservedNames::Win32::API::Error::ERROR_CLIPBOARD_NOT_OPEN, Chef::ReservedNames::Win32::API::Error::ERROR_CLIPPING_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_COLORSPACE_MISMATCH, Chef::ReservedNames::Win32::API::Error::ERROR_COMMITMENT_LIMIT, Chef::ReservedNames::Win32::API::Error::ERROR_CONNECTED_OTHER_PASSWORD, Chef::ReservedNames::Win32::API::Error::ERROR_CONNECTION_ABORTED, Chef::ReservedNames::Win32::API::Error::ERROR_CONNECTION_ACTIVE, Chef::ReservedNames::Win32::API::Error::ERROR_CONNECTION_COUNT_LIMIT, Chef::ReservedNames::Win32::API::Error::ERROR_CONNECTION_INVALID, Chef::ReservedNames::Win32::API::Error::ERROR_CONNECTION_REFUSED, Chef::ReservedNames::Win32::API::Error::ERROR_CONNECTION_UNAVAIL, Chef::ReservedNames::Win32::API::Error::ERROR_CONTEXT_EXPIRED, Chef::ReservedNames::Win32::API::Error::ERROR_CONTINUE, Chef::ReservedNames::Win32::API::Error::ERROR_CONTROL_ID_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_COUNTER_TIMEOUT, Chef::ReservedNames::Win32::API::Error::ERROR_CRC, Chef::ReservedNames::Win32::API::Error::ERROR_CREATE_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_CURRENT_DIRECTORY, Chef::ReservedNames::Win32::API::Error::ERROR_CURRENT_DOMAIN_NOT_ALLOWED, Chef::ReservedNames::Win32::API::Error::ERROR_DATABASE_DOES_NOT_EXIST, Chef::ReservedNames::Win32::API::Error::ERROR_DATATYPE_MISMATCH, Chef::ReservedNames::Win32::API::Error::ERROR_DC_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_DDE_FAIL, Chef::ReservedNames::Win32::API::Error::ERROR_DELETING_ICM_XFORM, Chef::ReservedNames::Win32::API::Error::ERROR_DEPENDENT_SERVICES_RUNNING, Chef::ReservedNames::Win32::API::Error::ERROR_DESTINATION_ELEMENT_FULL, Chef::ReservedNames::Win32::API::Error::ERROR_DESTROY_OBJECT_OF_OTHER_THREAD, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_ALREADY_REMEMBERED, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_DOOR_OPEN, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_IN_USE, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_NOT_CONNECTED, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_NOT_PARTITIONED, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_REINITIALIZATION_NEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_REMOVED, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_REQUIRES_CLEANING, Chef::ReservedNames::Win32::API::Error::ERROR_DEV_NOT_EXIST, Chef::ReservedNames::Win32::API::Error::ERROR_DIFFERENT_SERVICE_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_DIRECTORY, Chef::ReservedNames::Win32::API::Error::ERROR_DIRECT_ACCESS_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_DIR_NOT_EMPTY, Chef::ReservedNames::Win32::API::Error::ERROR_DIR_NOT_ROOT, Chef::ReservedNames::Win32::API::Error::ERROR_DISCARDED, Chef::ReservedNames::Win32::API::Error::ERROR_DISK_CHANGE, Chef::ReservedNames::Win32::API::Error::ERROR_DISK_CORRUPT, Chef::ReservedNames::Win32::API::Error::ERROR_DISK_FULL, Chef::ReservedNames::Win32::API::Error::ERROR_DISK_OPERATION_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_DISK_RECALIBRATE_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_DISK_RESET_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_DISK_TOO_FRAGMENTED, Chef::ReservedNames::Win32::API::Error::ERROR_DLL_INIT_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_DLL_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_DOMAIN_CONTROLLER_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_DOMAIN_CONTROLLER_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_DOMAIN_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_DOMAIN_LIMIT_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_DOMAIN_TRUST_INCONSISTENT, Chef::ReservedNames::Win32::API::Error::ERROR_DOWNGRADE_DETECTED, Chef::ReservedNames::Win32::API::Error::ERROR_DRIVER_BLOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_DRIVE_LOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_DUPLICATE_SERVICE_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_DUPLICATE_TAG, Chef::ReservedNames::Win32::API::Error::ERROR_DUP_DOMAINNAME, Chef::ReservedNames::Win32::API::Error::ERROR_DUP_FCB, Chef::ReservedNames::Win32::API::Error::ERROR_DUP_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_DYNLINK_FROM_INVALID_RING, Chef::ReservedNames::Win32::API::Error::ERROR_EAS_DIDNT_FIT, Chef::ReservedNames::Win32::API::Error::ERROR_EAS_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_EA_ACCESS_DENIED, Chef::ReservedNames::Win32::API::Error::ERROR_EA_FILE_CORRUPT, Chef::ReservedNames::Win32::API::Error::ERROR_EA_LIST_INCONSISTENT, Chef::ReservedNames::Win32::API::Error::ERROR_EA_TABLE_FULL, Chef::ReservedNames::Win32::API::Error::ERROR_END_OF_MEDIA, Chef::ReservedNames::Win32::API::Error::ERROR_ENVVAR_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_EOM_OVERFLOW, Chef::ReservedNames::Win32::API::Error::ERROR_EVENTLOG_CANT_START, Chef::ReservedNames::Win32::API::Error::ERROR_EVENTLOG_FILE_CHANGED, Chef::ReservedNames::Win32::API::Error::ERROR_EVENTLOG_FILE_CORRUPT, Chef::ReservedNames::Win32::API::Error::ERROR_EXCEPTION_IN_SERVICE, Chef::ReservedNames::Win32::API::Error::ERROR_EXCL_SEM_ALREADY_OWNED, Chef::ReservedNames::Win32::API::Error::ERROR_EXE_MACHINE_TYPE_MISMATCH, Chef::ReservedNames::Win32::API::Error::ERROR_EXE_MARKED_INVALID, Chef::ReservedNames::Win32::API::Error::ERROR_EXTENDED_ERROR, Chef::ReservedNames::Win32::API::Error::ERROR_FAILED_SERVICE_CONTROLLER_CONNECT, Chef::ReservedNames::Win32::API::Error::ERROR_FAIL_I24, Chef::ReservedNames::Win32::API::Error::ERROR_FAIL_NOACTION_REBOOT, Chef::ReservedNames::Win32::API::Error::ERROR_FAIL_RESTART, Chef::ReservedNames::Win32::API::Error::ERROR_FAIL_SHUTDOWN, Chef::ReservedNames::Win32::API::Error::ERROR_FCB_UNAVAILABLE, Chef::ReservedNames::Win32::API::Error::ERROR_FILEMARK_DETECTED, Chef::ReservedNames::Win32::API::Error::ERROR_FILENAME_EXCED_RANGE, Chef::ReservedNames::Win32::API::Error::ERROR_FILE_CORRUPT, Chef::ReservedNames::Win32::API::Error::ERROR_FILE_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_FILE_INVALID, Chef::ReservedNames::Win32::API::Error::ERROR_FILE_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_FLOPPY_BAD_REGISTERS, Chef::ReservedNames::Win32::API::Error::ERROR_FLOPPY_ID_MARK_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_FLOPPY_UNKNOWN_ERROR, Chef::ReservedNames::Win32::API::Error::ERROR_FLOPPY_WRONG_CYLINDER, Chef::ReservedNames::Win32::API::Error::ERROR_FULLSCREEN_MODE, Chef::ReservedNames::Win32::API::Error::ERROR_FUNCTION_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_FUNCTION_NOT_CALLED, Chef::ReservedNames::Win32::API::Error::ERROR_GENERIC_NOT_MAPPED, Chef::ReservedNames::Win32::API::Error::ERROR_GEN_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_GLOBAL_ONLY_HOOK, Chef::ReservedNames::Win32::API::Error::ERROR_GRACEFUL_DISCONNECT, Chef::ReservedNames::Win32::API::Error::ERROR_GROUP_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_HANDLE_DISK_FULL, Chef::ReservedNames::Win32::API::Error::ERROR_HANDLE_EOF, Chef::ReservedNames::Win32::API::Error::ERROR_HOOK_NEEDS_HMOD, Chef::ReservedNames::Win32::API::Error::ERROR_HOOK_NOT_INSTALLED, Chef::ReservedNames::Win32::API::Error::ERROR_HOOK_TYPE_NOT_ALLOWED, Chef::ReservedNames::Win32::API::Error::ERROR_HOST_DOWN, Chef::ReservedNames::Win32::API::Error::ERROR_HOST_UNREACHABLE, Chef::ReservedNames::Win32::API::Error::ERROR_HOTKEY_ALREADY_REGISTERED, Chef::ReservedNames::Win32::API::Error::ERROR_HOTKEY_NOT_REGISTERED, Chef::ReservedNames::Win32::API::Error::ERROR_HWNDS_HAVE_DIFF_PARENT, Chef::ReservedNames::Win32::API::Error::ERROR_ICM_NOT_ENABLED, Chef::ReservedNames::Win32::API::Error::ERROR_ILLEGAL_ELEMENT_ADDRESS, Chef::ReservedNames::Win32::API::Error::ERROR_ILL_FORMED_PASSWORD, Chef::ReservedNames::Win32::API::Error::ERROR_INCORRECT_ADDRESS, Chef::ReservedNames::Win32::API::Error::ERROR_INDEX_ABSENT, Chef::ReservedNames::Win32::API::Error::ERROR_INFLOOP_IN_RELOC_CHAIN, Chef::ReservedNames::Win32::API::Error::ERROR_INFO_NOT_AVAIL, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_ALREADY_RUNNING, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_LANGUAGE_UNSUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_LOG_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_NOTUSED, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_PACKAGE_INVALID, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_PACKAGE_OPEN_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_PACKAGE_REJECTED, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_PACKAGE_VERSION, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_PLATFORM_UNSUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_REMOTE_DISALLOWED, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_SERVICE_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_SOURCE_ABSENT, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_SUSPEND, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_TEMP_UNWRITABLE, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_TRANSFORM_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_UI_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_USEREXIT, Chef::ReservedNames::Win32::API::Error::ERROR_INSUFFICIENT_BUFFER, Chef::ReservedNames::Win32::API::Error::ERROR_INTERNAL_DB_CORRUPTION, Chef::ReservedNames::Win32::API::Error::ERROR_INTERNAL_DB_ERROR, Chef::ReservedNames::Win32::API::Error::ERROR_INTERNAL_ERROR, Chef::ReservedNames::Win32::API::Error::ERROR_INTERRUPT, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ACCEL_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ACCESS, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ACCOUNT_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ACL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ADDRESS, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_AT_INTERRUPT_TIME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_BLOCK, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_BLOCK_LENGTH, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_CALLGATE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_CATEGORY, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_CMM, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_COLORINDEX, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_COLORSPACE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_COMBOBOX_MESSAGE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_COMMAND_LINE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_COMPUTERNAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_CURSOR_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DATA, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DATATYPE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DLL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DOMAINNAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DOMAIN_ROLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DOMAIN_STATE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DRIVE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DWP_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_EA_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_EA_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_EDIT_HEIGHT, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ENVIRONMENT, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_EVENTNAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_EVENT_COUNT, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_EXE_SIGNATURE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_FIELD, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_FILTER_PROC, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_FLAGS, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_FLAG_NUMBER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_FORM_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_FORM_SIZE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_FUNCTION, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_GROUPNAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_GROUP_ATTRIBUTES, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_GW_COMMAND, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_HANDLE_STATE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_HOOK_FILTER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_HOOK_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ICON_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ID_AUTHORITY, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_IMPORT_OF_NON_DLL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_INDEX, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_KEYBOARD_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_LB_MESSAGE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_LEVEL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_LIST_FORMAT, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_LOGON_HOURS, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_LOGON_TYPE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MEMBER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MENU_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MESSAGE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MESSAGEDEST, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MESSAGENAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MINALLOCSIZE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MODULETYPE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MONITOR_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MSGBOX_STYLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_NETNAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_OPLOCK_PROTOCOL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ORDINAL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_OWNER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PARAMETER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PASSWORD, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PASSWORDNAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PIXEL_FORMAT, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PRIMARY_GROUP, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PRINTER_COMMAND, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PRINTER_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PRINTER_STATE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PRIORITY, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PROFILE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SCROLLBAR_RANGE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SECURITY_DESCR, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SEGDPL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SEGMENT_NUMBER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SEPARATOR_FILE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SERVER_STATE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SERVICENAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SERVICE_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SERVICE_CONTROL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SERVICE_LOCK, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SHARENAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SHOWWIN_COMMAND, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SID, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SIGNAL_NUMBER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SPI_VALUE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_STACKSEG, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_STARTING_CODESEG, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SUB_AUTHORITY, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_TABLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_TARGET_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_TASK_INDEX, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_TASK_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_THREAD_ID, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_TIME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_TRANSFORM, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_USER_BUFFER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_VERIFY_SWITCH, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_WINDOW_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_WINDOW_STYLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_WORKSTATION, Chef::ReservedNames::Win32::API::Error::ERROR_IOPL_NOT_ENABLED, Chef::ReservedNames::Win32::API::Error::ERROR_IO_DEVICE, Chef::ReservedNames::Win32::API::Error::ERROR_IO_INCOMPLETE, Chef::ReservedNames::Win32::API::Error::ERROR_IO_PENDING, Chef::ReservedNames::Win32::API::Error::ERROR_IRQ_BUSY, Chef::ReservedNames::Win32::API::Error::ERROR_IS_JOINED, Chef::ReservedNames::Win32::API::Error::ERROR_IS_JOIN_PATH, Chef::ReservedNames::Win32::API::Error::ERROR_IS_JOIN_TARGET, Chef::ReservedNames::Win32::API::Error::ERROR_IS_SUBSTED, Chef::ReservedNames::Win32::API::Error::ERROR_IS_SUBST_PATH, Chef::ReservedNames::Win32::API::Error::ERROR_IS_SUBST_TARGET, Chef::ReservedNames::Win32::API::Error::ERROR_ITERATED_DATA_EXCEEDS_64k, Chef::ReservedNames::Win32::API::Error::ERROR_JOIN_TO_JOIN, Chef::ReservedNames::Win32::API::Error::ERROR_JOIN_TO_SUBST, Chef::ReservedNames::Win32::API::Error::ERROR_JOURNAL_DELETE_IN_PROGRESS, Chef::ReservedNames::Win32::API::Error::ERROR_JOURNAL_ENTRY_DELETED, Chef::ReservedNames::Win32::API::Error::ERROR_JOURNAL_HOOK_SET, Chef::ReservedNames::Win32::API::Error::ERROR_JOURNAL_NOT_ACTIVE, Chef::ReservedNames::Win32::API::Error::ERROR_KEY_DELETED, Chef::ReservedNames::Win32::API::Error::ERROR_KEY_HAS_CHILDREN, Chef::ReservedNames::Win32::API::Error::ERROR_KM_DRIVER_BLOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_LABEL_TOO_LONG, Chef::ReservedNames::Win32::API::Error::ERROR_LAST_ADMIN, Chef::ReservedNames::Win32::API::Error::ERROR_LB_WITHOUT_TABSTOPS, Chef::ReservedNames::Win32::API::Error::ERROR_LICENSE_QUOTA_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_LISTBOX_ID_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_LM_CROSS_ENCRYPTION_REQUIRED, Chef::ReservedNames::Win32::API::Error::ERROR_LOCAL_USER_SESSION_KEY, Chef::ReservedNames::Win32::API::Error::ERROR_LOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_LOCK_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_LOCK_VIOLATION, Chef::ReservedNames::Win32::API::Error::ERROR_LOGIN_TIME_RESTRICTION, Chef::ReservedNames::Win32::API::Error::ERROR_LOGIN_WKSTA_RESTRICTION, Chef::ReservedNames::Win32::API::Error::ERROR_LOGON_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_LOGON_NOT_GRANTED, Chef::ReservedNames::Win32::API::Error::ERROR_LOGON_SESSION_COLLISION, Chef::ReservedNames::Win32::API::Error::ERROR_LOGON_SESSION_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_LOGON_TYPE_NOT_GRANTED, Chef::ReservedNames::Win32::API::Error::ERROR_LOG_FILE_FULL, Chef::ReservedNames::Win32::API::Error::ERROR_LUIDS_EXHAUSTED, Chef::ReservedNames::Win32::API::Error::ERROR_MACHINE_LOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_MAGAZINE_NOT_PRESENT, Chef::ReservedNames::Win32::API::Error::ERROR_MAPPED_ALIGNMENT, Chef::ReservedNames::Win32::API::Error::ERROR_MAX_SESSIONS_REACHED, Chef::ReservedNames::Win32::API::Error::ERROR_MAX_THRDS_REACHED, Chef::ReservedNames::Win32::API::Error::ERROR_MEDIA_CHANGED, Chef::ReservedNames::Win32::API::Error::ERROR_MEMBERS_PRIMARY_GROUP, Chef::ReservedNames::Win32::API::Error::ERROR_MEMBER_IN_ALIAS, Chef::ReservedNames::Win32::API::Error::ERROR_MEMBER_IN_GROUP, Chef::ReservedNames::Win32::API::Error::ERROR_MEMBER_NOT_IN_ALIAS, Chef::ReservedNames::Win32::API::Error::ERROR_MEMBER_NOT_IN_GROUP, Chef::ReservedNames::Win32::API::Error::ERROR_MENU_ITEM_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_MESSAGE_SYNC_ONLY, Chef::ReservedNames::Win32::API::Error::ERROR_METAFILE_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_META_EXPANSION_TOO_LONG, Chef::ReservedNames::Win32::API::Error::ERROR_MOD_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_MONITORS_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_MORE_DATA, Chef::ReservedNames::Win32::API::Error::ERROR_MORE_WRITES, Chef::ReservedNames::Win32::API::Error::ERROR_MR_MID_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_MUTUAL_AUTH_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_NEGATIVE_SEEK, Chef::ReservedNames::Win32::API::Error::ERROR_NESTING_NOT_ALLOWED, Chef::ReservedNames::Win32::API::Error::ERROR_NETLOGON_NOT_STARTED, Chef::ReservedNames::Win32::API::Error::ERROR_NETNAME_DELETED, Chef::ReservedNames::Win32::API::Error::ERROR_NETWORK_ACCESS_DENIED, Chef::ReservedNames::Win32::API::Error::ERROR_NETWORK_BUSY, Chef::ReservedNames::Win32::API::Error::ERROR_NETWORK_UNREACHABLE, Chef::ReservedNames::Win32::API::Error::ERROR_NET_WRITE_FAULT, Chef::ReservedNames::Win32::API::Error::ERROR_NOACCESS, Chef::ReservedNames::Win32::API::Error::ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_NOLOGON_SERVER_TRUST_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_NONE_MAPPED, Chef::ReservedNames::Win32::API::Error::ERROR_NONPAGED_SYSTEM_RESOURCES, Chef::ReservedNames::Win32::API::Error::ERROR_NON_MDICHILD_WINDOW, Chef::ReservedNames::Win32::API::Error::ERROR_NOTIFY_ENUM_DIR, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_ALL_ASSIGNED, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_AUTHENTICATED, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_CHILD_WINDOW, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_CONNECTED, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_CONTAINER, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_CURRENT_CTRY, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_DOS_DISK, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_ENOUGH_MEMORY, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_ENOUGH_QUOTA, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_ENOUGH_SERVER_MEMORY, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_FROZEN, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_JOINED, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_LOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_LOGGED_ON, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_LOGON_PROCESS, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_OWNER, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_READY, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_REGISTRY_FILE, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_SAME_DEVICE, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_SUBSTED, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_SUPPORTED_ON_SBS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_ASSOCIATION, Chef::ReservedNames::Win32::API::Error::ERROR_NO_CHILD_PROCESS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_DATA, Chef::ReservedNames::Win32::API::Error::ERROR_NO_DATA_DETECTED, Chef::ReservedNames::Win32::API::Error::ERROR_NO_IMPERSONATION_TOKEN, Chef::ReservedNames::Win32::API::Error::ERROR_NO_INHERITANCE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_ITEMS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_LOGON_SERVERS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_LOG_SPACE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_MATCH, Chef::ReservedNames::Win32::API::Error::ERROR_NO_MEDIA_IN_DRIVE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_MORE_DEVICES, Chef::ReservedNames::Win32::API::Error::ERROR_NO_MORE_FILES, Chef::ReservedNames::Win32::API::Error::ERROR_NO_MORE_ITEMS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_MORE_SEARCH_HANDLES, Chef::ReservedNames::Win32::API::Error::ERROR_NO_MORE_USER_HANDLES, Chef::ReservedNames::Win32::API::Error::ERROR_NO_NETWORK, Chef::ReservedNames::Win32::API::Error::ERROR_NO_NET_OR_BAD_PATH, Chef::ReservedNames::Win32::API::Error::ERROR_NO_PROC_SLOTS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_QUOTAS_FOR_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_NO_RECOVERY_PROGRAM, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SCROLLBARS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SECURITY_ON_OBJECT, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SHUTDOWN_IN_PROGRESS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SIGNAL_SENT, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SITENAME, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SPOOL_SPACE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_ALIAS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_DOMAIN, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_GROUP, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_LOGON_SESSION, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_MEMBER, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_PACKAGE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_PRIVILEGE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_SITE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_USER, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SYSTEM_MENU, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SYSTEM_RESOURCES, Chef::ReservedNames::Win32::API::Error::ERROR_NO_TOKEN, Chef::ReservedNames::Win32::API::Error::ERROR_NO_TRACKING_SERVICE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_TRUST_LSA_SECRET, Chef::ReservedNames::Win32::API::Error::ERROR_NO_TRUST_SAM_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_NO_UNICODE_TRANSLATION, Chef::ReservedNames::Win32::API::Error::ERROR_NO_USER_SESSION_KEY, Chef::ReservedNames::Win32::API::Error::ERROR_NO_VOLUME_ID, Chef::ReservedNames::Win32::API::Error::ERROR_NO_VOLUME_LABEL, Chef::ReservedNames::Win32::API::Error::ERROR_NO_WILDCARD_CHARACTERS, Chef::ReservedNames::Win32::API::Error::ERROR_NT_CROSS_ENCRYPTION_REQUIRED, Chef::ReservedNames::Win32::API::Error::ERROR_NULL_LM_PASSWORD, Chef::ReservedNames::Win32::API::Error::ERROR_OLD_WIN_VERSION, Chef::ReservedNames::Win32::API::Error::ERROR_ONLY_IF_CONNECTED, Chef::ReservedNames::Win32::API::Error::ERROR_OPEN_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_OPEN_FILES, Chef::ReservedNames::Win32::API::Error::ERROR_OPERATION_ABORTED, Chef::ReservedNames::Win32::API::Error::ERROR_OPLOCK_NOT_GRANTED, Chef::ReservedNames::Win32::API::Error::ERROR_OUT_OF_PAPER, Chef::ReservedNames::Win32::API::Error::ERROR_OUT_OF_STRUCTURES, Chef::ReservedNames::Win32::API::Error::ERROR_OVERRIDE_NOCHANGES, Chef::ReservedNames::Win32::API::Error::ERROR_PAGED_SYSTEM_RESOURCES, Chef::ReservedNames::Win32::API::Error::ERROR_PAGEFILE_QUOTA, Chef::ReservedNames::Win32::API::Error::ERROR_PARTIAL_COPY, Chef::ReservedNames::Win32::API::Error::ERROR_PARTITION_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_PASSWORD_EXPIRED, Chef::ReservedNames::Win32::API::Error::ERROR_PASSWORD_MUST_CHANGE, Chef::ReservedNames::Win32::API::Error::ERROR_PASSWORD_RESTRICTION, Chef::ReservedNames::Win32::API::Error::ERROR_PATCH_PACKAGE_INVALID, Chef::ReservedNames::Win32::API::Error::ERROR_PATCH_PACKAGE_OPEN_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_PATCH_PACKAGE_UNSUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_PATH_BUSY, Chef::ReservedNames::Win32::API::Error::ERROR_PATH_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_PER_USER_TRUST_QUOTA_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_PIPE_BUSY, Chef::ReservedNames::Win32::API::Error::ERROR_PIPE_CONNECTED, Chef::ReservedNames::Win32::API::Error::ERROR_PIPE_LISTENING, Chef::ReservedNames::Win32::API::Error::ERROR_PIPE_NOT_CONNECTED, Chef::ReservedNames::Win32::API::Error::ERROR_PKINIT_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_POINT_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_POPUP_ALREADY_ACTIVE, Chef::ReservedNames::Win32::API::Error::ERROR_PORT_UNREACHABLE, Chef::ReservedNames::Win32::API::Error::ERROR_POSSIBLE_DEADLOCK, Chef::ReservedNames::Win32::API::Error::ERROR_POTENTIAL_FILE_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_PRINTER_ALREADY_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_PRINTER_DELETED, Chef::ReservedNames::Win32::API::Error::ERROR_PRINTER_DRIVER_ALREADY_INSTALLED, Chef::ReservedNames::Win32::API::Error::ERROR_PRINTQ_FULL, Chef::ReservedNames::Win32::API::Error::ERROR_PRINT_CANCELLED, Chef::ReservedNames::Win32::API::Error::ERROR_PRIVATE_DIALOG_INDEX, Chef::ReservedNames::Win32::API::Error::ERROR_PRIVILEGE_NOT_HELD, Chef::ReservedNames::Win32::API::Error::ERROR_PROCESS_ABORTED, Chef::ReservedNames::Win32::API::Error::ERROR_PROC_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_PRODUCT_UNINSTALLED, Chef::ReservedNames::Win32::API::Error::ERROR_PRODUCT_VERSION, Chef::ReservedNames::Win32::API::Error::ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE, Chef::ReservedNames::Win32::API::Error::ERROR_PROFILE_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_PROTECTION_VIOLATION, Chef::ReservedNames::Win32::API::Error::ERROR_PROTOCOL_UNREACHABLE, Chef::ReservedNames::Win32::API::Error::ERROR_READ_FAULT, Chef::ReservedNames::Win32::API::Error::ERROR_REDIRECTOR_HAS_OPEN_HANDLES, Chef::ReservedNames::Win32::API::Error::ERROR_REDIR_PAUSED, Chef::ReservedNames::Win32::API::Error::ERROR_REGISTRY_CORRUPT, Chef::ReservedNames::Win32::API::Error::ERROR_REGISTRY_IO_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_REGISTRY_RECOVERED, Chef::ReservedNames::Win32::API::Error::ERROR_REG_NAT_CONSUMPTION, Chef::ReservedNames::Win32::API::Error::ERROR_RELOC_CHAIN_XEEDS_SEGLIM, Chef::ReservedNames::Win32::API::Error::ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_REMOTE_SESSION_LIMIT_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_REM_NOT_LIST, Chef::ReservedNames::Win32::API::Error::ERROR_REQUEST_ABORTED, Chef::ReservedNames::Win32::API::Error::ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION, Chef::ReservedNames::Win32::API::Error::ERROR_REQ_NOT_ACCEP, Chef::ReservedNames::Win32::API::Error::ERROR_RESOURCE_DATA_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_RESOURCE_LANG_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_RESOURCE_NAME_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_RESOURCE_TYPE_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_RETRY, Chef::ReservedNames::Win32::API::Error::ERROR_REVISION_MISMATCH, Chef::ReservedNames::Win32::API::Error::ERROR_RING2SEG_MUST_BE_MOVABLE, Chef::ReservedNames::Win32::API::Error::ERROR_RING2_STACK_IN_USE, Chef::ReservedNames::Win32::API::Error::ERROR_RMODE_APP, Chef::ReservedNames::Win32::API::Error::ERROR_RXACT_COMMIT_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_RXACT_INVALID_STATE, Chef::ReservedNames::Win32::API::Error::ERROR_SAME_DRIVE, Chef::ReservedNames::Win32::API::Error::ERROR_SCOPE_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_SCREEN_ALREADY_LOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_SECRET_TOO_LONG, Chef::ReservedNames::Win32::API::Error::ERROR_SECTOR_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_SEEK, Chef::ReservedNames::Win32::API::Error::ERROR_SEEK_ON_DEVICE, Chef::ReservedNames::Win32::API::Error::ERROR_SEM_IS_SET, Chef::ReservedNames::Win32::API::Error::ERROR_SEM_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_SEM_OWNER_DIED, Chef::ReservedNames::Win32::API::Error::ERROR_SEM_TIMEOUT, Chef::ReservedNames::Win32::API::Error::ERROR_SEM_USER_LIMIT, Chef::ReservedNames::Win32::API::Error::ERROR_SERIAL_NO_DEVICE, Chef::ReservedNames::Win32::API::Error::ERROR_SERVER_DISABLED, Chef::ReservedNames::Win32::API::Error::ERROR_SERVER_HAS_OPEN_HANDLES, Chef::ReservedNames::Win32::API::Error::ERROR_SERVER_NOT_DISABLED, Chef::ReservedNames::Win32::API::Error::ERROR_SERVER_SHUTDOWN_IN_PROGRESS, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_ALREADY_RUNNING, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_CANNOT_ACCEPT_CTRL, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_DATABASE_LOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_DEPENDENCY_DELETED, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_DEPENDENCY_FAIL, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_DISABLED, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_DOES_NOT_EXIST, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_LOGON_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_MARKED_FOR_DELETE, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_NEVER_STARTED, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_NOT_ACTIVE, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_NOT_IN_EXE, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_NO_THREAD, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_REQUEST_TIMEOUT, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_SPECIFIC_ERROR, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_START_HANG, Chef::ReservedNames::Win32::API::Error::ERROR_SESSION_CREDENTIAL_CONFLICT, Chef::ReservedNames::Win32::API::Error::ERROR_SETCOUNT_ON_BAD_LB, Chef::ReservedNames::Win32::API::Error::ERROR_SETMARK_DETECTED, Chef::ReservedNames::Win32::API::Error::ERROR_SET_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_SET_POWER_STATE_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_SET_POWER_STATE_VETOED, Chef::ReservedNames::Win32::API::Error::ERROR_SHARING_BUFFER_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_SHARING_PAUSED, Chef::ReservedNames::Win32::API::Error::ERROR_SHARING_VIOLATION, Chef::ReservedNames::Win32::API::Error::ERROR_SHUTDOWN_IN_PROGRESS, Chef::ReservedNames::Win32::API::Error::ERROR_SIGNAL_PENDING, Chef::ReservedNames::Win32::API::Error::ERROR_SIGNAL_REFUSED, Chef::ReservedNames::Win32::API::Error::ERROR_SINGLE_INSTANCE_APP, Chef::ReservedNames::Win32::API::Error::ERROR_SMARTCARD_SUBSYSTEM_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_SOME_NOT_MAPPED, Chef::ReservedNames::Win32::API::Error::ERROR_SOURCE_ELEMENT_EMPTY, Chef::ReservedNames::Win32::API::Error::ERROR_SPECIAL_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_SPECIAL_GROUP, Chef::ReservedNames::Win32::API::Error::ERROR_SPECIAL_USER, Chef::ReservedNames::Win32::API::Error::ERROR_STACK_OVERFLOW, Chef::ReservedNames::Win32::API::Error::ERROR_SUBST_TO_JOIN, Chef::ReservedNames::Win32::API::Error::ERROR_SUBST_TO_SUBST, Chef::ReservedNames::Win32::API::Error::ERROR_SUCCESS, Chef::ReservedNames::Win32::API::Error::ERROR_SUCCESS_REBOOT_INITIATED, Chef::ReservedNames::Win32::API::Error::ERROR_SWAPERROR, Chef::ReservedNames::Win32::API::Error::ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED, Chef::ReservedNames::Win32::API::Error::ERROR_SYSTEM_TRACE, Chef::ReservedNames::Win32::API::Error::ERROR_TAG_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_TAG_NOT_PRESENT, Chef::ReservedNames::Win32::API::Error::ERROR_THREAD_1_INACTIVE, Chef::ReservedNames::Win32::API::Error::ERROR_THREAD_ALREADY_IN_TASK, Chef::ReservedNames::Win32::API::Error::ERROR_TIMEOUT, Chef::ReservedNames::Win32::API::Error::ERROR_TIME_SKEW, Chef::ReservedNames::Win32::API::Error::ERROR_TLW_WITH_WSCHILD, Chef::ReservedNames::Win32::API::Error::ERROR_TOKEN_ALREADY_IN_USE, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_CMDS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_CONTEXT_IDS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_LINKS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_LUIDS_REQUESTED, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_MODULES, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_MUXWAITERS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_NAMES, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_OPEN_FILES, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_POSTS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_SECRETS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_SEMAPHORES, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_SEM_REQUESTS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_SESS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_SIDS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_TCBS, Chef::ReservedNames::Win32::API::Error::ERROR_TRANSFORM_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_TRUSTED_DOMAIN_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_TRUSTED_RELATIONSHIP_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_TRUST_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_UNABLE_TO_LOCK_MEDIA, Chef::ReservedNames::Win32::API::Error::ERROR_UNABLE_TO_MOVE_REPLACEMENT, Chef::ReservedNames::Win32::API::Error::ERROR_UNABLE_TO_MOVE_REPLACEMENT_2, Chef::ReservedNames::Win32::API::Error::ERROR_UNABLE_TO_REMOVE_REPLACED, Chef::ReservedNames::Win32::API::Error::ERROR_UNABLE_TO_UNLOAD_MEDIA, Chef::ReservedNames::Win32::API::Error::ERROR_UNCERTAIN_MEDIA, Chef::ReservedNames::Win32::API::Error::ERROR_UNEXP_NET_ERR, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_COMPONENT, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_FEATURE, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_PATCH, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_PORT, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_PRINTER_DRIVER, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_PRINTPROCESSOR, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_PRINT_MONITOR, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_PRODUCT, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_PROPERTY, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_REVISION, Chef::ReservedNames::Win32::API::Error::ERROR_UNRECOGNIZED_MEDIA, Chef::ReservedNames::Win32::API::Error::ERROR_UNRECOGNIZED_VOLUME, Chef::ReservedNames::Win32::API::Error::ERROR_UNSUPPORTED_TYPE, Chef::ReservedNames::Win32::API::Error::ERROR_USER_DEFINED_BASE, Chef::ReservedNames::Win32::API::Error::ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_USER_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_USER_MAPPED_FILE, Chef::ReservedNames::Win32::API::Error::ERROR_USER_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_USER_PROFILE_LOAD, Chef::ReservedNames::Win32::API::Error::ERROR_VC_DISCONNECTED, Chef::ReservedNames::Win32::API::Error::ERROR_VIOKBD_REQUEST, Chef::ReservedNames::Win32::API::Error::ERROR_WAIT_NO_CHILDREN, Chef::ReservedNames::Win32::API::Error::ERROR_WINDOW_NOT_COMBOBOX, Chef::ReservedNames::Win32::API::Error::ERROR_WINDOW_NOT_DIALOG, Chef::ReservedNames::Win32::API::Error::ERROR_WINDOW_OF_OTHER_THREAD, Chef::ReservedNames::Win32::API::Error::ERROR_WORKING_SET_QUOTA, Chef::ReservedNames::Win32::API::Error::ERROR_WRITE_FAULT, Chef::ReservedNames::Win32::API::Error::ERROR_WRITE_PROTECT, Chef::ReservedNames::Win32::API::Error::ERROR_WRONG_DISK, Chef::ReservedNames::Win32::API::Error::ERROR_WRONG_PASSWORD, Chef::ReservedNames::Win32::API::Error::ERROR_WRONG_TARGET_NAME, Chef::ReservedNames::Win32::API::Error::ERR_TSTDUP, Chef::ReservedNames::Win32::API::Error::ERR_TSTOVFL, Chef::ReservedNames::Win32::API::Error::FORMAT_MESSAGE_ALLOCATE_BUFFER, Chef::ReservedNames::Win32::API::Error::FORMAT_MESSAGE_ARGUMENT_ARRAY, Chef::ReservedNames::Win32::API::Error::FORMAT_MESSAGE_FROM_HMODULE, Chef::ReservedNames::Win32::API::Error::FORMAT_MESSAGE_FROM_STRING, Chef::ReservedNames::Win32::API::Error::FORMAT_MESSAGE_FROM_SYSTEM, Chef::ReservedNames::Win32::API::Error::FORMAT_MESSAGE_IGNORE_INSERTS, Chef::ReservedNames::Win32::API::Error::FORMAT_MESSAGE_MAX_WIDTH_MASK, Chef::ReservedNames::Win32::API::Error::LOAD_IGNORE_CODE_AUTHZ_LEVEL, Chef::ReservedNames::Win32::API::Error::LOAD_LIBRARY_AS_DATAFILE, Chef::ReservedNames::Win32::API::Error::LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE, Chef::ReservedNames::Win32::API::Error::LOAD_LIBRARY_AS_IMAGE_RESOURCE, Chef::ReservedNames::Win32::API::Error::LOAD_LIBRARY_SEARCH_APPLICATION_DIR, Chef::ReservedNames::Win32::API::Error::LOAD_LIBRARY_SEARCH_DEFAULT_DIRS, Chef::ReservedNames::Win32::API::Error::LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR, Chef::ReservedNames::Win32::API::Error::LOAD_LIBRARY_SEARCH_SYSTEM32, Chef::ReservedNames::Win32::API::Error::LOAD_LIBRARY_SEARCH_USER_DIRS, Chef::ReservedNames::Win32::API::Error::LOAD_WITH_ALTERED_SEARCH_PATH, Chef::ReservedNames::Win32::API::Error::NO_ERROR, Chef::ReservedNames::Win32::API::Error::OR_INVALID_OID, Chef::ReservedNames::Win32::API::Error::OR_INVALID_OXID, Chef::ReservedNames::Win32::API::Error::OR_INVALID_SET, Chef::ReservedNames::Win32::API::Error::RPC_S_ADDRESS_ERROR, Chef::ReservedNames::Win32::API::Error::RPC_S_ALREADY_LISTENING, Chef::ReservedNames::Win32::API::Error::RPC_S_ALREADY_REGISTERED, Chef::ReservedNames::Win32::API::Error::RPC_S_BINDING_HAS_NO_AUTH, Chef::ReservedNames::Win32::API::Error::RPC_S_BINDING_INCOMPLETE, Chef::ReservedNames::Win32::API::Error::RPC_S_CALL_CANCELLED, Chef::ReservedNames::Win32::API::Error::RPC_S_CALL_FAILED, Chef::ReservedNames::Win32::API::Error::RPC_S_CALL_FAILED_DNE, Chef::ReservedNames::Win32::API::Error::RPC_S_CALL_IN_PROGRESS, Chef::ReservedNames::Win32::API::Error::RPC_S_CANNOT_SUPPORT, Chef::ReservedNames::Win32::API::Error::RPC_S_CANT_CREATE_ENDPOINT, Chef::ReservedNames::Win32::API::Error::RPC_S_COMM_FAILURE, Chef::ReservedNames::Win32::API::Error::RPC_S_DUPLICATE_ENDPOINT, Chef::ReservedNames::Win32::API::Error::RPC_S_ENTRY_ALREADY_EXISTS, Chef::ReservedNames::Win32::API::Error::RPC_S_ENTRY_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::RPC_S_ENTRY_TYPE_MISMATCH, Chef::ReservedNames::Win32::API::Error::RPC_S_FP_DIV_ZERO, Chef::ReservedNames::Win32::API::Error::RPC_S_FP_OVERFLOW, Chef::ReservedNames::Win32::API::Error::RPC_S_FP_UNDERFLOW, Chef::ReservedNames::Win32::API::Error::RPC_S_GROUP_MEMBER_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::RPC_S_GRP_ELT_NOT_ADDED, Chef::ReservedNames::Win32::API::Error::RPC_S_GRP_ELT_NOT_REMOVED, Chef::ReservedNames::Win32::API::Error::RPC_S_INCOMPLETE_NAME, Chef::ReservedNames::Win32::API::Error::RPC_S_INTERFACE_NOT_EXPORTED, Chef::ReservedNames::Win32::API::Error::RPC_S_INTERFACE_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::RPC_S_INTERNAL_ERROR, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_ASYNC_CALL, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_ASYNC_HANDLE, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_AUTH_IDENTITY, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_BINDING, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_BOUND, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_ENDPOINT_FORMAT, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_NAF_ID, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_NAME_SYNTAX, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_NETWORK_OPTIONS, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_NET_ADDR, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_OBJECT, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_RPC_PROTSEQ, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_STRING_BINDING, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_STRING_UUID, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_TAG, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_TIMEOUT, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_VERS_OPTION, Chef::ReservedNames::Win32::API::Error::RPC_S_MAX_CALLS_TOO_SMALL, Chef::ReservedNames::Win32::API::Error::RPC_S_NAME_SERVICE_UNAVAILABLE, Chef::ReservedNames::Win32::API::Error::RPC_S_NOTHING_TO_EXPORT, Chef::ReservedNames::Win32::API::Error::RPC_S_NOT_ALL_OBJS_EXPORTED, Chef::ReservedNames::Win32::API::Error::RPC_S_NOT_ALL_OBJS_UNEXPORTED, Chef::ReservedNames::Win32::API::Error::RPC_S_NOT_CANCELLED, Chef::ReservedNames::Win32::API::Error::RPC_S_NOT_LISTENING, Chef::ReservedNames::Win32::API::Error::RPC_S_NOT_RPC_ERROR, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_BINDINGS, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_CALL_ACTIVE, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_CONTEXT_AVAILABLE, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_ENDPOINT_FOUND, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_ENTRY_NAME, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_INTERFACES, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_MORE_BINDINGS, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_MORE_MEMBERS, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_PRINC_NAME, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_PROTSEQS, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_PROTSEQS_REGISTERED, Chef::ReservedNames::Win32::API::Error::RPC_S_OBJECT_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::RPC_S_OUT_OF_RESOURCES, Chef::ReservedNames::Win32::API::Error::RPC_S_PRF_ELT_NOT_ADDED, Chef::ReservedNames::Win32::API::Error::RPC_S_PRF_ELT_NOT_REMOVED, Chef::ReservedNames::Win32::API::Error::RPC_S_PROCNUM_OUT_OF_RANGE, Chef::ReservedNames::Win32::API::Error::RPC_S_PROFILE_NOT_ADDED, Chef::ReservedNames::Win32::API::Error::RPC_S_PROTOCOL_ERROR, Chef::ReservedNames::Win32::API::Error::RPC_S_PROTSEQ_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::RPC_S_PROTSEQ_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::RPC_S_SEC_PKG_ERROR, Chef::ReservedNames::Win32::API::Error::RPC_S_SEND_INCOMPLETE, Chef::ReservedNames::Win32::API::Error::RPC_S_SERVER_TOO_BUSY, Chef::ReservedNames::Win32::API::Error::RPC_S_SERVER_UNAVAILABLE, Chef::ReservedNames::Win32::API::Error::RPC_S_STRING_TOO_LONG, Chef::ReservedNames::Win32::API::Error::RPC_S_TYPE_ALREADY_REGISTERED, Chef::ReservedNames::Win32::API::Error::RPC_S_UNKNOWN_AUTHN_LEVEL, Chef::ReservedNames::Win32::API::Error::RPC_S_UNKNOWN_AUTHN_SERVICE, Chef::ReservedNames::Win32::API::Error::RPC_S_UNKNOWN_AUTHN_TYPE, Chef::ReservedNames::Win32::API::Error::RPC_S_UNKNOWN_AUTHZ_SERVICE, Chef::ReservedNames::Win32::API::Error::RPC_S_UNKNOWN_IF, Chef::ReservedNames::Win32::API::Error::RPC_S_UNKNOWN_MGR_TYPE, Chef::ReservedNames::Win32::API::Error::RPC_S_UNSUPPORTED_AUTHN_LEVEL, Chef::ReservedNames::Win32::API::Error::RPC_S_UNSUPPORTED_NAME_SYNTAX, Chef::ReservedNames::Win32::API::Error::RPC_S_UNSUPPORTED_TRANS_SYN, Chef::ReservedNames::Win32::API::Error::RPC_S_UNSUPPORTED_TYPE, Chef::ReservedNames::Win32::API::Error::RPC_S_UUID_LOCAL_ONLY, Chef::ReservedNames::Win32::API::Error::RPC_S_UUID_NO_ADDRESS, Chef::ReservedNames::Win32::API::Error::RPC_S_WRONG_KIND_OF_BINDING, Chef::ReservedNames::Win32::API::Error::RPC_S_ZERO_DIVIDE, Chef::ReservedNames::Win32::API::Error::RPC_X_BAD_STUB_DATA, Chef::ReservedNames::Win32::API::Error::RPC_X_BYTE_COUNT_TOO_SMALL, Chef::ReservedNames::Win32::API::Error::RPC_X_ENUM_VALUE_OUT_OF_RANGE, Chef::ReservedNames::Win32::API::Error::RPC_X_INVALID_ES_ACTION, Chef::ReservedNames::Win32::API::Error::RPC_X_INVALID_PIPE_OBJECT, Chef::ReservedNames::Win32::API::Error::RPC_X_NO_MORE_ENTRIES, Chef::ReservedNames::Win32::API::Error::RPC_X_NULL_REF_POINTER, Chef::ReservedNames::Win32::API::Error::RPC_X_PIPE_CLOSED, Chef::ReservedNames::Win32::API::Error::RPC_X_PIPE_DISCIPLINE_ERROR, Chef::ReservedNames::Win32::API::Error::RPC_X_PIPE_EMPTY, Chef::ReservedNames::Win32::API::Error::RPC_X_SS_CANNOT_GET_CALL_HANDLE, Chef::ReservedNames::Win32::API::Error::RPC_X_SS_CHAR_TRANS_OPEN_FAIL, Chef::ReservedNames::Win32::API::Error::RPC_X_SS_CHAR_TRANS_SHORT_FILE, Chef::ReservedNames::Win32::API::Error::RPC_X_SS_CONTEXT_DAMAGED, Chef::ReservedNames::Win32::API::Error::RPC_X_SS_HANDLES_MISMATCH, Chef::ReservedNames::Win32::API::Error::RPC_X_SS_IN_NULL_CONTEXT, Chef::ReservedNames::Win32::API::Error::RPC_X_WRONG_ES_VERSION, Chef::ReservedNames::Win32::API::Error::RPC_X_WRONG_PIPE_ORDER, Chef::ReservedNames::Win32::API::Error::RPC_X_WRONG_PIPE_VERSION, Chef::ReservedNames::Win32::API::Error::RPC_X_WRONG_STUB_VERSION, Chef::ReservedNames::Win32::API::Error::SEM_FAILCRITICALERRORS, Chef::ReservedNames::Win32::API::Error::SEM_NOALIGNMENTFAULTEXCEPT, Chef::ReservedNames::Win32::API::Error::SEM_NOGPFAULTERRORBOX, Chef::ReservedNames::Win32::API::Error::SEM_NOOPENFILEERRORBOX, Chef::ReservedNames::Win32::API::Error::S_OK

Class Method Summary collapse

Class Method Details

.format_message(message_id = 0, args = {}) ⇒ Object


30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/chef/win32/error.rb', line 30

def self.format_message(message_id = 0, args = {})
  flags = args[:flags] || FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ARGUMENT_ARRAY
  flags |= FORMAT_MESSAGE_ALLOCATE_BUFFER
  source = args[:source] || 0
  language_id = args[:language_id] || 0
  varargs = args[:varargs] || [:int, 0]
  buffer = FFI::MemoryPointer.new :pointer
  num_chars = FormatMessageW(flags, source, message_id, language_id, buffer, 0, *varargs)
  if num_chars == 0
    source = LoadLibraryExW("netmsg.dll".to_wstring, 0, LOAD_LIBRARY_AS_DATAFILE)
    begin
      num_chars = FormatMessageW(flags | FORMAT_MESSAGE_FROM_HMODULE, source, message_id, language_id, buffer, 0, *varargs)
    ensure
      FreeLibrary(source)
    end
  end

  if num_chars == 0
    raise!
  end

  # Extract the string
  begin
    return buffer.read_pointer.read_wstring(num_chars)
  ensure
    Chef::ReservedNames::Win32::Memory.local_free(buffer.read_pointer)
  end
end

.get_last_errorObject


59
60
61
# File 'lib/chef/win32/error.rb', line 59

def self.get_last_error
  FFI::LastError.error
end

.raise!(message = nil, code = get_last_error) ⇒ Object

Raises the last error. This should only be called by Win32 API wrapper functions, and then only when wrapped in an if() statement (since it unconditionally exits) === Returns nil::: always returns nil when it does not raise === Raises Chef::Exceptions::Win32APIError:::


70
71
72
73
74
75
76
77
78
79
80
81
82
83
# File 'lib/chef/win32/error.rb', line 70

def self.raise!(message = nil, code = get_last_error)
  msg = format_message(code).strip
  if code == ERROR_USER_NOT_FOUND
    raise Chef::Exceptions::UserIDNotFound, msg
  else
    formatted_message = ""
    formatted_message << message if message
    formatted_message << "---- Begin Win32 API output ----\n"
    formatted_message << "System Error Code: #{code}\n"
    formatted_message << "System Error Message: #{msg}\n"
    formatted_message << "---- End Win32 API output ----\n"
    raise Chef::Exceptions::Win32APIError, msg + "\n" + formatted_message
  end
end