Author: weiden
Date: Thu Sep 27 01:19:54 2007
New Revision: 29224
URL:
http://svn.reactos.org/svn/reactos?rev=29224&view=rev
Log:
Display adapter information
Modified:
trunk/reactos/dll/win32/shellext/deskadp/deskadp.c
trunk/reactos/dll/win32/shellext/deskadp/lang/en-US.rc
trunk/reactos/dll/win32/shellext/deskadp/resource.h
Modified: trunk/reactos/dll/win32/shellext/deskadp/deskadp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shellext/deskadp…
==============================================================================
--- trunk/reactos/dll/win32/shellext/deskadp/deskadp.c (original)
+++ trunk/reactos/dll/win32/shellext/deskadp/deskadp.c Thu Sep 27 01:19:54 2007
@@ -51,6 +51,25 @@
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
Modified: trunk/reactos/dll/win32/shellext/deskadp/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shellext/deskadp…
==============================================================================
--- trunk/reactos/dll/win32/shellext/deskadp/lang/en-US.rc (original)
+++ trunk/reactos/dll/win32/shellext/deskadp/lang/en-US.rc Thu Sep 27 01:19:54 2007
@@ -8,5 +8,16 @@
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
Modified: trunk/reactos/dll/win32/shellext/deskadp/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shellext/deskadp…
==============================================================================
--- trunk/reactos/dll/win32/shellext/deskadp/resource.h (original)
+++ trunk/reactos/dll/win32/shellext/deskadp/resource.h Thu Sep 27 01:19:54 2007
@@ -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 */