Commit dea1fceb authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msdmo/tests: Use wide-char string literals.

parent 60eb0d4b
......@@ -41,7 +41,6 @@ static const char *guid_to_string(const GUID *guid)
static void test_DMOUnregister(void)
{
static char buffer[200];
static const WCHAR testdmoW[] = {'t','e','s','t','d','m','o',0};
HRESULT hr;
hr = DMOUnregister(&GUID_unknowndmo, &GUID_unknowncategory);
......@@ -51,10 +50,10 @@ static void test_DMOUnregister(void)
ok(hr == S_FALSE, "got 0x%08x\n", hr);
/* can't register for all categories */
hr = DMORegister(testdmoW, &GUID_unknowndmo, &GUID_NULL, 0, 0, NULL, 0, NULL);
hr = DMORegister(L"testdmo", &GUID_unknowndmo, &GUID_NULL, 0, 0, NULL, 0, NULL);
ok(hr == E_INVALIDARG, "got 0x%08x\n", hr);
hr = DMORegister(testdmoW, &GUID_unknowndmo, &GUID_unknowncategory, 0, 0, NULL, 0, NULL);
hr = DMORegister(L"testdmo", &GUID_unknowndmo, &GUID_unknowncategory, 0, 0, NULL, 0, NULL);
if (hr != S_OK) {
win_skip("Failed to register DMO. Probably user doesn't have persmissions to do so.\n");
return;
......
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