Commit 24ffba47 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

psapi: GetProcessImageFileName gets character count as argument.

parent d3057eef
......@@ -645,7 +645,7 @@ static void test_GetProcessImageFileName(void)
}
SetLastError(0xdeadbeef);
pGetProcessImageFileNameW(NULL, szImgPathW, sizeof(szImgPathW));
pGetProcessImageFileNameW(NULL, szImgPathW, ARRAY_SIZE(szImgPathW));
ok(GetLastError() == ERROR_INVALID_HANDLE, "expected error=ERROR_INVALID_HANDLE but got %d\n", GetLastError());
/* no information about correct buffer size returned: */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment