# Diagnostic user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPIDiag.au3>.

User Defined Function | Description
--- | ---
_WinAPI_DisplayStruct | Displays data from the specified structure or memory address as a list
_WinAPI_EnumDllProc | Enumerates an exported functions of the specified dynamic-link library (DLL)
_WinAPI_FatalExit | Transfers execution control to the debugger
_WinAPI_GetApplicationRestartSettings | Retrieves the restart information registered for the specified process
_WinAPI_GetErrorMode | Retrieves the error mode for the current process
_WinAPI_IsInternetConnected | Determines whether the current user is connected to the Internet
_WinAPI_IsNetworkAlive | Determines whether or not a local system is connected to a network, and identifies the type of network connection
_WinAPI_NtStatusToDosError | Converts the specified NTSTATUS error code to its equivalent system error code
_WinAPI_RegisterApplicationRestart | Registers the active instance of an application for restart
_WinAPI_SetErrorMode | Controls whether the system will handle the specified types of serious errors or whether the process will handle them
_WinAPI_UniqueHardwareID | Generates a unique hardware identifier (ID) for local computer
_WinAPI_UnregisterApplicationRestart | Removes the active instance of an application from the restart list