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

📄 winsys.h

📁 Lido PXA270平台开发板的最新BSP,包括源代码
💻 H
字号:
/******************************************************************************
* Name         : winsys.h
* Title        : System dependant functions.
* Author(s)    : Imagination Technologies
* Created      : 1st August 2003
*
* Copyright    : 2003 by Imagination Technologies Limited.
*                All rights reserved.  No part of this software, either
*                material or conceptual may be copied or distributed,
*                transmitted, transcribed, stored in a retrieval system 
*                or translated into any human or computer language in any
*                form by any means, electronic, mechanical, manual or
*                other-wise, or disclosed to third parties without the
*                express written permission of Imagination Technologies
*                Limited, Unit 8, HomePark Industrial Estate, 
*                King's Langley, Hertfordshire, WD4 8LZ, U.K.
*
* Description  : System dependant functions.
*
* Platform     : Generic
*
* Notes        : formerly system.h mks rev 1.4
*
* Modifications:-
* $Log: winsys.h $
*
*
******************************************************************************/

#if !defined (__WINSYS_H__)
#define __WINSYS_H__


/*****************************************************************************
 FN prototypes
*****************************************************************************/
BOOL InitializeSystemMem();
BOOL DestroySystemMemHeap();

PVOID AllocSharedMem(DWORD dwSize);

void FreeSharedMem(PVOID pvMem);

BOOL ReadRegStringDWORD(DWORD dwDevCookie,
						PSTR pszKey,
						PSTR pszValue,
						PDWORD pdwValue);

BOOL WriteRegString(DWORD dwDevCookie,
					PSTR pszKey,
					PSTR pszValue,
					PSTR pszString);

BOOL GetCurProcessName(PSTR pszOutBuf, DWORD dwOutBufSize);

BOOL AppendFileSizeToName(PSTR pszOutBuf, 
						  DWORD dwOutBufSize,
						  PSTR pszFileName);

/*****************************************************************************
 AllocSharedMem trickiness when MEMCHK is defined
*****************************************************************************/
//#define MEMCHK
#ifdef MEMCHK

PVOID DBGAllocSharedMem(DWORD dwSize, PSTR pszFile, DWORD dwLine);

#define AllocSharedMem(dwSize) DBGAllocSharedMem(dwSize, __FILE__, __LINE__)

#endif /* #ifdef MEMCHK */

#endif /* __WINSYS_H__ */

/*****************************************************************************
 End of file (winsys.h)
*****************************************************************************/

⌨️ 快捷键说明

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