Common Error Codes

ValueConstantDescription
0x00000000WCL_E_SUCCESSOperation completed with success.
Common error codes
0x00010000WCL_E_BASEThe base error code for the WCL system/common errors.
0x00010000WCL_E_INVALID_ARGUMENTOne or more arguments passed into the method or function are invalid.
0x00010001WCL_E_OUT_OF_MEMORYOut of system memory.
0x00010002WCL_E_THREAD_RUNNINGThe thread is already running.
0x00010003WCL_E_UNABLE_CREATE_THREAD_INIT_EVENTUnable to create thread initialization event.
0x00010004WCL_E_UNABLE_CREATE_THREADUnable to create thread.
0x00010005WCL_E_THREAD_NOT_RUNNINGThe thread is not running.
0x00010006WCL_E_THREAD_SIGNAL_FAILEDUnable to post signal to the thread.
0x00010007WCL_E_THREAD_MESSAGE_REGISTRATION_FAILEDUnable to register thread message.
0x00010008WCL_E_THREAD_WINDOW_CREATION_FAILEDUnable to create thread window.
0x00010009WCL_E_THREAD_INITIALIZATION_FAILEDThread user initialization failed.
Message recevier error codes
0x00011000WCL_E_MR_BASEThe base error code for the message receiver.
0x00011000WCL_E_MR_CLOSEDA message receiver has already been closed or not opened.
0x00011001WCL_E_MR_OPENEDA message receiver has already been opened.
0x00011002WCL_E_MR_NOT_OPENEDA message receiver was not opened yet.
0x00011003WCL_E_MR_UNABLE_SYNCHRONIZEA message receiver can not synchronize threads and notify a "main" thread about new received message.
0x00011004WCL_E_MR_UNABLE_REGISTER_SYNC_OBJA message receiver can not register for threads synchronization.
0x00011005WCL_E_MR_UNABLE_CREATE_SYNC_OBJA message receiver can not create a thread synchronization object.
0x00011006WCL_E_MR_SYNC_OBJ_NOT_CREATEDA thread synchronization object has not been created.
Message broadcaster error codes
0x00012000WCL_E_MB_BASEThe base error code for the message broadcaster.
0x00012000WCL_E_MB_RECEIVER_ALREADY_SUBSCRIBEDA message receiver has already been subscribed.
0x00012001WCL_E_MB_RECEIVER_NOT_SUBSCRIBEDA message receiver has not been subscribed.
0x00012002WCL_E_MB_CAN_NOT_INIT_HW_THREADThe message broadcaster can not initialize the hardware monitoring thread.
0x00012003WCL_E_MB_CAN_NOT_START_HW_THREADThe message broadcaster can not start the hardware monitoring thread.
0x00012004WCL_E_MB_UNABLE_CREATE_HW_OBJThe message broadcaster can not create the hardware monitoring object.
0x00012005WCL_E_MB_UNABLE_REGISTER_HW_NOTIFYThe message broadcaster can not register for hardware changes notifications.
0x00012006WCL_E_MB_UNABLE_CREATE_MUTEXThe message broadcaster can not create a mutex synchronization object.
0x00012007WCL_E_MB_NOT_CREATEDThe message broadcaster was not created.
0x00012008WCL_E_MB_REF_COUNT_ERRORThere is the error with the references counter.
WinRT subsystem error codes
0x00013000WCL_E_WINRT_BASEThe base WinRT subsystem error code.
0x00013000WCL_E_WINRT_UNABLE_CREATE_MUTEXUnable to create synchronization mutex for WinRT control.
0x00013001WCL_E_WINRT_UNABLE_LOAD_CORE_DLLUnable to load WinRT core DLL.
0x00013002WCL_E_WINRT_UNABLE_LOAD_STRING_DLLUnable to load WinRT string DLL.
0x00013003WCL_E_WINRT_INIT_FAILEDWinRT initialization failed.
0x00013004WCL_E_WINRT_UNABLE_CREATE_STRINGUnable to create string.
0x00013005WCL_E_WINRT_UNABLE_ACTIVATE_INSTANCEUnable to active instance of the required class.
0x00013006WCL_E_WINRT_UNABLE_CREATE_INTERFACEUnable to create interface of the required class.

WiFi Framework Error Codes

ValueConstantDescription
WLAN subsystem error codes
0x00020000WCL_E_WLAN_BASEThe base error code for the WLAN subsystem.
0x00020000WCL_E_WLAN_UNABLE_LOADUnable to load the WiFi subsystem.
0x00020001WCL_E_WLAN_NOT_LOADEDThe WiFi subsystem was not loaded.
0x00020002WCL_E_WLAN_UNABLE_CREATE_MUTEXThe WiFi subsystem can not create synchronization mutex object.
Common WiFi framework error codes
0x00021000WCL_E_WIFI_BASEThe base error code for the WiFi framework.
0x00021000WCL_E_WIFI_OPENEDA WiFi is already opened.
0x00021001WCL_E_WIFI_CLOSEDA WiFi is already closed.
0x00021002WCL_E_WIFI_NOT_ACTIVEA WiFi was not opened (is not active).
0x00021003WCL_E_WIFI_FUNCTION_NOT_FOUNDA calling function was not found in WLAN API.
0x00021004WCL_E_WIFI_ACCESS_DENIEDThe caller does not have sufficient permissions.
0x00021005WCL_E_WIFI_INVALID_CLIENT_HANDLEAn invalid WLAN client handle used.
0x00021006WCL_E_WIFI_NOT_ENOUGH_MEMORYWLAN API can not allocate memory to execute an requested operation.
0x00021007WCL_E_WIFI_NOT_SUPPORTEDThe required operation is not supported by the WiFi subsystem.
0x00021008WCL_E_WIFI_UNEXPECTEDAn unexpected exception was raised during WLAN API call.
0x00021009WCL_E_WIFI_INVALID_ARGUMENTOne or more arguments passed into the WLAN API are invalid.
0x0002100AWCL_E_WIFI_NOT_AVAILABLEThe WiFi hardware or driver was not found.
0x0002100BWCL_E_WIFI_TOO_MANY_SESSIONSToo many sessions to WLAN subsystem are opened.
0x0002100CWCL_E_WIFI_INVALID_STATEThe resource is not in the correct state to perform the requested operation. This error is returned if the wireless Hosted Network is disabled by group policy on a domain.
0x0002100DWCL_E_WIFI_RADIO_OFFThe radio associated with the interface is turned off. There are no available networks when the radio is off.
0x0002100EWCL_E_WIFI_RPC_SUBSYSTEMInternal WLAN driver error.
0x0002100FWCL_E_WIFI_PHY_NOT_FOUNDThe PHY with given index was not found.
0x00021010WCL_E_WIFI_BAD_CONFIGURATIONThe configuration data for the wireless Hosted Network is unconfigured. This error is returned if the application queries the Hosted Network Profile or Hosted Network Connection Settings before a SSID is configured in the wireless Hosted Network.
0x00021011WCL_E_WIFI_NOT_FOUNDThe wireless profile specified by was not found in the profile store.
0x00021012WCL_E_WIFI_ALREADY_EXISTSThe WLAN profile already exists. Typically, this return value is used when Overwrite is False; however, if Overwrite is True and Flags specifies a different profile type than the one used by the existing profile, then the existing profile will not be overwritten and WCL_E_WIFI_ALREADY_EXISTS will be returned.
0x00021013WCL_E_WIFI_BAD_PROFILEThe profile is not valid.
0x00021014WCL_E_WIFI_NO_MATCHThe interface does not support one or more of the capabilities specified in the profile. For example, if a profile specifies the use of WPA2 when the NIC only supports WPA, then this error code is returned. Also, if a profile specifies the use of FIPS mode when the NIC does not support FIPS mode, then this error code is returned.
0x00021015WCL_E_WIFI_DATA_NOT_FOUNDThis error is returned if no user custom data exists for the profile specified.
WiFi subsystem reason codes
0x00022000WCL_E_WIFI_RES_BASEThe base code for the WiFi subsystem reasons.
0x00022000WCL_E_WIFI_RES_UNKNOWNThe reason for failure is unknown.
0x00022001WCL_E_WIFI_RES_NETWORK_NOT_COMPATIBLEThe wireless network is not compatible.
0x00022002WCL_E_WIFI_RES_PROFILE_NOT_COMPATIBLEThe wireless network profile is not compatible.
0x00022003WCL_E_WIFI_RES_NO_AUTO_CONNECTIONThe profile specifies no auto connection.
0x00022004WCL_E_WIFI_RES_NOT_VISIBLEThe wireless network is not visible.
0x00022005WCL_E_WIFI_RES_GP_DENIEDThe wireless network is blocked by group policy.
0x00022006WCL_E_WIFI_RES_USER_DENIEDThe wireless network is blocked by the user.
0x00022007WCL_E_WIFI_RES_BSS_TYPE_NOT_ALLOWEDThe basic service set (BSS) type is not allowed on this wireless adapter.
0x00022008WCL_E_WIFI_RES_IN_FAILED_LISTThe wireless network is in the failed list.
0x00022009WCL_E_WIFI_RES_IN_BLOCKED_LISTThe wireless network is in the blocked list.
0x0002200AWCL_E_WIFI_RES_SSID_LIST_TOO_LONGThe size of the service set identifiers (SSID) list exceeds the maximum size supported by the adapter.
0x0002200BWCL_E_WIFI_RES_CONNECT_CALL_FAILThe Media Specific Module (MSM) connect call fails.
0x0002200CWCL_E_WIFI_RES_SCAN_CALL_FAILThe MSM scan call fails.
0x0002200DWCL_E_WIFI_RES_NETWORK_NOT_AVAILABLEThe specified network is not available.
This reason code is also used when there is a mismatch between capabilities specified in an XML profile and interface and/or network capabilities. For example, if a profile specifies the use of WPA2 when the NIC only supports WPA, then this error code is returned. Also, if a profile specifies the use of FIPS mode when the NIC does not support FIPS mode, then this error code is returned.
0x0002200EWCL_E_WIFI_RES_PROFILE_CHANGED_OR_DELETEDThe profile was changed or deleted before the connection was established.
0x0002200FWCL_E_WIFI_RES_KEY_MISMATCHThe profile key does not match the network key.
0x00022010WCL_E_WIFI_RES_USER_NOT_RESPONDThe user is not responding.
0x00022011WCL_E_WIFI_RES_AP_PROFILE_NOT_ALLOWED_FOR_CLIENTAn application tried to apply a wireless Hosted Network profile to a physical wireless network adapter using the WlanSetProfile function, rather than to a virtual device.
0x00022012WCL_E_WIFI_RES_AP_PROFILE_NOT_ALLOWEDAn application tried to apply a wireless Hosted Network profile to a physical wireless network adapter using the SetProfile method, rather than to a virtual device.
0x00022013WCL_E_WIFI_RES_INVALID_PROFILE_SCHEMAThe profile invalid according to the schema.
0x00022014WCL_E_WIFI_RES_PROFILE_MISSINGThe WLANProfile element is missing.
0x00022015WCL_E_WIFI_RES_INVALID_PROFILE_NAMEThe name of the profile is invalid.
0x00022016WCL_E_WIFI_RES_INVALID_PROFILE_TYPEThe type of the profile is invalid.
0x00022017WCL_E_WIFI_RES_INVALID_PHY_TYPEThe PHY type is invalid.
0x00022018WCL_E_WIFI_RES_MSM_SECURITY_MISSINGThe MSM security settings are missing.
0x00022019WCL_E_WIFI_RES_IHV_SECURITY_NOT_SUPPORTEDThe independent hardware vendor (IHV) security settings are missing.
0x0002201AWCL_E_WIFI_RES_IHV_OUI_MISMATCHThe IHV profile OUI did not match with the adapter OUI.
0x0002201BWCL_E_WIFI_RES_IHV_OUI_MISSINGThe IHV OUI settings are missing.
0x0002201CWCL_E_WIFI_RES_IHV_SETTINGS_MISSINGThe IHV security settings are missing.
0x0002201DWCL_E_WIFI_RES_IHV_CONNECTIVITY_NOT_SUPPORTEDAn application tried to apply an IHV profile on an adapter that does not support IHV connectivity settings.
0x0002201EWCL_E_WIFI_RES_CONFLICT_SECURITYThe security settings conflict.
0x0002201FWCL_E_WIFI_RES_SECURITY_MISSINGThe security settings are missing.
0x00022020WCL_E_WIFI_RES_INVALID_BSS_TYPEThe BSS type is not valid.
0x00022021WCL_E_WIFI_RES_INVALID_ADHOC_CONNECTION_MODEAutomatic connection cannot be set for an ad hoc network.
0x00022022WCL_E_WIFI_RES_NON_BROADCAST_SET_FOR_ADHOCNon-broadcast cannot be set for an ad hoc network.
0x00022023WCL_E_WIFI_RES_AUTO_SWITCH_SET_FOR_ADHOCAuto-switch cannot be set for an ad hoc network.
0x00022024WCL_E_WIFI_RES_AUTO_SWITCH_SET_FOR_MANUAL_CONNECTIONAuto-switch cannot be set for a manual connection profile.
0x00022025WCL_E_WIFI_RES_IHV_SECURITY_ONEX_MISSINGThe IHV 802.1X security settings are missing.
0x00022026WCL_E_WIFI_RES_PROFILE_SSID_INVALIDThe SSID in the profile is invalid or missing.
0x00022027WCL_E_WIFI_RES_TOO_MANY_SSIDToo many SSIDs were specified in the profile.
0x00022028WCL_E_WIFI_RES_BAD_MAX_NUMBER_OF_CLIENTS_FOR_APAn application tried to apply a wireless Hosted Network profile to a physical network adapter NIC using the SetProfile method, and specified an unacceptable value for the maximum number of clients allowed.
0x00022029WCL_E_WIFI_RES_INVALID_CHANNELThe channel specified is invalid.
0x0002202AWCL_E_WIFI_RES_OPERATION_MODE_NOT_SUPPORTEDThe operation mode is not supported.
0x0002202BWCL_E_WIFI_RES_AUTO_AP_PROFILE_NOT_ALLOWEDAn internal operating system error occurred with the wireless Hosted Network.
0x0002202CWCL_E_WIFI_RES_AUTO_CONNECTION_NOT_ALLOWEDAn internal operating system error occurred with the wireless Hosted Network.
0x0002202DWCL_E_WIFI_RES_UNSUPPORTED_SECURITY_SET_BY_OSThe security settings are not supported by the operating system.
0x0002202EWCL_E_WIFI_RES_UNSUPPORTED_SECURITY_SETThe security settings are not supported.
0x0002202FWCL_E_WIFI_RES_BSS_TYPE_UNMATCHThe BSS type does not match.
0x00022030WCL_E_WIFI_RES_PHY_TYPE_UNMATCHThe PHY type does not match.
0x00022031WCL_E_WIFI_RES_DATARATE_UNMATCHThe data rate does not match.
0x00022032WCL_E_WIFI_RES_USER_CANCELLEDUser has canceled the operation.
0x00022033WCL_E_WIFI_RES_ASSOCIATION_FAILUREDriver disconnected while associating.
0x00022034WCL_E_WIFI_RES_ASSOCIATION_TIMEOUTAssociation timed out.
0x00022035WCL_E_WIFI_RES_PRE_SECURITY_FAILUREPre-association security failure.
0x00022036WCL_E_WIFI_RES_START_SECURITY_FAILUREFailed to start security after association.
0x00022037WCL_E_WIFI_RES_SECURITY_FAILURESecurity ends up with failure.
0x00022038WCL_E_WIFI_RES_SECURITY_TIMEOUTSecurity operation times out.
0x00022039WCL_E_WIFI_RES_ROAMING_FAILUREDriver disconnected while roaming.
0x0002203AWCL_E_WIFI_RES_ROAMING_SECURITY_FAILUREFailed to start security for roaming.
0x0002203BWCL_E_WIFI_RES_ADHOC_SECURITY_FAILUREFailed to start security for ad hoc peer.
0x0002203CWCL_E_WIFI_RES_DRIVER_DISCONNECTEDDriver disconnected.
0x0002203DWCL_E_WIFI_RES_DRIVER_OPERATION_FAILUREDriver failed to perform some operations.
0x0002203EWCL_E_WIFI_RES_IHV_NOT_AVAILABLEThe IHV service is not available.
0x0002203FWCL_E_WIFI_RES_IHV_NOT_RESPONDINGThe response from the IHV service timed out.
0x00022040WCL_E_WIFI_RES_DISCONNECT_TIMEOUTTimed out waiting for the driver to disconnect.
0x00022041WCL_E_WIFI_RES_INTERNAL_FAILUREAn internal error prevented the operation from being completed.
0x00022042WCL_E_WIFI_RES_UI_REQUEST_TIMEOUTA user interaction request timed out.
0x00022043WCL_E_WIFI_RES_TOO_MANY_SECURITY_ATTEMPTSRoaming too often. Post security was not completed after 5 attempts.
0x00022044WCL_E_WIFI_RES_AP_STARTING_FAILUREAn internal operating system error occurred that resulted in a failure to start the wireless Hosted Network.
0x00022045WCL_E_WIFI_RES_MSMSEC_PROFILE_INVALID_KEY_INDEXKey index specified is not valid.
0x00022046WCL_E_WIFI_RES_MSMSEC_PROFILE_PSK_PRESENTKey required, PSK present.
0x00022047WCL_E_WIFI_RES_MSMSEC_PROFILE_KEY_LENGTHInvalid key length.
0x00022048WCL_E_WIFI_RES_MSMSEC_PROFILE_PSK_LENGTHInvalid PSK length.
0x00022049WCL_E_WIFI_RES_MSMSEC_PROFILE_NO_AUTH_CIPHER_SPECIFIEDNo auth/cipher pairs specified.
0x0002204AWCL_E_WIFI_RES_MSMSEC_PROFILE_TOO_MANY_AUTH_CIPHER_SPECIFIEDToo many auth/cipher pairs specified.
0x0002204BWCL_E_WIFI_RES_MSMSEC_PROFILE_DUPLICATE_AUTH_CIPHERProfile contains duplicate auth/cipher pair.
0x0002204CWCL_E_WIFI_RES_MSMSEC_PROFILE_RAWDATA_INVALIDProfile raw data is invalid.
0x0002204DWCL_E_WIFI_RES_MSMSEC_PROFILE_INVALID_AUTH_CIPHERInvalid auth/cipher combination.
0x0002204EWCL_E_WIFI_RES_MSMSEC_PROFILE_ONEX_DISABLED802.1X disabled when it is required to be enabled.
0x0002204FWCL_E_WIFI_RES_MSMSEC_PROFILE_ONEX_ENABLED802.1X enabled when it is required to be disabled.
0x00022050WCL_E_WIFI_RES_MSMSEC_PROFILE_INVALID_PMKCACHE_MODEInvalid PMK cache mode.
0x00022051WCL_E_WIFI_RES_MSMSEC_PROFILE_INVALID_PMKCACHE_SIZEInvalid PMK cache size.
0x00022052WCL_E_WIFI_RES_MSMSEC_PROFILE_INVALID_PMKCACHE_TTLInvalid PMK cache TTL.
0x00022053WCL_E_WIFI_RES_MSMSEC_PROFILE_INVALID_PREAUTH_MODEInvalid preauth mode.
0x00022054WCL_E_WIFI_RES_MSMSEC_PROFILE_INVALID_PREAUTH_THROTTLEInvalid preauth throttle.
0x00022055WCL_E_WIFI_RES_MSMSEC_PROFILE_PREAUTH_ONLY_ENABLEDPreauth enabled when PMK cache is disabled.
0x00022056WCL_E_WIFI_RES_MSMSEC_CAPABILITY_NETWORKCapability matching failed at network.
0x00022057WCL_E_WIFI_RES_MSMSEC_CAPABILITY_NICCapability matching failed at NIC.
0x00022058WCL_E_WIFI_RES_MSMSEC_CAPABILITY_PROFILECapability matching failed at profile.
0x00022059WCL_E_WIFI_RES_MSMSEC_CAPABILITY_DISCOVERYNetwork does not support specified capability type.
0x0002205AWCL_E_WIFI_RES_MSMSEC_PROFILE_PASSPHRASE_CHARPassphrase contains invalid character.
0x0002205BWCL_E_WIFI_RES_MSMSEC_PROFILE_KEYMATERIAL_CHARKey material contains invalid character.
0x0002205CWCL_E_WIFI_RES_MSMSEC_PROFILE_WRONG_KEYTYPEThe key type specified does not match the key material.
0x0002205DWCL_E_WIFI_RES_MSMSEC_MIXED_CELLA mixed cell is suspected. The AP is not signaling that it is compatible with a privacy-enabled profile.
0x0002205EWCL_E_WIFI_RES_MSMSEC_PROFILE_AUTH_TIMERS_INVALIDThe number of authentication timers or the number of timeouts specified in the profile is invalid.
0x0002205FWCL_E_WIFI_RES_MSMSEC_PROFILE_INVALID_GKEY_INTVThe group key update interval specified in the profile is invalid.
0x00022060WCL_E_WIFI_RES_MSMSEC_TRANSITION_NETWORKA "transition network" is suspected. Legacy 802.11 security is used for the next authentication attempt.
0x00022061WCL_E_WIFI_RES_MSMSEC_PROFILE_KEY_UNMAPPED_CHARThe key contains characters that are not in the ASCII character set.
0x00022062WCL_E_WIFI_RES_MSMSEC_CAPABILITY_PROFILE_AUTHCapability matching failed because the network does not support the authentication method in the profile.
0x00022063WCL_E_WIFI_RES_MSMSEC_CAPABILITY_PROFILE_CIPHERCapability matching failed because the network does not support the cipher algorithm in the profile.
0x00022064WCL_E_WIFI_RES_MSMSEC_PROFILE_SAFE_MODEFIPS 140-2 mode value in the profile is invalid.
0x00022065WCL_E_WIFI_RES_MSMSEC_CAPABILITY_PROFILE_SAFE_MODE_NICProfile requires FIPS 140-2 mode, which is not supported by network interface card (NIC).
0x00022066WCL_E_WIFI_RES_MSMSEC_CAPABILITY_PROFILE_SAFE_MODE_NWProfile requires FIPS 140-2 mode, which is not supported by network.
0x00022067WCL_E_WIFI_RES_MSMSEC_PROFILE_UNSUPPORTED_AUTHProfile specifies an unsupported authentication, mechanism.
0x00022068WCL_E_WIFI_RES_MSMSEC_PROFILE_UNSUPPORTED_CIPHERProfile specifies an unsupported cipher.
0x00022069WCL_E_WIFI_RES_MSMSEC_UI_REQUEST_FAILUREFailed to queue the user interface request.
0x0002206AWCL_E_WIFI_RES_MSMSEC_CAPABILITY_MFP_NW_NICThe wireless LAN requires Management Frame Protection (MFP) and the network interface does not suppport MFP. For more informarion, see the IEEE 802.11w amendment to the 802.11 standard.
0x0002206BWCL_E_WIFI_RES_MSMSEC_AUTH_START_TIMEOUT802.1X authentication did not start within configured time.
0x0002206CWCL_E_WIFI_RES_MSMSEC_AUTH_SUCCESS_TIMEOUT802.1X authentication did not complete within configured time.
0x0002206DWCL_E_WIFI_RES_MSMSEC_KEY_START_TIMEOUTDynamic key exchange did not start within configured time.
0x0002206EWCL_E_WIFI_RES_MSMSEC_KEY_SUCCESS_TIMEOUTDynamic key exchange did not complete within configured time.
0x0002206FWCL_E_WIFI_RES_MSMSEC_M3_MISSING_KEY_DATAMessage 3 of 4-way handshake has no key data.
0x00022070WCL_E_WIFI_RES_MSMSEC_M3_MISSING_IEMessage 3 of 4-way handshake has no IE.
0x00022071WCL_E_WIFI_RES_MSMSEC_M3_MISSING_GRP_KEYMessage 3 of 4-way handshake has no GRP key.
0x00022072WCL_E_WIFI_RES_MSMSEC_PR_IE_MATCHINGMatching security capabilities of IE in M3 failed.
0x00022073WCL_E_WIFI_RES_MSMSEC_SEC_IE_MATCHINGMatching security capabilities of secondary IE in M3 failed.
0x00022074WCL_E_WIFI_RES_MSMSEC_NO_PAIRWISE_KEYRequired a pairwise key but access point (AP) configured only group keys.
0x00022075WCL_E_WIFI_RES_MSMSEC_G1_MISSING_KEY_DATAMessage 1 of group key handshake has no key data.
0x00022076WCL_E_WIFI_RES_MSMSEC_G1_MISSING_GRP_KEYMessage 1 of group key handshake has no group key.
0x00022077WCL_E_WIFI_RES_MSMSEC_PEER_INDICATED_INSECUREAP reset secure bit after connection was secured.
0x00022078WCL_E_WIFI_RES_MSMSEC_NO_AUTHENTICATOR802.1X indicated that there is no authenticator, but the profile requires one.
0x00022079WCL_E_WIFI_RES_MSMSEC_NIC_FAILUREPlumbing settings to NIC failed.
0x0002207AWCL_E_WIFI_RES_MSMSEC_CANCELLEDOperation was canceled by a caller.
0x0002207BWCL_E_WIFI_RES_MSMSEC_KEY_FORMATEntered key format is not in a valid format.
0x0002207CWCL_E_WIFI_RES_MSMSEC_DOWNGRADE_DETECTEDA security downgrade was detected.
0x0002207DWCL_E_WIFI_RES_MSMSEC_PSK_MISMATCH_SUSPECTEDA PSK mismatch is suspected.
0x0002207EWCL_E_WIFI_RES_MSMSEC_FORCED_FAILUREThere was a forced failure because the connection method was not secure.
0x0002207FWCL_E_WIFI_RES_MSMSEC_M3_TOO_MANY_RSNIEMessage 3 of 4 way handshake contains too many RSN IE (RSN).
0x00022080WCL_E_WIFI_RES_MSMSEC_M2_MISSING_KEY_DATAMessage 2 of 4 way handshake has no key data (RSN Adhoc).
0x00022081WCL_E_WIFI_RES_MSMSEC_M2_MISSING_IEMessage 2 of 4 way handshake has no IE (RSN Adhoc).
0x00022082WCL_E_WIFI_RES_MSMSEC_AUTH_WCN_COMPLETEDA MSM authentication WCN completed.
0x00022083WCL_E_WIFI_RES_MSMSEC_M3_MISSING_MGMT_GRP_KEYMessage 3 of 4 way handshake has no Mgmt Group Key (RSN).
0x00022084WCL_E_WIFI_RES_MSMSEC_G1_MISSING_MGMT_GRP_KEYMessage 1 of group key handshake has no group management key.
0x00022085WCL_E_WIFI_RES_ONEX_UNABLE_TO_IDENTIFY_USERNo user is available for 802.1X authentication. This error can occur when machine authentication is disabled and no user is logged on to the machine.
0x00022086WCL_E_WIFI_RES_ONEX_IDENTITY_NOT_FOUNDThe 802.1X identity could not be found.
0x00022087WCL_E_WIFI_RES_ONEX_UI_DISABLEDAuthentication could only be completed through the user interface and this interface could not be displayed.
0x00022088WCL_E_WIFI_RES_ONEX_EAP_FAILURE_RECEIVEDThe EAP authentication failed.
0x00022089WCL_E_WIFI_RES_ONEX_AUTHENTICATOR_NO_LONGER_PRESENTThe 802.1X authenticator went away from the network.
0x0002208AWCL_E_WIFI_RES_ONEX_PROFILE_VERSION_NOT_SUPPORTEDThe version of the OneX profile supplied is not supported.
0x0002208BWCL_E_WIFI_RES_ONEX_PROFILE_INVALID_LENGTHThe OneX profile has an invalid length.
0x0002208CWCL_E_WIFI_RES_ONEX_PROFILE_DISALLOWED_EAP_TYPEThe EAP type specified in the OneX profile(possibly supplied by the EAPType element) is not allowed.
0x0002208DWCL_E_WIFI_RES_ONEX_PROFILE_INVALID_EAP_TYPE_OR_FLAGThe EAP Type specified in the OneX profile (possibly supplied by the EAPType element) is invalid, or one of the EAP flags (possibly supplied in the EAPConfig element) is invalid.
0x0002208EWCL_E_WIFI_RES_ONEX_PROFILE_INVALID_ONEX_FLAGSThe supplicant flags (possibly supplied in the EAPConfig element) in the OneX profile are invalid.
0x0002208FWCL_E_WIFI_RES_ONEX_PROFILE_INVALID_TIMER_VALUEA timer specified in the OneX profile (possibly supplied by the heldPeriod, authPeriod, or startPeriod element) is invalid.
0x00022090WCL_E_WIFI_RES_ONEX_PROFILE_INVALID_SUPPLICANT_MODEThe supplicant mode specified in the OneX profile (possibly supplied by the supplicantMode element) is invalid.
0x00022091WCL_E_WIFI_RES_ONEX_PROFILE_INVALID_AUTH_MODEThe authentication mode specified in the OneX profile (possibly supplied by the authMode element) is invalid.
0x00022092WCL_E_WIFI_RES_ONEX_PROFILE_INVALID_EAP_CONNECTION_PROPERTIESThe connection properties specified in the OneX profile (possibly supplied by the EAPConfig element) are invalid.
0x00022093WCL_E_WIFI_RES_UNDEFINEDThe undefined reason code.
WiFi 802.1X authentication restart reasons
0x00023000WCL_E_WIFI_ONEX_RES_BASEThe base code for the 802.1x authentication reasons.
0x00023000WCL_E_WIFI_ONEX_RES_PEER_INITIATEDThe EAPHost component (the peer) requested the 802.1x module to restart 802.1X authentication. This results from a EapHostPeerProcessReceivedPacket function call that returns an EapHostPeerResponseAction enumeration value of EapHostPeerResponseStartAuthentication in the pEapOutput parameter.
0x00023001WCL_E_WIFI_ONEX_RES_MSM_INITIATEDThe Media Specific Module (MSM) initiated the 802.1X authentication restart.
0x00023002WCL_E_WIFI_ONEX_RES_HELD_STATE_TIMEOUTThe 802.1X authentication restart was the result of a state timeout. The timer expiring is the heldWhile timer of the 802.1X supplicant state machine defined in IEEE 802.1X - 2004 standard for Port-Based Network Access Control. The heldWhile timer is used by the supplicant state machine to define periods of time during which it will not attempt to acquire an authenticator.
0x00023003WCL_E_WIFI_ONEX_RES_AUTH_TIMEOUTThe 802.1X authentication restart was the result of an state timeout. The timer expiring is the authWhile timer of the 802.1X supplicant port access entity defined in IEEE 802.1X - 2004 standard for Port-Based Network Access Control. The authWhile timer is used by the supplicant port access entity to determine how long to wait for a request from the authenticator before timing it out.
0x00023004WCL_E_WIFI_ONEX_RES_CONFIGURATION_CHANGEDThe 802.1X authentication restart was the result of a configuration change to the current profile.
0x00023005WCL_E_WIFI_ONEX_RES_USER_CHANGEDThe 802.1X authentication restart was the result of a change of user. This could occur if the current user logs off and new user logs on to the local computer.
0x00023006WCL_E_WIFI_ONEX_RES_QUARANTINE_STATE_CHANGEDThe 802.1X authentication restart was the result of receiving a notification from the EAP quarantine enforcement client (QEC) due to a network health change. If an EAPHost supplicant is participating in network access protection (NAP), the supplicant will respond to changes in the state of its network health. If that state changes, the supplicant must then initiate a re-authentication session.
0x00023007WCL_E_WIFI_ONEX_RES_ALT_CREDS_TRIALThe 802.1X authentication restart was caused by a new authentication attempt with alternate user credentials. EAP methods like MSCHAPv2 prefer to use logged-on user credentials for 802.1X authentication. If these user credentials do not work, then a dialog will be displayed to the user that asks permission to use alternate credentials for 802.1X authentication.
0x00023008WCL_E_WIFI_ONEX_RES_INVALIDUnknown reason.
WiFi hosted network reason codes
0x00024000WCL_E_WIFI_HN_RES_BASEThe base code for the hosted network reasons.
0x00024000WCL_E_WIFI_HN_RES_UNSPECIFIEDUnknown error.
0x00024001WCL_E_WIFI_HN_RES_BAD_PARAMETERBad parameters.
0x00024002WCL_E_WIFI_HN_RES_SERVICE_SHUTTING_DOWNService is shutting down.
0x00024003WCL_E_WIFI_HN_RES_INSUFFICIENT_RESOURCESService is out of resources.
0x00024004WCL_E_WIFI_HN_RES_ELEVATION_REQUIREDThis operation requires elevation.
0x00024005WCL_E_WIFI_HN_RES_READ_ONLYAn attempt was made to write read-only data.
0x00024006WCL_E_WIFI_HN_RES_PERSISTENCE_FAILEDData persistence failed.
0x00024007WCL_E_WIFI_HN_RES_CRYPT_ERRORA cryptographic error occurred.
0x00024008WCL_E_WIFI_HN_RES_IMPERSONATIONUser impersonation failed.
0x00024009WCL_E_WIFI_HN_RES_STOP_BEFORE_STARTAn incorrect function call sequence was made.
0x0002400AWCL_E_WIFI_HN_RES_INTERFACE_AVAILABLEA wireless interface has become available.
0x0002400BWCL_E_WIFI_HN_RES_INTERFACE_UNAVAILABLEA wireless interface has become unavailable.
This reason code is returned by the wireless Hosted Network functions any time the network state of the wireless Hosted Network is hnUnavailable. For example if the wireless Hosted Network is disabled by group policy on a domain, then the network state of the wireless Hosted Network is hnUnavailable.
0x0002400CWCL_E_WIFI_HN_RES_MINIPORT_STOPPEDThe wireless miniport driver stopped the Hosted Network.
0x0002400DWCL_E_WIFI_HN_RES_MINIPORT_STARTEDThe wireless miniport driver status changed.
0x0002400EWCL_E_WIFI_HN_RES_INCOMPATIBLE_CONNECTION_STARTEDAn incompatible connection started.

An incompatible connection refers to one of the following cases:
  • An ad hoc wireless connection is started on the primary station adapter.
  • Network monitoring is started on the primary station adapter by an application (Network Monitor, for example).
  • A wireless connection is started in FIPS safe mode on the primary station adapter. FIPS safe mode is specified in the profile of the wireless connection.
Windows will stop the wireless Hosted Network on the software-based wireless access point (AP) adapter when an incompatible connection starts on the primary station adapter. The network state of the wireless Hosted Network state would become hnUnavailable.
0x0002400FWCL_E_WIFI_HN_RES_INCOMPATIBLE_CONNECTION_STOPPEDAn incompatible connection stopped.
An incompatible connection previously started on the primary station adapter (see WCL_E_WIFI_HN_RES_INCOMPATIBLE_CONNECTION_STARTED), but the incompatible connection has stopped. If the wireless Hosted Network was previously stopped as a result of an incompatible connection being started, Windows will not automatically restart the wireless Hosted Network.
0x00024010WCL_E_WIFI_HN_RES_USER_ACTIONA state change occurred that was caused by explicit user action.
0x00024011WCL_E_WIFI_HN_RES_CLIENT_ABORTA state change occurred that was caused by client abort.
0x00024012WCL_E_WIFI_HN_RES_AP_START_FAILEDThe driver for the wireless Hosted Network failed to start.
0x00024013WCL_E_WIFI_HN_RES_PEER_ARRIVEDA peer connected to the wireless Hosted Network.
0x00024014WCL_E_WIFI_HN_RES_PEER_DEPARTEDA peer disconnected from the wireless Hosted Network.
0x00024015WCL_E_WIFI_HN_RES_PEER_TIMEOUTA peer timed out.
0x00024016WCL_E_WIFI_HN_RES_GP_DENIEDThe operation was denied by group policy.
0x00024017WCL_E_WIFI_HN_RES_SERVICE_UNAVAILABLEThe Wireless LAN service is not running.
0x00024018WCL_E_WIFI_HN_RES_DEVICE_CHANGEThe wireless adapter used by the wireless Hosted Network changed.
0x00024019WCL_E_WIFI_HN_RES_PROPERTIES_CHANGEThe properties of the wireless Hosted Network changed.
0x0002401AWCL_E_WIFI_HN_RES_VIRTUAL_STATION_BLOCKING_USEA virtual station is active and blocking operation.
0x0002401BWCL_E_WIFI_HN_RES_SERVICE_AVAILABLE_ON_VIRTUAL_STATIONAn identical service is available on a virtual station.
Network List Manager error codes
0x00025000WCL_E_NLM_BASEThe base Network List Manager error code.
0x00025000WCL_E_NLM_CLOSEDThe Network List Manager is closed.
0x00025001WCL_E_NLM_OPENEDThe Network List Manager is opened.
0x00025002WCL_E_NLM_COINITIALIZE_FAILEDUnable to initialize COM subsystem.
0x00025003WCL_E_NLM_UNSUPPORTEDThe Network List Manager is not supported on this platform.
0x00025004WCL_E_NLM_EVENTS_HANDLER_SETThe Network List Manager events handler is already set.
0x00025005WCL_E_NLM_EVENTS_HANDLER_NOT_SETThe Network List Manager events handler was not set.
0x00025006WCL_E_NLM_UNABLE_FIND_CONNECTION_POINTS_CONTAINERUnable to find the Network List Manager events handler connection points container.
0x00025007WCL_E_NLM_UNABLE_FIND_CONNECTION_POINTUnable to find the Network List Manager events handler connection point.
0x00025008WCL_E_NLM_NE_UNABLE_FIND_CONNECTION_POINTS_CONTAINERUnable to find the Network events handler connection points container.
0x00025009WCL_E_NLM_NE_UNABLE_FIND_CONNECTION_POINTUnable to find the Network events handler connection point.
0x0002500AWCL_E_NLM_NETWORK_NOT_FOUNDThe network with given ID was not found.
0x0002500BWCL_E_NLM_UNABLE_GET_CONNECTIVITYUnable to get a network's or machine's connectivity.
0x0002500CWCL_E_NLM_UNABLE_GET_CONNECTED_PROPERTYUnable to read Connected property of the Network List Manager or Network.
0x0002500DWCL_E_NLM_UNABLE_GET_DOMAIN_TYPEUnable to get a network's domain type.
0x0002500EWCL_E_NLM_UNABLE_GET_NETWORK_CATEGORYUnable to get a network's categiry.
0x0002500FWCL_E_NLM_UNABLE_GET_NETWORK_DESCRIPTIONUnable to get a network's description.
0x00025010WCL_E_NLM_UNABLE_GET_NETWORK_NAMEUnable to get a network's name.
0x00025011WCL_E_NLM_UNABLE_GET_NETWORK_IDUnable to get a network's ID.
0x00025012WCL_E_NLM_UNABLE_GET_NETWORK_CREATED_AND_CONNECTED_DATE_TIMEUnable to get a network's creation and connection date and time.
0x00025013WCL_E_NLM_UNABLE_GET_CONNECTION_ADAPTER_IDUnable to get a connection's adapter ID.
0x00025014WCL_E_NLM_UNABLE_GET_CONNECTION_IDUnable to read a connection's ID.
0x00025015WCL_E_NLM_UNABLE_SET_NETWORK_CATEGORYUnable to set a network's categiry.
0x00025016WCL_E_NLM_UNABLE_SET_NETWORK_DESCRIPTIONUnable to set a network's description.
0x00025017WCL_E_NLM_UNABLE_SET_NETWORK_NAMEUnable to set a network's name.
0x00025018WCL_E_NLM_UNABLE_ENUMERATE_NETWORKSUnable to enumerate available networks.
0x00025019WCL_E_NLM_NETWORKS_NOT_FOUNDNetworks with required type were not found.
0x0002501AWCL_E_NLM_CONNECTIONS_NOT_FOUNDConnections were not found.
0x0002501BWCL_E_NLM_UNABLE_ENUMERATE_CONNECTIONSUnable to enumerate connections.
WiFi Sniffer error codes
0x00026000WCL_E_WIFI_SNIFF_BASEThe base error code for the WiFi Sniffer.
0x00026000WCL_E_WIFI_SNIFF_UNABLE_CREATE_MUTEXUnable to create API synchronization mutex.
0x00026001WCL_E_WIFI_SNIFF_UNABLE_LOAD_DLLUnable to load NetMon API DLL.
0x00026002WCL_E_WIFI_SNIFF_WRONG_REF_COUNTERThe API references counter is in wrong state.
0x00026003WCL_E_WIFI_SNIFF_OPENEDThe WiFi Sniffer has already been opened.
0x00026004WCL_E_WIFI_SNIFF_CLOSEDThe WiFi Sniffer is closed.
0x00026005WCL_E_WIFI_SNIFF_UNABLE_CREATE_IFACE_MUTEXUnable to create interface protection mutex.
0x00026006WCL_E_WIFI_SNIFF_IFACE_IN_USEThe other instance of the WiFi Sniffer is already using the same interface for capturing.
0x00026007WCL_E_WIFI_SNIFF_NOINTERFACEIndicates an issue between the Network Monitor API and the ndisnapp object. See Working with Multi-Threaded Code.
0x00026008WCL_E_WIFI_SNIFF_ALREADY_EXISTThe object that you are trying to create already exists.
0x00026009WCL_E_WIFI_SNIFF_EMPTYFrame comment information was not found.
0x0002600AWCL_E_WIFI_SNIFF_FILE_NOT_FOUNDThe specified file was not found.
0x0002600BWCL_E_WIFI_SNIFF_INVALID_STATEThe API or driver is in the wrong state for the requested operation.
0x0002600CWCL_E_WIFI_SNIFF_NOT_FOUNDReference to a file, file path, handle, or data field is incorrect.
0x0002600DWCL_E_WIFI_SNIFF_NOT_SUPPORTEDThis function is not currently supported.
0x0002600EWCL_E_WIFI_SNIFF_PARAMETER_QUOTA_EXCEEDEDThe upper limit of a resource has been reached. This may indicate that a handle limit has been reached. Sometimes this is an indication that handles are being leaked. These resources can be read with the NmGetApiConfiguration function and set with the NmApiInitialize function.
0x0002600FWCL_E_WIFI_SNIFF_RESOURCE_NOT_AVAILABLEThe field is a container, so the content is not available.
0x00026010WCL_E_WIFI_SNIFF_API_VERSION_MISMATCHEDThe version of the DLL does not match the version with which this executable was compiled.
0x00026011WCL_E_WIFI_SNIFF_FILE_TOO_LARGEThe file size of the capture specified by the capture function exceeds the current limit, 500 MB.
0x00026012WCL_E_WIFI_SNIFF_FILE_TOO_SMALLThe file size of the capture specified by the capture function is too small to contain any useful frame information.
0x00026013WCL_E_WIFI_SNIFF_FRAME_CONTINUES_INTO_NEXT_FRAMEThe frame size overlaps with the next frame.
0x00026014WCL_E_WIFI_SNIFF_FRAME_RANGE_OUT_OF_BOUNDSThe offset in the frame table points past the bounds of the file.
0x00026015WCL_E_WIFI_SNIFF_FRAME_TOO_BIG_FOR_FILEThe file that you are saving to does not have enough space to hold the frame. This can occur when there is not enough disk space or if the file is over the 500 MB size limit.
0x00026016WCL_E_WIFI_SNIFF_INVALID_NETMON_CAP_FILEThe file type is not a valid Network Monitor 3 capture file.
0x00026017WCL_E_WIFI_SNIFF_UNSUPPORTED_FILE_TYPEThe file type is not supported.
0x00026018WCL_E_WIFI_SNIFF_UNSUPPORTED_PCAP_DLTThe PCAP data link type is not supported.
0x00026019WCL_E_WIFI_SNIFF_WRONG_ENDIANThe data is big-endian, but only little-endian data is supported.
0x0002601AWCL_E_WIFI_SNIFF_WRONG_PCAP_VERSIONThe file is not a supported PCAP version.
0x0002601BWCL_E_WIFI_SNIFF_CHANGED_MODEIndicates an issue between the application and the API.
0x0002601CWCL_E_WIFI_SNIFF_UNEXPECTEDUnexpected WiFI Sniffer error.
0x0002601DWCL_E_WIFI_SNIFF_ADAPTER_NOT_FOUNDNo one supported adapter was found.
WiFi Direct error codes
0x00027000WCL_E_WIFI_DIRECT_BASEThe base error code for the WiFi Direct.
0x00027000WCL_E_WIFI_DIRECT_SOFT_AP_ACTIVEA WiFi Direct Soft AP is already running.
0x00027001WCL_E_WIFI_DIRECT_SOFT_AP_RUNNINGOther instance of the WiFi Soft AP is already running.
0x00027002WCL_E_WIFI_DIRECT_SOFT_AP_NOT_ACTIVEThe WiFi Direct Soft AP is not active.
0x00027003WCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_CREATE_MUTEXUnable to create synchronization mutex.
0x00027004WCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_CREATE_THREAD_EVENTUnable to create the working thread notification event.
0x00027005WCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_CREATE_WORKING_THREADUnable to create working thread.
0x00027006WCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_GET_PASSWORD_CREDENTIALUnable to get IPasswordCredential interface.
0x00027007WCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_GET_PASSPHRASEUnable get Soft AP passphrase.
0x00027008WCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_GET_SSIDUnable get Soft AP SSID.
0x00027009WCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_CREATE_ASYNC_EVENTUnable to create event for asynchronouse operations.
0x0002700AWCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_CREATE_PUBLISHERUnable to create Advertisement Publisher.
0x0002700BWCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_SET_PUBLISHER_EVENTUnable to set Advertisement Publisher event handler.
0x0002700CWCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_GET_ADVERTISEMENTUnable to get Publisher's Advertisement interface.
0x0002700DWCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_SET_GOUnable to set autonomous group owner (GO) enabled flag.
0x0002700EWCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_GET_SETTINGSUnable to get settings interface.
0x0002700FWCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_TURN_LEGACY_MODE_ONUnable to turn Legacy Settings ON.
0x00027010WCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_SET_SSIDUnable set Soft AP SSID.
0x00027011WCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_SET_PASSPHRASEUnable set Soft AP passphrase.
0x00027012WCL_E_WIFI_DIRECT_SOFT_AP_START_ABORTEDUnable to start WiFi Direct Legacy Soft AP. The operation has been aborted.
0x00027013WCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_START_PUBLISHERUnable to start Soft AP publisher.
0x00027014WCL_E_WIFI_DIRECT_SOFT_AP_UNABLE_SET_LISTENER_HANDLERUnable to set the Connection Listener event handler.

Connections Error Codes

ValueConstantDescription
0x00030000WCL_E_CONNECTION_BASEThe base eror code for all connection errors.
0x00030000WCL_E_CONNECTION_ACTIVEA connection is active.
0x00030001WCL_E_CONNECTION_NOT_ACTIVEA connection is not active.
0x00030002WCL_E_CONNECTION_UNABLE_CREATE_TERMINATE_EVENTUnable to create communication termination event object.
0x00030003WCL_E_CONNECTION_UNABLE_CREATE_CONNECTION_COMPLETE_EVENTUnable to create connection complete event object.
0x00030004WCL_E_CONNECTION_UNABLE_START_COMMUNICATIONUnable to create communication thread.
0x00030005WCL_E_CONNECTION_TERMINATEDThe connection has been terminated by unknown reason.
0x00030006WCL_E_CONNECTION_TERMINATED_BY_USERThe connection has been terminated by user.
0x00030007WCL_E_CONNECTION_UNABLE_CREATE_INIT_EVENTUnable to create a communication thread initialization event.
0x00030008WCL_E_CONNECTION_CLOSEDThe connection has been closed.
0x00030009WCL_E_CONNECTION_UNEXPECTEDUnexpected error.
0x0003000AWCL_E_CONNECTION_UNABLE_CREATE_OR_INIT_CLIENTA server was not able to create or init client connection instance.
0x0003000BWCL_E_CONNECTION_UNABLE_FIND_CLIENT_CLASSA server was not able to find a specific client connection class.

