KMemBase.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1k
- //---------------------------------------------------------------------------
- // Sword3 Engine (c) 1999-2000 by Kingsoft
- //
- // File: KMemBase.h
- // Date: 2000.08.08
- // Code: WangWei(Daphnis)
- // Desc: Header File
- //---------------------------------------------------------------------------
- #ifndef KMemBase_H
- #define KMemBase_H
- //---------------------------------------------------------------------------
- ENGINE_API void g_MemInfo(void);
- ENGINE_API void* g_MemAlloc(DWORD dwSize);
- ENGINE_API void g_MemFree(LPVOID lpMem);
- ENGINE_API void g_MemCopy(LPVOID lpDest, LPVOID lpSrc, DWORD dwLen);
- ENGINE_API void g_MemCopyMmx(LPVOID lpDest, LPVOID lpSrc, DWORD dwLen);
- ENGINE_API BOOL g_MemComp(LPVOID lpDest, LPVOID lpSrc, DWORD dwLen);
- ENGINE_API void g_MemFill(LPVOID lpDest, DWORD dwLen, BYTE byFill);
- ENGINE_API void g_MemFill(LPVOID lpDest, DWORD dwLen, WORD wFill);
- ENGINE_API void g_MemFill(LPVOID lpDest, DWORD dwLen, DWORD dwFill);
- ENGINE_API void g_MemZero(LPVOID lpDest, DWORD dwLen);
- ENGINE_API void g_MemXore(LPVOID lpDest, DWORD dwLen, DWORD dwXor);
- //---------------------------------------------------------------------------
- #endif