Commit 89f67d7b authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

Add RegUnLoadKey test.

parent 0e21f376
......@@ -382,7 +382,16 @@ static void test_reg_load_key()
ret = RegOpenKey(HKEY_LOCAL_MACHINE, "Test", &hkHandle);
ok(ret == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %ld\n", ret);
delete_key(hkHandle);
RegCloseKey(hkHandle);
}
static void test_reg_unload_key()
{
DWORD ret;
ret = RegUnLoadKey(HKEY_LOCAL_MACHINE, "Test");
ok(ret == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %ld\n", ret);
DeleteFile("saved_key");
}
......@@ -397,6 +406,7 @@ START_TEST(registry)
test_reg_delete_key();
test_reg_save_key();
test_reg_load_key();
test_reg_unload_key();
/* cleanup */
delete_key( hkey_main );
......
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