IrDA Framework Error Codes

ValueConstantDescription
0x00040000WCL_E_IRDA_BASEThe base code for the IrDA errors.
0x00040000WCL_E_IRDA_ACCESS_DENIEDAccess denied.
0x00040001WCL_E_IRDA_OPTION_IS_INVALIDThe initialization parameter is not a valid pointer or One of the option value or the option length parameters is not a valid part of the user address space, or the option length parameter is too small.
0x00040002WCL_E_IRDA_INVALID_ARGUMENTAn invalid argument was supplied.
0x00040003WCL_E_IRDA_HANDLES_LIMIT_REACHEDNo more handles (descriptors) are available.
0x00040004WCL_E_IRDA_IN_PROGRESSA blocking call is in progress, or the service provider is still processing a callback function.
0x00040005WCL_E_IRDA_INVALID_HANDLEThe descriptor is not a valid handle.
0x00040006WCL_E_IRDA_WRONG_PROTOCOL_TYPEThe specified protocol is the wrong type for this handle.
0x00040007WCL_E_IRDA_UNKNOW_OPTIONThe option is unknown or unsupported by the indicated protocol family (IrDA).
0x00040008WCL_E_IRDA_PROTOCOL_NOT_SUPPORTEDThe specified protocol is not supported.
0x00040009WCL_E_IRDA_HANDLE_NOT_SUPPORTEDThe specified handle type is not supported for IrDA communication.
0x0004000AWCL_E_IRDA_NOT_SUPPORTEDThe IrDA is not supported. An infrared adapter and device driver is not installed on the local computer.
0x0004000BWCL_E_IRDA_CONNECTION_EXISTSConnection already exsist.
0x0004000CWCL_E_IRDA_SERVICE_OR_DEVICE_NOT_FOUNDAn IrDA device or specific service was not found (address or service is invalid).
0x0004000DWCL_E_IRDA_FAILEDThe IrDA subsystem or the associated service provider has failed.
0x0004000EWCL_E_IRDA_CONNECTION_TERMINATED_BY_USERConnection has been terminated by a user.
0x0004000FWCL_E_IRDA_NO_BUFFERSNo buffer space is available. The handle cannot be created.
0x00040010WCL_E_IRDA_TIMEOUTTimeout occured.
0x00040011WCL_E_IRDA_ATTRIBUTE_NOT_FOUNDThe requested attribute was not found.
0x00040012WCL_E_IRDA_CONNECTION_REJECTEDConnection has been rejected.
0x00040013WCL_E_IRDA_LIMIT_REACHEDA limit on the number of tasks supported by the IrDA implementation has been reached.
0x00040014WCL_E_IRDA_NOT_READYThe underlying subsystem is not ready for communication.
0x00040015WCL_E_IRDA_VERSION_NOT_SUPPORTEDThe version of IrDA subsystem support requested is not provided by this particular IrDA implementation.
0x00040016WCL_E_IRDA_NOT_INITIALIZEDA successful IrDA subsystem initialization must occur before using this function.
0x00040017WCL_E_IRDA_INVALID_PROC_TABLEThe service provider returned an invalid or incomplete procedure table to the IrDA initialization.
0x00040018WCL_E_IRDA_INVALID_PROVIDERThe service provider returned a version other than 2.2.
0x00040019WCL_E_IRDA_SERVICE_PROFVIDER_FAILEDThe service provider failed to initialize. This error is returned if a layered service provider (LSP) or namespace provider was improperly installed or the provider fails to operate correctly.
0x0004001AWCL_E_IRDA_UNEXPECTEDUnexpected or unknown IrDA error.
0x0004001BWCL_E_IRDA_UNABLE_CREATE_DISCOVERING_SYNCUnable to create Lazy Discovering synchronization object.
0x0004001CWCL_E_IRDA_ATTRIBUTE_CLASS_NOT_FOUNDThe requested attribute's class was not found.
0x0004001DWCL_E_IRDA_DISCOVERING_ACTIVEThe Lazy Discovering is already running.
0x0004001EWCL_E_IRDA_UNABLE_CREATE_DISCOVERING_THREADUnable to create Lazy Discovering thread.
0x0004001FWCL_E_IRDA_DISCOVERING_NOT_ACTIVEThe Lazy Discovering is not running.
0x00040020WCL_E_IRDA_ALREADY_SUBSCRIBEDThe component is already subscribed for the IrDA hardware change event.
0x00040021WCL_E_IRDA_NOT_SUBSCRIBEDThe component is not subscribed for the IrDA hardware change event.
0x00040022WCL_E_IRDA_DISCONNECTED_BY_REMOTE_DEVICEClient disconnected by remote device.
0x00040023WCL_E_IRDA_UNABLE_CREATE_SOCKETUnable to create IrDA socket.
0x00040024WCL_E_IRDA_UNABLE_SET_MODEUnable to set a IrLMP communication mode.
0x00040025WCL_E_IRDA_UNABLE_CREATE_EVENTUnable to create socket event.
0x00040026WCL_E_IRDA_UNABLE_SET_EVENTUnable to select socket events.
0x00040027WCL_E_IRDA_UNABLE_GET_READ_BUFFERUnable to get a read buffer size.
0x00040028WCL_E_IRDA_UNABLE_GET_WRITE_BUFFERUnable to get a write buffer size.
0x00040029WCL_E_IRDA_UNABLE_SET_READ_BUFFERUnable to set a read buffer size.
0x0004002AWCL_E_IRDA_UNABLE_SET_WRITE_BUFFERUnable to set a write buffer size.
0x0004002BWCL_E_IRDA_UNABLE_TO_RESOLVE_ADDRESSUnable to resolve a remote IrDA device address.
0x0004002CWCL_E_IRDA_WRONG_CONNECTION_MODEThis connection mode can not be used for IrDA server.

Bluetooth Framework Error Codes

ValueConstantDescription
Classic Bluetooth error codes
0x00050000WCL_E_BLUETOOTH_BASEThe base code for the Bluetooth errors.
0x00050000WCL_E_BLUETOOTH_MANAGER_CLOSEDA Bluetooth Manager is closed.
0x00050001WCL_E_BLUETOOTH_MANAGER_OPENEDA Bluetooth Manager is opened.
0x00050002WCL_E_BLUETOOTH_MANAGER_OPEN_FAILEDUnable to opend the Bluetooth Manager.
0x00050003WCL_E_BLUETOOTH_MANAGER_EXISTSAn other instance of the Bluetooth Manager is already opened.
0x00050004WCL_E_BLUETOOTH_DRIVER_NOT_AVAILABLEA Bluetooth driver is not available or not loaded.
0x00050005WCL_E_BLUETOOTH_HARDWARE_NOT_AVAILABLEA Bluetooth hardware is not available.
0x00050006WCL_E_BLUETOOTH_API_NOT_LOADEDA Bluetooth API (driver) was not loaded.
0x00050007WCL_E_BLUETOOTH_API_INITIALIZATION_FAILEDUnable to initialize a Bluetooth API (driver) subsystem.
0x00050008WCL_E_BLUETOOTH_API_NOT_FOUNDA Bluetooth API (driver) was not found in this system.
0x00050009WCL_E_BLUETOOTH_API_NOT_INITIALIZEDA Bluetooth driver was not initialized.
0x0005000AWCL_E_BLUETOOTH_WRONG_DRIVER_VERSIONA Bluetooth driver has been found but it does not support all the features that WCL requires for correct work. You should update your Bluetooth driver for the latest available version.
0x0005000BWCL_E_BLUETOOTH_RADIO_OPENEDA Bluetooth Radio object is opened.
0x0005000CWCL_E_BLUETOOTH_RADIO_CLOSEDA Bluetooth Radio object is closed.
0x0005000DWCL_E_BLUETOOTH_RADIO_REMOVEDThe Bluetooth Radio object has been removed (destroyed).
0x0005000EWCL_E_BLUETOOTH_RADIO_INSTANCE_INIT_FAILEDUnable to initialize a Bluetooth Radio instance mutex.
0x0005000FWCL_E_BLUETOOTH_RADIO_INSTANCE_EXISTSThe same Bluetooth Radio instance has already been initialized.
0x00050010WCL_E_BLUETOOTH_RADIO_UNAVAILABLEThe Bluetooth Radio object become unavailable.
0x00050011WCL_E_BLUETOOTH_UNABLE_CHANGE_CONNECTABLE_STATEUnable to change Radio connectable state.
0x00050012WCL_E_BLUETOOTH_UNABLE_CHANGE_DISCOVERABLE_STATEUnable to change Radio discoverable state.
0x00050013WCL_E_BLUETOOTH_UNABLE_CHANGE_NAMEUnable to change Radio name.
0x00050014WCL_E_BLUETOOTH_FEATURE_NOT_SUPPORTEDThe requisted feature is not supported bu a Bluetooth driver.
0x00050015WCL_E_BLUETOOTH_UNEXPECTEDUnexpected or unknown Bluetooth error.
0x00050016WCL_E_BLUETOOTH_LINK_UNEXPECTEDError other than time-out at L2CAP or Bluetooth radio level.
0x00050017WCL_E_BLUETOOTH_OPERATION_FAILEDThe operation fails for an undefined reason.
0x00050018WCL_E_BLUETOOTH_OPERATION_CONFLICTThe request can not be processed since a same request is being processed.
0x00050019WCL_E_BLUETOOTH_NO_MORE_CONNECTION_ALLOWEDThe limit of connection number is reached.
0x0005001AWCL_E_BLUETOOTH_OBJECT_EXISTSAn object with the specified attribute exists.
0x0005001BWCL_E_BLUETOOTH_OBJECT_IN_USEThe specified object is accessed by other process. It can not be removed or modified.
0x0005001CWCL_E_BLUETOOTH_DISCOVERING_RUNNINGDiscovering is already running.
0x0005001DWCL_E_BLUETOOTH_DISCOVERING_NOT_RUNNINGDiscovering is not running.
0x0005001EWCL_E_BLUETOOTH_DISCOVERING_TERMINATEDDiscovering has been terminated.
0x0005001FWCL_E_BLUETOOTH_CANCELLED_BY_USEROperation has been cancelled by user.
0x00050020WCL_E_BLUETOOTH_TIMEOUTOperation time out.
0x00050021WCL_E_BLUETOOTH_CONNECTION_TERMINATED_BY_USERConnection has been terminated by a user.
0x00050022WCL_E_BLUETOOTH_PENDINGAsynchronous processing is pending.
0x00050023WCL_E_BLUETOOTH_CONNECTION_FAILEDConnection failure.
0x00050024WCL_E_BLUETOOTH_DEVICE_NOT_FOUNDA specified remote Bluetooth device was not found.
0x00050025WCL_E_BLUETOOTH_PAIRINGPairing operationis executing.
0x00050026WCL_E_BLUETOOTH_UNABLE_START_PAIRINGUnable to start pairing with a remote Bluetooth device.
0x00050027WCL_E_BLUETOOTH_ALREADY_PAIREDA device has already been paired.
0x00050028WCL_E_BLUETOOTH_DEVICE_NOT_PAIREDThe specified remote device is not paired.
0x00050029WCL_E_BLUETOOTH_ACCESS_DENIEDAccess denied.
0x0005002AWCL_E_BLUETOOTH_AUTHENTICATION_FAILEDAuthentication (pairng) with a remote Bluetooth device is failed.
0x0005002BWCL_E_BLUETOOTH_REJECTEDOperation has been rejected.
0x0005002CWCL_E_BLUETOOTH_UNABLE_GET_READ_BUFFERUnable to get a read buffer size.
0x0005002DWCL_E_BLUETOOTH_UNABLE_GET_WRITE_BUFFERUnable to get a write buffer size.
0x0005002EWCL_E_BLUETOOTH_UNABLE_SET_READ_BUFFERUnable to set a read buffer size.
0x0005002FWCL_E_BLUETOOTH_UNABLE_SET_WRITE_BUFFERUnable to set a write buffer size.
0x00050030WCL_E_BLUETOOTH_CLIENT_CONNECTEDA client is already connected to a Bluetooth device.
0x00050031WCL_E_BLUETOOTH_CLIENT_NOT_CONNECTEDA client is not connected to a Bluetooth device.
0x00050032WCL_E_BLUETOOTH_L2CAP_DISCONNECTEDThe L2CAP channel disconnected by remote peer.
0x00050033WCL_E_BLUETOOTH_INVALID_DEVICE_TYPEWrong device type used in connection.
0x00050034WCL_E_BLUETOOTH_CHANNEL_IN_USEThe port/channel number requested is in use.
0x00050035WCL_E_BLUETOOTH_SERVICE_NOT_VALIDThe Bluetooth port/channel or device address not valid.
0x00050036WCL_E_BLUETOOTH_SERVICE_NOT_FOUNDNo service record with the specified search pattern is found on the remote device.
0x00050037WCL_E_BLUETOOTH_UNABLE_CREATE_SOCKETUnable to create a Bluetooth socket.
0x00050038WCL_E_BLUETOOTH_UNABLE_SET_CLIENT_SECURITYUnable to set client authentication and/or encription states.
0x00050039WCL_E_BLUETOOTH_UNABLE_CREATE_EVENTUnable to create socket event.
0x0005003AWCL_E_BLUETOOTH_UNABLE_SET_EVENTUnable to select socket events.
0x0005003BWCL_E_BLUETOOTH_UNABLE_LOCK_CONNECT_MUTEXUnable to aquire the connections mutex object.
0x0005003CWCL_E_BLUETOOTH_UNABLE_INIT_OVERLAPPED_OPERATIONUnable to create system event object for overlapped IO.
0x0005003DWCL_E_BLUETOOTH_UNABLE_CREATE_DISCONNECT_EVENTUnable to create disconnect notification event.
0x0005003EWCL_E_BLUETOOTH_UNABLE_CREATE_CONNECT_EVENTUnable to create connect notification connection event.
0x0005003FWCL_E_BLUETOOTH_UNABLE_LOCK_SDP_MUTEXUnable to aquire the SDP mutex object.
0x00050040WCL_E_BLUETOOTH_RFCOMM_SESSION_DISCONNECTEDThe RFCOMM multiplexor (session) disconnected by remote peer.
0x00050041WCL_E_BLUETOOTH_RFCOMM_DOWNThe RFCOMM received DM response.
0x00050042WCL_E_BLUETOOTH_RFCOMM_DISCONNECTEDThe RFCOMM channel disconnected by remote peer.
0x00050043WCL_E_BLUETOOTH_UNABLE_TO_RESOLVE_ADDRESSUnable to resolve connected remote device address.
0x00050044WCL_E_BLUETOOTH_UNABLE_ADD_ADP_RECORDUnable to add new SDP record.
0x00050045WCL_E_BLUETOOTH_UNABLE_SET_SERVER_SECURITYUnable to set server authentication and/or encription states.
0x00050046WCL_E_BLUETOOTH_LOCAL_SERVICE_ACTIVELocal service is still active.
0x00050047WCL_E_BLUETOOTH_UNABLE_CREATE_SERVERUnable to create Bluetooth server.
0x00050048WCL_E_BLUETOOTH_UNABLE_ENUMERATE_LOCAL_SERVICESUnable to enumerate local running services.
0x00050049WCL_E_BLUETOOTH_UNABLE_STOP_LOCAL_SERVERUnable to stop local predefined server.
0x0005004AWCL_E_BLUETOOTH_UNABLE_TO_UPDATE_LOCAL_SERVERUnable to update local server database.
0x0005004BWCL_E_BLUETOOTH_SETUP_COM_FAILEDUnable to setup the communication port.
0x0005004CWCL_E_BLUETOOTH_UNABLE_OPEN_CLIENT_COMUnable to open the client COM port for the Bluetooth connection.
0x0005004DWCL_E_BLUETOOTH_UNABLE_OPEN_SERVER_COMUnable to open the server COM port for the Bluetooth connection.
0x0005004EWCL_E_BLUETOOTH_WRITE_FAILEDSending data to a remote device was failed.
0x0005004FWCL_E_BLUETOOTH_READ_FAILEDAbnormal data received.
0x00050050WCL_E_BLUETOOTH_UNABLE_CREATE_WNDUnable to create Toshiba notifications window.
0x00050051WCL_E_BLUETOOTH_UNABLE_REGISTER_MESSAGEUnable to register Toshiba notification message.
0x00050052WCL_E_BLUETOOTH_UNABLE_CREATE_SYNC_EVENTUnable to create synchronization event.
0x00050053WCL_E_BLUETOOTH_SDP_TRANSACTIONSDP transaction processing failure.
0x00050054WCL_E_BLUETOOTH_UNABLE_START_SDP_THREADUnable start SDP connection thread.
0x00050055WCL_E_BLUETOOTH_UNABLE_START_CONNECT_THREADUnable to start connection thread.
0x00050056WCL_E_BLUETOOTH_UNABLE_START_LISTEN_THREADUnable to start listening thread.
0x00050057WCL_E_BLUETOOTH_DISCOVERING_FAILEDInquiry processing failure.
0x00050058WCL_E_BLUETOOTH_READ_REMOTE_NAME_FAILEDRemote name acquisition processing failure.
0x00050059WCL_E_BLUETOOTH_DESTROY_COM_FAILEDUnable to destroy COM port.
0x0005005AWCL_E_BLUETOOTH_CONNECT_COM_FAILEDUnable to connect COM port.
0x0005005BWCL_E_BLUETOOTH_DISCONNECT_COM_FAILEDUnable to disconnect COM port.
0x0005005CWCL_E_BLUETOOTH_UNABLE_TO_SWITCH_ON_OR_OFFUnable to turn Bluetooth ON or OFF.
0x0005005DWCL_E_BLUETOOTH_CANNOT_ASSIGN_PSMCan not assign PSM.
0x0005005EWCL_E_BLUETOOTH_GETLOCALINFO_FAILEDUnable to read local Radio information.
0x0005005FWCL_E_BLUETOOTH_DISCONNECT_SDP_FAILEDUnable to disconnect from SDP server.
0x00050060WCL_E_BLUETOOTH_UNABLE_REGISTER_COM_NOTIFICATIONUnable to register COM port notifications.
0x00050061WCL_E_BLUETOOTH_SETLOCALINFO_FAILEDUnable to change local radio information.
0x00050062WCL_E_BLUETOOTH_UNABLE_TO_GET_CONNECTED_DEVICESUnablet o get connected state of the device.
0x00050063WCL_E_BLUETOOTH_UNABLE_CONNECTUnable to connect to a remote device.
0x00050064WCL_E_BLUETOOTH_CONNECT_PSMUnable to start connection to a remote device. PSM error.
0x00050065WCL_E_BLUETOOTH_SDP_PARSE_ERRORSDP record parsing error.
0x00050066WCL_E_BLUETOOTH_UNABLE_READ_RSSIUnable to read RSSI value.
0x00050067WCL_E_BLUETOOTH_UNABLE_CHANGE_PAIRING_MODEUnable to change pairing mode.
0x00050068WCL_E_BLUETOOTH_SDP_ERRORError working with SDP records.
0x00050069WCL_E_BLUETOOTH_UNABLE_START_THREADUnable to start Toshiba main thread.
0x0005006AWCL_E_BLUETOOTH_UNABLE_CREATE_INIT_EVENTUnable to create BlueSoleil initialization event.
0x0005006BWCL_E_BLUETOOTH_UNABLE_START_INIT_THREADUnable to start BlueSoleil initialization thread.
0x0005006CWCL_E_BLUETOOTH_VCOM_NOT_FOUNDThe vitual COM port was not found. Probably it was not created by this Bluetooth radio object.
0x0005006DWCL_E_BLUETOOTH_VCOM_EXISTSA virtual COM port was already created for this Bluetooth device and service.
Bluetooth Low Energy error codes
0x00051000WCL_E_BLUETOOTH_LE_BASEThe base error code for Bluetooth Low Energy.
0x00051000WCL_E_BLUETOOTH_LE_INVALID_HANDLEInvalid attribute handle.
0x00051001WCL_E_BLUETOOTH_LE_READ_NOT_PERMITTEDAttribute reading is not permited.
0x00051002WCL_E_BLUETOOTH_LE_WRITE_NOT_PERMITTEDAttribute writing is not permitted.
0x00051003WCL_E_BLUETOOTH_LE_INVALID_PDUInvalid request format.
0x00051004WCL_E_BLUETOOTH_LE_INSUFFICIENT_AUTHENTICATIONInsufficient authentication.
0x00051005WCL_E_BLUETOOTH_LE_REQUEST_NOT_SUPPORTEDRequest not supported.
0x00051006WCL_E_BLUETOOTH_LE_INVALID_OFFSETInvalid offset.
0x00051007WCL_E_BLUETOOTH_LE_INSUFFICIENT_AUTHORIZATIONInsufficient authorization.
0x00051008WCL_E_BLUETOOTH_LE_PREPARE_QUEUE_FULLPrepare queue is full.
0x00051009WCL_E_BLUETOOTH_LE_ATTRIBUTE_NOT_FOUNDAttribute was not found.
0x0005100AWCL_E_BLUETOOTH_LE_ATTRIBUTE_NOT_LONGThe attribute cannot be read or written using the Read Blob Request.
0x0005100BWCL_E_BLUETOOTH_LE_INSUFFICIENT_ENCRYPTION_KEYSIZEInsufficient encryption key size.
0x0005100CWCL_E_BLUETOOTH_LE_INVALID_ATTRIBUTE_VALUE_LENGTHInvalid attribute value length.
0x0005100DWCL_E_BLUETOOTH_LE_INSUFFICIENT_ENCRYPTIONInsufficient encryption.
0x0005100EWCL_E_BLUETOOTH_LE_UNSUPPORTED_GROUP_TYPEUnsupported group type.
0x0005100FWCL_E_BLUETOOTH_LE_INSUFFICIENT_RESOURCESInsufficient resources.
0x00051010WCL_E_BLUETOOTH_LE_SMP_FAILEDSMP failed.
0x00051011WCL_E_BLUETOOTH_LE_TASK_CANCELTask cancel.
0x00051012WCL_E_BLUETOOTH_LE_CONNECT_FAILEDConnect failed.
0x00051013WCL_E_BLUETOOTH_LE_TIMEOUTResponse timed out.
0x00051014WCL_E_BLUETOOTH_LE_WRONG_CONFIGURATIONCCC improperly configured.
0x00051015WCL_E_BLUETOOTH_LE_PROCEDURE_IN_PROGRESSRequested procedure is already in progress.
0x00051016WCL_E_BLUETOOTH_LE_OUT_OF_RANGEOut of range.
0x00051017WCL_E_BLUETOOTH_LE_RELIABLE_WRITE_ACTIVEThe reliable write has already been started.
0x00051018WCL_E_BLUETOOTH_LE_RELIABLE_WRITE_NOT_ACTIVEThe reliable write has not been started.
0x00051019WCL_E_BLUETOOTH_LE_ALREADY_SUBSCRIBEDThe GATT connection is already subscribed for this attribute changes notifications.
0x0005101AWCL_E_BLUETOOTH_LE_NOT_SUBSCRIBEDThe GATT connection has not been subscribed for this attribute changes notifications.
0x0005101BWCL_E_BLUETOOTH_LE_DEVICES_SCANNING_ENABLEDThe Bluetooth LE devices scanning is already running.
0x0005101CWCL_E_BLUETOOTH_LE_DEVICES_SCANNING_DISABLEDThe Bluetooth LE devices scanning is not running.
0x0005101DWCL_E_BLUETOOTH_LE_INAVLID_USER_BUFFERA buffer is specified, but the buffer count size is smaller than what is required, in bytes.
0x0005101EWCL_E_BLUETOOTH_LE_INCONSISTENT_DATAThe current data in the cache appears to be inconsistent, and is leading to internal errors.
0x0005101FWCL_E_BLUETOOTH_LE_COMMUNICATION_FAILEDThe target server did not provide an appropriate network response.
0x00051020WCL_E_BLUETOOTH_LE_CHARACTERISTIC_NOT_READABLEThe characteristic value is not readable as dictated by the characteristic properties.
0x00051021WCL_E_BLUETOOTH_LE_CREATE_WATCHER_FAILEDUnable to create Bluetooth LE Advertisement Watcher.
0x00051022WCL_E_BLUETOOTH_LE_SET_SCANNING_MODE_FAILEDUnable to change Bluetooth LE Advertisement Watcher scanning mode.
0x00051023WCL_E_BLUETOOTH_LE_START_WATCHER_FAILEDUnable start Bluetooth LE Advertisement Watcher.
0x00051024WCL_E_BLUETOOTH_LE_START_WINRT_THREAD_FAILEDUnable to start Win RT working thread.
0x00051025WCL_E_BLUETOOTH_LE_SET_EVENT_HANDLER_FAILEDUnable to set Win RT object's event handler.
0x00051026WCL_E_BLUETOOTH_LE_CREATE_DEVICE_STATICS_FAILEDUnable create Bluetooth LE Device Statics interface.
0x00051027WCL_E_BLUETOOTH_LE_CREATE_DEVICE_FAILEDUnable create Bluetooth LE Device interface.
0x00051028WCL_E_BLUETOOTH_LE_START_ASYNC_OPERATION_FAILEDUnable start Win RT asyncronous operation.
0x00051029WCL_E_BLUETOOTH_LE_SET_ASYNC_OPERATION_EVENT_HANDLER_FAILEDUnable set Win RT asynchronous operation event handler.
0x0005102AWCL_E_BLUETOOTH_LE_GET_ASYNC_OPERATION_RESULT_FAILEDUnable get Win RT async operation result.
0x0005102BWCL_E_BLUETOOTH_LE_CREATE_DEVICE2_FAILEDUnable create IBluetoothLEDevice2 interface.
0x0005102CWCL_E_BLUETOOTH_LE_GET_DEVICE_INFORMATION_FAILEDUnable to get IDeviceInformation interface.
0x0005102DWCL_E_BLUETOOTH_LE_GET_DEVICE_INFORMATION2_FAILEDUnable to get IDeviceInformation2 interface.
0x0005102EWCL_E_BLUETOOTH_LE_GET_DEVICE_INFORMATION_PAIRING_FAILEDUnable to get IDeviceInformationPairing interface.
0x0005102FWCL_E_BLUETOOTH_LE_GET_DEVICE_INFORMATION_PAIRING2_FAILEDUnable to get IDeviceInformationPairing2 interface.
0x00051030WCL_E_BLUETOOTH_LE_GET_DEVICE_INFORMATION_CUSTOM_PAIRING_FAILEDUnable to get IDeviceInformationCustomPairing interface.
0x00051031WCL_E_BLUETOOTH_LE_BEACON_MONITORING_RUNNINGBluetooth Beacons monitoring is running.
0x00051032WCL_E_BLUETOOTH_LE_BEACON_MONITORING_NOT_RUNNINGBluetooth Beacons monitoring is not running.
0x00051033WCL_E_BLUETOOTH_LE_ADVERTISING_RUNNINGThe Bluetooth LE advertising is already running.
0x00051034WCL_E_BLUETOOTH_LE_ADVERTISING_NOT_RUNNINGThe Bluetooth LE advertising is not running.
0x00051035WCL_E_BLUETOOTH_LE_ADVERTISING_UNBALE_CREATE_INIT_EVENTUnable create initialization event for the Bluetooth LE advertising thread.
0x00051036WCL_E_BLUETOOTH_LE_ADVERTISING_UNBALE_CREATE_TERMINATE_EVENTUnable create termination event for the Bluetooth LE advertising thread.
0x00051037WCL_E_BLUETOOTH_LE_ADVERTISING_UNBALE_START_THREADUnable start Bluetooth LE Advertising thread.
0x00051038WCL_E_BLUETOOTH_LE_ADVERTISING_START_FAILEDFailed to start Bluetooth LE Advertising.
0x00051039WCL_E_BLUETOOTH_LE_UNABLE_GET_ADVERTISERUnable to get Bluetooth LE Advertiser object.
0x0005103AWCL_E_BLUETOOTH_LE_UNABLE_GET_ADVERTISER_MANUFACTURER_DATAUnable access the Bluetooth LE Advertiser Manufacturer data.
0x0005103BWCL_E_BLUETOOTH_LE_UNABLE_SET_ADVERTISING_DATAUnable to set Bluetooth LE Advertisement data.
0x0005103CWCL_E_BLUETOOTH_LE_UNABLE_ADD_ADVERTISING_DATAUnable to add Bluetooth LE Advertisement data.

