shell32: Add a note about a possible crash on NULL input.

This commit is contained in:
Nikolay Sivov 2010-03-21 18:55:34 +03:00 committed by Alexandre Julliard
parent 53ae4e2ba0
commit 6a0bdddfc4
1 changed files with 5 additions and 0 deletions

View File

@ -59,6 +59,11 @@ static IAutoComplete *test_init(void)
}
ok(SUCCEEDED(r), "no IID_IACList (0x%08x)\n", r);
if (0)
{
/* crashes on native */
r = IAutoComplete_Init(ac, hEdit, NULL, NULL, NULL);
}
/* bind to edit control */
r = IAutoComplete_Init(ac, hEdit, acSource, NULL, NULL);
ok(SUCCEEDED(r), "Init failed (0x%08x)\n", r);