Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

92 lines
3.8 KiB

/******************************************************************************
Source File: Deskadp.rc
Display detailed information about the display adapter installed in the
machine
Copyright (c) 1997-1998 by Microsoft Corporation
Change History:
12-01-97 AndreVa - Created It
******************************************************************************/
#include <windows.h>
#include "resource.h"
#include <ntverp.h>
#define VER_FILETYPE VFT_DLL
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Advanced display adapter properties"
#define VER_INTERNALNAME_STR "deskadp.dll"
#include "common.ver"
//////////////////////////////////////////////////////////////////////////////
//
// Icon
//
IDI_ADAPTER ICON DISCARDABLE "ADAPTER.ICO"
PROP_SHEET_DLG DIALOGEX 20, 20, 252, 175
STYLE DS_MODALFRAME|(DS_SETFONT|DS_FIXEDSYS) | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP | DS_NOIDLEMSG | DS_3DLOOK
CAPTION "Adapter"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Adapter Type", ID_ADP_ADPGRP, 7, 3, 237, 50
ICON IDI_ADAPTER, IDI_ADAPTER, 12, 11, 18, 20, SS_REALSIZECONTROL
LTEXT "", ID_ADP_ADAPTOR, 40, 17, 190, 20
PUSHBUTTON "&Properties", IDC_PROPERTIES, 161, 33, 75, 14
GROUPBOX "Adapter Information", ID_ADP_ADPINFGRP, 7, 56, 237, 75
LTEXT "Chip Type:", ID_ADP_AI1, 13, 68, 58, 8
LTEXT "DAC Type:", ID_ADP_AI2, 13, 80, 58, 8
LTEXT "Memory Size:", ID_ADP_AI3, 13, 92, 58, 8
LTEXT "Adapter String:", ID_ADP_AI4, 13, 104, 58, 8
LTEXT "Bios Information:", ID_ADP_AI5, 13, 116, 58, 8
LTEXT "", ID_ADP_CHIP, 71, 68, 160, 8
LTEXT "", ID_ADP_DAC, 71, 80, 160, 8
LTEXT "", ID_ADP_MEM, 71, 92, 160, 8
LTEXT "", ID_ADP_ADP_STRING, 71, 104, 160, 8
LTEXT "", ID_ADP_BIOS_INFO, 71, 116, 160, 8
PUSHBUTTON "&List All Modes...", IDC_LIST_ALL, 7, 192, 75, 14
END
DLG_SET_MODE_LIST DIALOGEX 6, 18, 225, 135
STYLE DS_MODALFRAME|(DS_SETFONT|DS_FIXEDSYS) | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
CAPTION "List All Modes"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 112, 115, 50, 15
PUSHBUTTON "Cancel", IDCANCEL, 167, 115, 50, 15
GROUPBOX "&List of valid modes", ID_MODE_LISTGRP, 6, 7, 212, 98,
WS_GROUP
LISTBOX ID_MODE_LIST, 10, 20, 204, 87,
WS_VSCROLL | WS_GROUP | WS_TABSTOP
END
STRINGTABLE DISCARDABLE PRELOAD
BEGIN
IDS_PAGE_TITLE, "Adapter"
IDS_MODE_4BIT_COLOR, "%d by %d, 16 Colors, %s"
IDS_MODE_8BIT_COLOR, "%d by %d, 256 Colors, %s"
IDS_MODE_15BIT_COLOR, "%d by %d, High Color (15 bit), %s"
IDS_MODE_16BIT_COLOR, "%d by %d, High Color (16 bit), %s"
IDS_MODE_TRUECOLOR24, "%d by %d, True Color (24 bit), %s"
IDS_MODE_TRUECOLOR32, "%d by %d, True Color (32 bit), %s"
IDS_MODE_REFRESH_DEF, "Default Refresh"
IDS_MODE_REFRESH_INT, "%d Hertz (Interlaced)"
IDS_MODE_REFRESH_HZ, "%d Hertz"
IDS_MODE_UNSETTABLE, "Mode is not actually available - bad driver"
IDS_BAD_COLOR, "Bad Color Depth - driver returning bad data"
IDS_BAD_REFRESH, "Bad Refresh Rate - driver returning bad data"
END