Commit 69b0b424 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

setupapi: Implement SetupDiCreateDeviceInterfaceW.

parent 707fca6c
...@@ -385,16 +385,13 @@ static void testCreateDeviceInterface(void) ...@@ -385,16 +385,13 @@ static void testCreateDeviceInterface(void)
"Expected ERROR_INVALID_USER_BUFFER, got %08x\n", GetLastError()); "Expected ERROR_INVALID_USER_BUFFER, got %08x\n", GetLastError());
ret = pSetupDiCreateDeviceInterfaceA(set, &devInfo, &guid, NULL, 0, ret = pSetupDiCreateDeviceInterfaceA(set, &devInfo, &guid, NULL, 0,
NULL); NULL);
todo_wine
ok(ret, "SetupDiCreateDeviceInterfaceA failed: %08x\n", GetLastError()); ok(ret, "SetupDiCreateDeviceInterfaceA failed: %08x\n", GetLastError());
/* Creating the same interface a second time succeeds */ /* Creating the same interface a second time succeeds */
ret = pSetupDiCreateDeviceInterfaceA(set, &devInfo, &guid, NULL, 0, ret = pSetupDiCreateDeviceInterfaceA(set, &devInfo, &guid, NULL, 0,
NULL); NULL);
todo_wine
ok(ret, "SetupDiCreateDeviceInterfaceA failed: %08x\n", GetLastError()); ok(ret, "SetupDiCreateDeviceInterfaceA failed: %08x\n", GetLastError());
ret = pSetupDiCreateDeviceInterfaceA(set, &devInfo, &guid, "Oogah", 0, ret = pSetupDiCreateDeviceInterfaceA(set, &devInfo, &guid, "Oogah", 0,
NULL); NULL);
todo_wine
ok(ret, "SetupDiCreateDeviceInterfaceA failed: %08x\n", GetLastError()); ok(ret, "SetupDiCreateDeviceInterfaceA failed: %08x\n", GetLastError());
ret = pSetupDiEnumDeviceInterfaces(set, &devInfo, &guid, 0, ret = pSetupDiEnumDeviceInterfaces(set, &devInfo, &guid, 0,
&interfaceData); &interfaceData);
......
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