📄 ceplayerutil.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.
//
///////////////////////////////////////////////////////////////////////////////
// File: CEPlayerUtil.h
//
// Desc: These utility functions are by various components of the player.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef _CEPLAYERUTIL_H_
#define _CEPLAYERUTIL_H_
int DrawEllipsisText(HDC hDC, LPTSTR szText, int cchText, LPRECT prcText, UINT uFormat);
// This function returns true if the given character is not allowed in a filename
bool IsBadFilenameChar(TCHAR c);
// This function returns true if the given playlist is on the local device.
bool IsLocalPlaylist(LPCTSTR pszPath);
// These functions are used to change fonts.
HFONT GetBoldFont();
HFONT GetNormalFont();
// These functions are used to convert the volume to or from linear values
LONG VolumeLinToLog(short nLinKnobValue);
short VolumeLogToLin(LONG lLogValue);
#endif /* _CEPLAYERUTIL_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -