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

📄 advbacklight.h

📁 此压缩包为杰得开发得z228的BSP的源代码,可以实现很多功能,尤其是视频解码有很好的效果.
💻 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.
 * 	
 * 	THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
 *	ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
 *	THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
 *	PARTICULAR PURPOSE.
 *
 *	Copyright (C) 2003, Motorola Inc. All Rights Reserved
 *
 * 	File:		APPS/ADVBACKLIGHT/advbacklight.h
 * 	Purpose:	Function prototypes for code in customised 
 *				"Advanced..." button under Display Properties\Backlight tab
 *
 * 	Notes:		This is for WinCE only
 *
 * 	Author:	    
 * 	Date:		
 *
 * 	Modifications:
 *  MM/DD/YYYY      Initials     	Change description 
 *  11/28/2003		SYF				Modified to support runtime backlight levels
 *									
 */
#ifndef _APPS_ADVBACKLIGHT_ADVBACKLIGHT_H
#define _APPS_ADVBACKLIGHT_ADVBACKLIGHT_H

#include <windows.h>
#include <windowsx.h>
#include <commctrl.h>
#include <string.h>
#include <Winuser.h>
#include <prsht.h>

#include "resource.h"

/*********************************************************************
 MACRO DEFINITIONS 
*********************************************************************/
#define EVENTNAME_BACKLIGHTLEVELCHANGEEVENT		L"BackLightLevelChangeEvent"

/*********************************************************************
 ENUMERATIONS AND STRUCTURES 
*********************************************************************/
/*********************************************************************
 FUNCTION PROTOTYPES
*********************************************************************/

void GetFromRegistry(DWORD *dwState1, DWORD *dwState2, LPCTSTR lpszRegKey, 
					 LPCTSTR lpszUseBat, LPCTSTR lpszUseExt); 
void SetToRegistry(DWORD *dwState1, DWORD *dwState2, LPCTSTR lpszRegKey, 
				   LPCTSTR lpszRegValue1, LPCTSTR lpszRegValue2); 
BOOL APIENTRY AdvancedDlgProc (HWND hDlg, UINT message, UINT wParam, LONG lParam);
extern "C" BOOL BacklightAdvApplet(HWND hDlg);
extern "C" BOOL DllEntry(HANDLE hInstance, DWORD fdwReason, LPVOID lpvReserved);

void InitSliders(HWND hDlg, DWORD dwBattBacklightLevel, DWORD dwExtBacklightLevel);
void UpdateBklSettings(HWND hDlg);
void RestoreBklSettings(DWORD dwBattLevel, DWORD dwExtLevel);

/*********************************************************************
 EXTERN DECLARATIONS
*********************************************************************/
/*********************************************************************
 CLASS DEFINITIONS
*********************************************************************/
#endif  // _APPS_ADVBACKLIGHT_ADVBACKLIGHT_H

/*********************************************************************
 END OF	FILE
*********************************************************************/

⌨️ 快捷键说明

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