Commit 87b41b73 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

mfplat/tests: Skip MFTRegister() tests if permissions are too low.

parent 9ce8592b
......@@ -73,9 +73,12 @@ static void test_register(void)
HRESULT ret;
ret = MFTRegister(DUMMY_CLSID, MFT_CATEGORY_OTHER, name, 0, 1, input, 1, output, NULL);
ok(ret == S_OK, "Failed to register dummy filter: %x\n", ret);
if (FAILED(ret))
if (ret == E_ACCESSDENIED)
{
win_skip("Not enough permissions to register a filter\n");
return;
}
ok(ret == S_OK, "Failed to register dummy filter: %x\n", ret);
if(0)
{
......
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