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