ShlwApiSHAutoComplete Method

Instructs system edit controls to use AutoComplete to help complete URLs or file system paths.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("ShlwApi.dll")]
public static HResult SHAutoComplete(
	IntPtr hWndEdit,
	AutoCompleteFlags flags
)

Parameters

hWndEdit  IntPtr
The window handle of a system edit control. Typically, this parameter is the handle of an edit control or the edit control embedded in a ComboBoxEx control.
flags  AutoCompleteFlags
Flags that control the AutoComplete operation.

Return Value

HResult
If this function succeeds, it returns S_OK. Otherwise, it returns an HResult error code.

Remarks

See Also