Serial Framework Error Codes

ValueConstantDescription
0x00060000WCL_E_SERIAL_BASEThe base error code for Serial Framework errors.
0x00060000WCL_E_SERIAL_UNABLE_OPEN_DEVICE_KEYThe device's registry key was not found or not enough privilegies.
0x00060001WCL_E_SERIAL_UNABLE_READ_FRIENDLY_NAMEUnable to read a device's friendly name.
0x00060002WCL_E_SERIAL_UNABLE_OPEN_DEVICE_PARAMETERS_KEYThe device's parameters registry key was not found or not enough privilegies.
0x00060003WCL_E_SERIAL_UNABLE_READ_PORT_NAMEUnable to read a device's port name.
0x00060004WCL_E_SERIAL_DEVICE_CLASS_NOT_FOUNDThe given Device Class Guid was not found.
0x00060005WCL_E_SERIAL_MONITORING_RUNNINGMonitoring is running.
0x00060006WCL_E_SERIAL_MONITORING_NOT_RUNNINGMonitoring is not running.
0x00060007WCL_E_SERIAL_UNABLE_GET_READ_BUFFERUnable to get read buffer size.
0x00060008WCL_E_SERIAL_UNABLE_GET_WRITE_BUFFERUnable to get write buffer size.
0x00060009WCL_E_SERIAL_UNABLE_SET_READ_BUFFERUnable to set read buffer size.
0x0006000AWCL_E_SERIAL_UNABLE_SET_WRITE_BUFFERUnable to set write buffer size.
0x0006000BWCL_E_SERIAL_UNABLE_INIT_OVERLAPPED_OPERATIONUnable to initialize the overlapped IO operation.
0x0006000CWCL_E_SERIAL_WRITE_FAILEDWrite data to the serial port was failed.
0x0006000DWCL_E_SERIAL_WRITE_TIMEOUTTimeout appeared during write operation. That doe snot mean real error. That just means that some bytes were sent but time out appeared before all bytes are sent. You can retry to send remaining bytes or terminate connection.
0x0006000EWCL_E_SERIAL_DEVICE_REMOVEDA serial device has been removed.
0x0006000FWCL_E_SERIAL_UNABLE_GET_COMM_CONFIGURATIONUnable to read COM port configuration.
0x00060010WCL_E_SERIAL_UNABLE_SET_COMM_CONFIGURATIONUnable to write COM port configuration.
0x00060011WCL_E_SERIAL_UNABLE_GET_COMM_TIMEOUTSUnable to read COM port timeouts.
0x00060012WCL_E_SERIAL_UNABLE_SET_COMM_TIMEOUTSUnable to write COM port timeouts.
0x00060013WCL_E_SERIAL_UNABLE_CREATE_OVERLAPPED_EVENTUnable create overlapped operation event.
0x00060014WCL_E_SERIAL_UNABLE_OPEN_PORTUnable to open the specified COM port.
0x00060015WCL_E_SERIAL_UNABLE_CLEAR_BUFFERSUnable clear input and output buffers.
0x00060016WCL_E_SERIAL_UNABLE_SET_EVENTS_MASKUnable to set COM potr events mask.
0x00060017WCL_E_SERIAL_PURGE_COMM_FAILEDThe PurgeComm operation was failed.
0x00060018WCL_E_SERIAL_ESCAPE_COMM_FUNCTION_FAILEDThe EscapeCommFunction has been failed.
0x00060019WCL_E_SERIAL_SET_COMM_BREAK_FAILEDThe SetCommBreak method failed.
0x0006001AWCL_E_SERIAL_CLEAR_COMM_BREAK_FAILEDThe ClearCommBreak method failed.
0x0006001BWCL_E_SERIAL_TRANSMIT_COMM_CHAR_FAILEDThe TransmitCommChar method failed.
0x0006001CWCL_E_SERIAL_FLUSH_BUFFERS_FAILEDThe FlushBuffers method failed.
0x0006001DWCL_E_SERIAL_GET_MODEM_STATUS_FAILEDThe GetCommStatus method failed.
0x0006001EWCL_E_SERIAL_READ_ERRORRead operation failed.
0x0006001FWCL_E_SERIAL_UNABLE_CREATE_RESTART_EVENTUnable create communication restart event.
0x00060020WCL_E_SERIAL_DEVICE_WRITE_TIMEOUTWrite operation was timed out on wait. Probably device is disconnected or not available.