wbemprox: Implement Win32_VideoController.PNPDeviceID.
This commit is contained in:
parent
375dcf799d
commit
22f8205335
|
@ -342,7 +342,8 @@ static const struct column col_videocontroller[] =
|
|||
{ prop_currentverticalresW, CIM_UINT32 },
|
||||
{ prop_descriptionW, CIM_STRING|COL_FLAG_DYNAMIC },
|
||||
{ prop_deviceidW, CIM_STRING|COL_FLAG_KEY },
|
||||
{ prop_nameW, CIM_STRING|COL_FLAG_DYNAMIC }
|
||||
{ prop_nameW, CIM_STRING|COL_FLAG_DYNAMIC },
|
||||
{ prop_pnpdeviceidW, CIM_STRING }
|
||||
};
|
||||
|
||||
static const WCHAR baseboard_manufacturerW[] =
|
||||
|
@ -394,6 +395,10 @@ static const WCHAR sounddevice_productnameW[] =
|
|||
{'W','i','n','e',' ','A','u','d','i','o',' ','D','e','v','i','c','e',0};
|
||||
static const WCHAR videocontroller_deviceidW[] =
|
||||
{'V','i','d','e','o','C','o','n','t','r','o','l','l','e','r','1',0};
|
||||
static const WCHAR videocontroller_pnpdeviceidW[] =
|
||||
{'P','C','I','\\','V','E','N','_','1','0','0','2','&','D','E','V','_','6','7','1','8','&',
|
||||
'S','U','B','S','Y','S','_','2','2','0','1','1','4','5','8','&','R','E','V','_','0','0','\\',
|
||||
'4','&','3','8','A','C','1','8','A','C','&','0','&','0','0','0','9',0};
|
||||
|
||||
#include "pshpack1.h"
|
||||
struct record_baseboard
|
||||
|
@ -540,6 +545,7 @@ struct record_videocontroller
|
|||
const WCHAR *description;
|
||||
const WCHAR *device_id;
|
||||
const WCHAR *name;
|
||||
const WCHAR *pnpdevice_id;
|
||||
};
|
||||
#include "poppack.h"
|
||||
|
||||
|
@ -1235,6 +1241,7 @@ done:
|
|||
rec->description = heap_strdupW( name );
|
||||
rec->device_id = videocontroller_deviceidW;
|
||||
rec->name = heap_strdupW( name );
|
||||
rec->pnpdevice_id = videocontroller_pnpdeviceidW;
|
||||
|
||||
TRACE("created 1 row\n");
|
||||
table->num_rows = 1;
|
||||
|
|
Loading…
Reference in New Issue