Current News
Archived News
Search News
Discussion Forum


Old Forum
Install Programs More Downloads...
Troubleshooting
Source Code
Format Specs.
Misc. Information
Non-SF Stuff
Links




CommitLineData
3e09a0ee 1// SMem.h - Header for memory functions
2// License information for this code is in license.txt
3
4#ifndef S_MEM_INCLUDED
5#define S_MEM_INCLUDED
6
7#if (defined(_WIN32) || defined(WIN32)) && !defined(NO_WINDOWS_H)
8#include <windows.h>
9#else
10#include "wintypes.h"
11#endif
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17LPVOID WINAPI SMemAlloc(DWORD dwSize);
18void WINAPI SMemFree(LPVOID lpvMemory);
19DWORD WINAPI SMemCopy(LPVOID lpDestination, LPCVOID lpSource, DWORD dwLength);
20void WINAPI SMemZero(LPVOID lpDestination, DWORD dwLength);
21
22#ifdef __cplusplus
23}; // extern "C"
24#endif
25
26#endif
27