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

📄 ltcrt.h

📁 此代码为WCE5.0下显示器的源代码
💻 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    LTCRT.H
*  Project        ATI GDO (Graphics Dispaly Object Module)
*  Device         RageProPNP / Rage LT Pro (GDO)
*
*  Description    Global header file for GDO CRT
*
*
*  (c) 1998 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.
*
*
*  LOG OF CHANGES
*
*  05-14-98   1.0 [YK] initial revision
*
\****************************************************************************/
#ifndef _LTCRT_H
#define _LTCRT_H

#pragma pack(1)

BOOL FAR CRTEnable(HDDL hDDL, HGDO hGDO, LPHW_ASIC_ID lpHwAsicID,
                   LPHW_DISPLAY_ENABLEDATA lpEnableData);

VOID FAR CRTDisable( HGDO hGDO);

VOID FAR CRTGetDisplayPositionAdjustment(HGDO hGDO,
                                         LPHW_ADJUSTMENT lpAdjustment,
                                         LPDEVMODE_INFO lpMI);

VOID FAR CRTGetDisplaySizeAdjustment(HGDO hGDO,
                                     LPHW_ADJUSTMENT lpAdjustment,
                                     LPDEVMODE_INFO lpMI);

VOID FAR CRTSetDisplayPositionAdjustment(HGDO hGDO,
                                         LONG lVerticalAdjust,
                                         LONG lHorizontalAdjust);

BOOL FAR CRTSetDisplaySizeAdjustment(HGDO hGDO,
                                     LONG lVerticalAdjust,
                                     LONG lHorizontalAdjust);

VOID FAR CRTSetDisplayOn(HGDO hGDO, ULONG ulController);

VOID FAR CRTSetDisplayOff(HGDO hGDO, ULONG ulController);

BOOL FAR CRTIsDisplayPhysicallyConnected(HGDO hGDO);

BOOL FAR CRTIsModeSupported(HGDO hGDO,
                            LPDEVMODE_INFO lpMI,
                            ULONG ulController);

VOID FAR CRTSetDPMS(HGDO hGDO, ULONG ulState);

VOID FAR CRTSetMode(HGDO hGDO, LPDEVMODE_INFO lpMI, ULONG ulController,
                    PFNDALTIMINGS pfnDalSetAdjustmentTimings, LPHANDLE lpParameter);

VOID FAR CRTPreModeChange(HGDO hGDO, LPDEVMODE_INFO lpMI);

VOID FAR CRTPostModeChange(HGDO hGDO, LPDEVMODE_INFO lpMI);

VOID CRTSetPLLDividers(ULONG period, LPVOID RegBase,
                       ULONG ulReferenceFrequency);

BOOL FAR CRTGetEdidData(HGDO hGDO, LPEDID_BUFFER lpEdidBuffer);

BOOL FAR CRTGetMonitorInfo(HGDO hGDO, LPMONITOR_INFO lpMonitorInfo);

VOID FAR CRTBlank(HGDO hGDO, ULONG ulController, BOOL bBlank);

VOID FAR CRTGetVerticalSyncAdjustment(HGDO hGDO,
                                      LPHW_ADJUSTMENT lpAdjustment,
                                      LPDEVMODE_INFO lpMI);
VOID FAR CRTGetHorizontalSyncAdjustment(HGDO hGDO,
                                        LPHW_ADJUSTMENT lpAdjustment,
                                        LPDEVMODE_INFO lpMI);

VOID FAR CRTGetCompositeSyncAdjustment(HGDO hGDO,
                                       LPHW_ADJUSTMENT lpAdjustment,
                                       LPDEVMODE_INFO lpMI);

VOID FAR CRTSetVerticalSyncAdjustment(HGDO hGDO,
                                      LONG lNewVerticalSync);

VOID FAR CRTSetHorizontalSyncAdjustment(HGDO hGDO,
                                        LONG lNewHorizontalSync);

VOID FAR CRTSetCompositeSyncAdjustment(HGDO hGDO,
                                       LONG lNewCompositeSync);

#pragma pack()
#endif /*_LTCRT_H*/

⌨️ 快捷键说明

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