---
name: "SHAutoComplete"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/SHAutoComplete"
---

# SHAutoComplete(3w)

## NAME

**SHAutoComplete** (SHLWAPI.@)

## SYNOPSIS

HRESULT SHAutoComplete\
  (\
   HWND  *hwndEdit*,\
   DWORD *dwFlags*\
  )

## DESCRIPTION

Enable auto-completion for an edit control.

## PARAMS

*hwndEdit* **\[In\]**  Handle of control to enable auto-completion for.

*dwFlags* **\[In\]**  **SHACF\_** flags from **"shlwapi.h"**.

## RETURNS

**Success:** **S\_OK**. Auto-completion is enabled for the control.

**Failure:** An **HRESULT** error code indicating the error.

## IMPLEMENTATION

Declared in **"shlwapi.h"**.

Implemented in **"dlls/shlwapi/url.c"**.

Debug channel **"shell"**.
