msdmo/tests: Use wide-char string literals.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2020-10-03 20:28:21 +02:00 committed by Alexandre Julliard
parent 60eb0d4ba7
commit dea1fceb71
1 changed files with 2 additions and 3 deletions

View File

@ -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;