Skip to content
Snippets Groups Projects
Commit 2cb3aeb7 authored by Erich Hoover's avatar Erich Hoover Committed by Alexandre Julliard
Browse files

ddraw: Return a DLL in szDriver for GetDeviceIdentifier.

parent 963c26b3
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ static BOOL restore_mode;
/* Device identifier. Don't relay it to WineD3D */
static const DDDEVICEIDENTIFIER2 deviceidentifier =
{
"display",
"vga.dll", /* default 2D driver */
"DirectDraw HAL",
{ { 0x00010001, 0x00010001 } },
0, 0, 0, 0,
......
......@@ -988,6 +988,8 @@ static void testddraw7(void)
if (hr==DD_OK)
{
/* szDriver contains the name of the driver DLL */
ok(strstr(pdddi2->szDriver, ".dll")!=NULL, "szDriver does not contain DLL name\n");
/* check how strings are copied into the structure */
ok(pdddi2->szDriver[MAX_DDDEVICEID_STRING - 1]==0, "szDriver not cleared\n");
ok(pdddi2->szDescription[MAX_DDDEVICEID_STRING - 1]==0, "szDescription not cleared\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment