⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 registry_dal.h

📁 此代码为WCE5.0下显示器的源代码
💻 H
📖 第 1 页 / 共 3 页
字号:
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//

#ifndef _REGISTRY_DAL_H
#define _REGISTRY_DAL_H

/*****************************Private*Definition*****************************\
*
* PRIVATE DAL REGISTRY KEY DEFINITIONS (INTERNAL ONLY)
*
\****************************************************************************/


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, TV and LCD are not 
allowed to be mapped on the same controller. This restriction is imposed 
while booting-up, when finding a best view or validating a controller config. 
If flag is not set or set to any value other than 1 then there is no such restrictions.
*/
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_NOTVANDLCDONSAMECONTROLLER     "DALRULE_NOTVANDLCDONCRTC"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, all devices that are 
connected at boot are forced active by default. The mapping of displays is 
saved on the basis of active devices. If flag is not set or set to any value 
other than 1 then the mapping is saved based on the connected displays.
*/
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_USEDEVICESELECTEDSCHEME        "DALRULE_SELECTION_SCHEME"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, DALGetModesAvailable 
function will only return modes to the driver that is at least supported by
one of the connected displays. If the flag is not set or set to any value 
other than 1 then all the modes that the controller support is returned to 
the driver.
*/
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_DISPLAYSRESTRICTMODES          "DALRULE_DISPLAYSRESTRICTMODES"


/* DESCRIPTION
Restrict mode enumration to exclude all lagrge desktop mode.
*/
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_DISPLAYSRESTRICTMODESLOWEST       "DALRULE_DISPLAYSRESTRICTMODESLOWEST"


/* DESCRIPTION
Restrict mode enumration to include modes upto resolution of the least capable device.
*/
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_DISPLAYSRESTRICTMODESLARGEDESKTOP "DALRULE_DISPLAYSRESTRICTMODESLARGEDESKTOP"


/* DESCRIPTION
If this flag is set, OS unknow monitor behavior is overwritten by DAL.
*/
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_RESTRICTUNKNOWNMONITOR         "DALRULE_RESTRICTUNKNOWNMONITOR"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, then in Win9x when plug & play 
is checked only EDID information is used to qualify mode supported by the CRT. If the 
flag is not set or set to any value other than 1 then both EDID and OS Monitor Info 
is used to qualify modes supported by the CRT.
*/
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_DDCOVERRIDESPNP                "DALRULE_DDCOVERRIDESPNP"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, then default mode is not 
applied after a fresh driver installation. If the flag is not set or set to any 
value other than 1 then a specific mode is forced by DAL after a new driver installation.
*/
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_NOFORCEBOOT                    "DALRULE_NOFORCEBOOT"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, all the 8bpp modes 
are restricted on the second driver for 2 CRTC ASIC. DalValidateMode fails 
all 8bpp modes validation on the second driver. If the flag is not set or set
to any value other than 1 then no such restriction is imposed. 
*/
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_RESTRICT8BPPON2NDDRV           "DALRULE_RESTRICT8BPPON2NDDRV"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, HTIME mode validation calls 
are skipped. If the flag is not set or set to any value other than 1 then HTIME 
validation is enabled.  (THIS IS FOR TESTING ONLY)
*/
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_DISABLEHTIMECALCULATION        "DALRULE_DISABLEHTIME"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, BANDWIDTH mode validation 
code is skipped. If the flag is not set or set to any value other than 1 then 
BANDWIDTH validation is enabled again. (THIS IS FOR TESTING ONLY)
*/
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_DISABLEBANDWIDTHCALCULATION    "DALRULE_DISABLEBANDWIDTH"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, then the default display 
to controller mapping is set such that maximum number of devices are mapped to 
the primary and the rest are turned off. So that by default after the boot secondary 
is always turned off.
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_DEFAULTSONPRIMARYONLY          "DALRULE_DEFAULTSONPRIMARYONLY"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, Boot-up behavior is based 
on the devices selected in the last session.*/
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_USELASTSELECTEDSCHEME          "DALRULE_USELASTSELECTEDSCHEME"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, maximum resolution supported 
by the non-DDC (unknown) monitors is restricted to 640x480 @ 60 Hz. If the flag is 
not set or set to any value other than 1 then by default non-DDC (unknown) monitors 
can support all modes up to 1600x1200 at refresh rates of 60 Hz and below.
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_RESTRICTNONDDCCRTTO640x480     "DALRULE_RESTRICTNONDDCCRTTO640x480"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, all low resolution modes  
(< 640x480) @ 60Hz will automatically be supported by all DDC Monitors. 
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_ALLOWLOWRESAT60FORDDCCRT       "DALRULE_ALLOWLOWRESAT60FORDDCCRT"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, then all the display devices 
that report enabled at boot will be used for boot-up instead of the connected displays. 
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_USEENABLEDATBOOTSCHEME         "DALRULE_USEENABLEDATBOOTSCHEME"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, then the value of the expansion 
adjustment is obtained by the GCO at boot provided GCO hooks to an optional function to 
get expansion status. If the flag is not set or set to any value other than 1 then the 
value is obtained from the registry or GCO default is used.
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_GETVGAEXPANSIONATBOOT          "DALRULE_GETVGAEXPANSIONATBOOT"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, the default boot-up table is 
created such that if CRT is present it is always turned ON while LCD and other devices 
are turned OFF. If the flag is not set or set to any value other than 1 then by 
default LCD has higher priority than CRT. 
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_SETCRTOVERLCDASDEFAULT         "DALRULE_SETCRTOVERLCDASDEFAULT"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, CRT and LCD are not allowed 
to be mapped on the same controller. This restriction is imposed while booting-up, 
when finding a best view or validating a controller config. If flag is not set or set 
to any other value than 1 then there is no such restrictions.
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/
#define DALREGKEY_NOCRTANDLCDONSAMECONTROLLER    "DALRULE_NOCRTANDLCDONSAMECONTROLLER"


/* DESCRIPTION
If the value of this flag is set to 1 in the registry, then DAL does not perform new 
display detection on an AdapterGetInfo CWDDE call instead it just returns the saved 
value from the detection done at boot. If the flag is not set or set to any value other 
than 1 then on every AdapterGetInfo call DAL performs a new physical display detection. 
/* LOCATION Win9x
HKEY_LOCAL_MACHINE\Software\ATI Technologies\Driver\xxxx\Dal
*/
/* LOCATION NT
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ "Miniort_Name"\Device0
*/
/* TYPE
Binary  
*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -