mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +00:00
Display adapter information
svn path=/trunk/; revision=29224
This commit is contained in:
parent
2c239e0bd6
commit
aa782313a8
|
@ -51,6 +51,25 @@ InitDisplayAdapterDialog(PDESKDISPLAYADAPTER This)
|
|||
|
||||
LocalFree((HLOCAL)lpAdapterName);
|
||||
}
|
||||
|
||||
if (This->DeskExtInterface != NULL)
|
||||
{
|
||||
SetDlgItemTextW(This->hwndDlg,
|
||||
IDC_CHIPTYPE,
|
||||
This->DeskExtInterface->ChipType);
|
||||
SetDlgItemTextW(This->hwndDlg,
|
||||
IDC_DACTYPE,
|
||||
This->DeskExtInterface->DacType);
|
||||
SetDlgItemTextW(This->hwndDlg,
|
||||
IDC_MEMORYSIZE,
|
||||
This->DeskExtInterface->MemorySize);
|
||||
SetDlgItemTextW(This->hwndDlg,
|
||||
IDC_ADAPTERSTRING,
|
||||
This->DeskExtInterface->AdapterString);
|
||||
SetDlgItemTextW(This->hwndDlg,
|
||||
IDC_BIOSINFORMATION,
|
||||
This->DeskExtInterface->BiosString);
|
||||
}
|
||||
}
|
||||
|
||||
static INT_PTR CALLBACK
|
||||
|
|
|
@ -8,5 +8,16 @@ BEGIN
|
|||
GROUPBOX "Adapter Type", -1, 7, 3, 237, 50
|
||||
LTEXT "", IDC_ADAPTERNAME, 40, 17, 190, 20
|
||||
PUSHBUTTON "&Properties", IDC_ADAPTERPROPERTIES, 177, 33, 59, 14
|
||||
GROUPBOX "Adapter Information", -1, 7, 56, 237, 75
|
||||
LTEXT "Chip Type:", -1, 13, 68, 58, 8
|
||||
LTEXT "", IDC_CHIPTYPE, 71, 68, 160, 8
|
||||
LTEXT "DAC Type:", -1, 13, 80, 58, 8
|
||||
LTEXT "", IDC_DACTYPE, 71, 80, 160, 8
|
||||
LTEXT "Memory Size:", -1, 13, 92, 58, 8
|
||||
LTEXT "", IDC_MEMORYSIZE, 71, 92, 160, 8
|
||||
LTEXT "Adapter String:", -1, 13, 104, 58, 8
|
||||
LTEXT "", IDC_ADAPTERSTRING, 71, 104, 160, 8
|
||||
LTEXT "BIOS Information:", -1, 13, 116, 58, 8
|
||||
LTEXT "", IDC_BIOSINFORMATION, 71, 116, 160, 8
|
||||
END
|
||||
|
||||
|
|
|
@ -4,6 +4,11 @@
|
|||
#define IDD_DISPLAYADAPTER 100
|
||||
|
||||
#define IDC_ADAPTERNAME 201
|
||||
#define IDC_ADAPTERPROPERTIES 201
|
||||
#define IDC_ADAPTERPROPERTIES 202
|
||||
#define IDC_CHIPTYPE 203
|
||||
#define IDC_DACTYPE 204
|
||||
#define IDC_MEMORYSIZE 205
|
||||
#define IDC_ADAPTERSTRING 206
|
||||
#define IDC_BIOSINFORMATION 207
|
||||
|
||||
#endif /* __RESOURCE__H */
|
||||
|
|
Loading…
Reference in a new issue