📄 cwddeth.h
字号:
//
// 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.
//
/****************************************************************************\
*
* Module Name cwddeth.h
* Project CWDDE
*
* Description CWDDECMD structure definition.
*
* Copyright (c) 2000 ATI Technologies Inc. (unpublished)
*
* All rights reserved. This notice is intended as a precaution against
* inadvertent publication and does not imply publication or any waiver
* of confidentiality. The year included in the foregoing notice is the
* year of creation of the work.
*
\****************************************************************************/
#ifndef _CWDDETH_H_
#define _CWDDETH_H_
#include "cwddedi.h"
#pragma pack(1)
/****************************************************************************\
* CWDDETH Sub Functions
\****************************************************************************/
#define CWDDETH_CONTROLLER_GETPALETTEDATA 0x00000001
#define CWDDETH_CONTROLLER_GETDISPLAYENABLEDDATA 0x00000002
//*************************************************************************
// CWDDETH Structures - Test Harness command structure for controller
//*************************************************************************
typedef struct tagCWDDETHCMD //test harness controller input command structure
{
// CWDDETHCMD structure.
ULONG ulSize; // size of input data in bytes
ULONG ulTHFunctionCode; // CWDDETH_CONTROLLER_...
ULONG ulIndex;
ULONG ulReserved;
} CWDDETHCMD;
typedef struct tagCWDDETHOUT //test harness controller output data structure
{
// CWDDETHCMD structure.
ULONG ulSize; // size of output data in bytes
//.....
} CWDDETHOUT;
//output structure for TestHarness Controller GETPALETTEDATA call
typedef struct tagCWDDETH_CTRL_GETPALETTEDATA_OUT
{
CWDDETHOUT Output;
RGBTRPL16 Palette[256];
} CWDDETH_CTRL_GETPALETTEDATA_OUT;
//output structure for TestHarness Controller GETCTRL_LAYENABLEDDATA call
typedef struct tagCWDDETH_CTRL_GETDISPLAYENABLEDDATA_OUT
{
CWDDETHOUT Output;
ULONG DisplayEnabled;
} CWDDETH_CTRL_GETDISPLAYENABLEDDATA_OUT;
#define CWDDE_TH_CTRL_DISP_CRT_ENABLED 0x00000001
#define CWDDE_TH_CTRL_DISP_DFP_ENABLED 0x00000002
#define CWDDE_TH_CTRL_DISP_TV_ENABLED 0x00000004
#define CWDDE_TH_CTRL_DISP_LCD_ENABLED 0x00000008
#define CWDDE_TH_CTRL_DISP_HDTV_ENABLED 0x00000010
#pragma pack()
#endif //_CWDDETH_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -