public static Boolean DoAutoComplete(IntPtr hwndEdit, AutoCompleteFlags flags) { Int32 hRet; hRet = ShellApi.SHAutoComplete(hwndEdit, (UInt32)flags); return(hRet == 0); }