# Dialog 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 <WinAPIDlg.au3>.

User Defined Function | Description
--- | ---
_WinAPI_BrowseForFolderDlg | Displays a dialog box that enables the user to select a Shell folder
_WinAPI_CommDlgExtendedError | Returns a common dialog box error string. This string indicates the most recent error to occur during the execution of one of the common dialog box functions
_WinAPI_CommDlgExtendedErrorEx | Returns a common dialog box error code
_WinAPI_ConfirmCredentials | Confirms the validity of the credential harvested
_WinAPI_FindTextDlg | Creates a system-defined modeless Find dialog box to search for text in a document
_WinAPI_FlushFRBuffer | Destroys the internal buffer that used the _WinAPI_FindTextDlg() and _WinAPI_ReplaceTextDlg() functions
_WinAPI_FormatDriveDlg | Opens the Shell's Format dialog
_WinAPI_GetConnectedDlg | Launches the Get Connected wizard within the calling application to enable network connectivity
_WinAPI_GetDlgCtrlID | Returns the identifier of the specified control
_WinAPI_GetFRBuffer | Retrieves the current size of the internal buffer that used the _WinAPI_FindTextDlg() and _WinAPI_ReplaceTextDlg() functions
_WinAPI_GetOpenFileName | Creates an Open dialog box that lets the user specify the drive, directory, and the name of a file or set of files to open
_WinAPI_GetSaveFileName | Creates a Save dialog box that lets the user specify the drive, directory, and name of a file to save
_WinAPI_MessageBoxCheck | Displays a message box that gives the user the option of suppressing further occurrences
_WinAPI_MessageBoxIndirect | Creates, displays, and operates a message box
_WinAPI_OpenFileDlg | Creates a dialog box that lets the user specify the drive, directory, and the name of a file or set of files to be opened
_WinAPI_PageSetupDlg | Creates a Page Setup dialog box that enables the user to specify the attributes of a printed page
_WinAPI_PickIconDlg | Displays a dialog box that allows the user to choose an icon
_WinAPI_PrintDlg | Displays a Print dialog box
_WinAPI_PrintDlgEx | Displays a Print property sheet that enables the user to specify the properties of a particular print job
_WinAPI_ReplaceTextDlg | Creates a system-defined modeless dialog box that lets the user specify a string to search for and a replacement string
_WinAPI_RestartDlg | Displays a dialog box that prompts the user to restart Microsoft Windows
_WinAPI_SaveFileDlg | Creates a dialog box that lets the user specify the drive, directory, and name of a file to save
_WinAPI_SetFRBuffer | Sets the size of the internal buffer that used the _WinAPI_FindTextDlg() and _WinAPI_ReplaceTextDlg() functions
_WinAPI_ShellAboutDlg | Displays a Windows About dialog box
_WinAPI_ShellOpenWithDlg | Displays the Open With dialog box
_WinAPI_ShellStartNetConnectionDlg | Displays a general browsing dialog box for a network resource connection
_WinAPI_ShellUserAuthenticationDlg | Creates and displays a configurable dialog box that accepts credentials information from a user
_WinAPI_ShellUserAuthenticationDlgEx | Creates and displays a configurable dialog box that accepts credentials information from a user