Changeset 5462 for trunk/include/heap.h
- Timestamp:
- Apr 3, 2001, 8:53:05 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/heap.h
r2119 r5462 1 /* $Id: heap.h,v 1. 2 1999-12-18 19:30:46 achimhaExp $ */1 /* $Id: heap.h,v 1.3 2001-04-03 18:53:05 sandervl Exp $ */ 2 2 3 3 /* … … 21 21 22 22 23 //extern HANDLE SystemHeap;24 //extern HANDLE SegptrHeap;25 23 static HANDLE SegptrHeap; 26 27 //extern int HEAP_IsInsideHeap( HANDLE heap, DWORD flags, LPCVOID ptr );28 //extern SEGPTR HEAP_GetSegptr ( HANDLE heap, DWORD flags, LPCVOID ptr );29 30 //extern LPVOID HEAP_xalloc ( HANDLE heap, DWORD flags, DWORD size );31 //extern LPVOID HEAP_xrealloc ( HANDLE heap, DWORD flags, LPVOID lpMem, DWORD size );32 extern LPSTR WIN32API HEAP_strdupA ( HANDLE heap, DWORD flags, LPCSTR str );33 //extern LPWSTR HEAP_strdupW ( HANDLE heap, DWORD flags, LPCWSTR str );34 //extern LPWSTR HEAP_strdupAtoW ( HANDLE heap, DWORD flags, LPCSTR str );35 //extern LPSTR HEAP_strdupWtoA ( HANDLE heap, DWORD flags, LPCWSTR str );36 24 37 25 /* SEGPTR helper macros */ … … 59 47 60 48 61 LPVOID WIN32API HeapAlloc (HANDLE hHeap, DWORD dwFlags, DWORD dwBytes);62 LPVOID WIN32API HeapReAlloc (HANDLE hHeap, DWORD dwFlags, LPVOID lpMem, DWORD dwBytes);63 BOOL WIN32API HeapFree (HANDLE hHeap, DWORD dwFlags, LPVOID lpMem);64 HANDLE WIN32API HeapCreate (DWORD flOptions, DWORD dwInitialSize, DWORD dwMaximumSize);65 BOOL WIN32API HeapDestroy (HANDLE hHeap);66 DWORD WIN32API HeapSize (HANDLE hHeap, DWORD arg2, PVOID arg3);67 DWORD WIN32API HeapCompact (HANDLE hHeap, DWORD dwFlags);68 BOOL WIN32API HeapValidate (HANDLE hHeap, DWORD dwFlags, LPCVOID lpMem);69 BOOL WIN32API HeapUnlock (HANDLE hHeap);70 BOOL WIN32API HeapLock (HANDLE hHeap);71 BOOL WIN32API HeapWalk (HANDLE hHeap, void *lpEntry);72 HANDLE WIN32API GetProcessHeap(VOID);73 HLOCAL WIN32API LocalAlloc (UINT fuFlags, DWORD cbBytes);74 HLOCAL WIN32API LocalDiscard (HLOCAL hMem);75 UINT WIN32API LocalFlags (HLOCAL hMem);76 HLOCAL WIN32API LocalFree (HLOCAL hMem);77 HLOCAL WIN32API LocalHandle (PCVOID lpMem);78 BOOL WIN32API LocalUnlock (HLOCAL hMem);79 HLOCAL WIN32API LocalReAlloc (HLOCAL hMem, DWORD cbBytes, UINT fuFlags);80 UINT WIN32API LocalSize (HLOCAL hMem);81 PVOID WIN32API LocalLock (HLOCAL hMem);82 UINT WIN32API LocalShrink (HLOCAL hMem, UINT cbNewSize);83 UINT WIN32API LocalCompact (UINT cbNewSize);84 HGLOBAL WIN32API GlobalAlloc (UINT fuFlags, DWORD dwBytes);85 HGLOBAL WIN32API GlobalFree (HGLOBAL arg1);86 HGLOBAL WIN32API GlobalHandle (LPCVOID arg1);87 UINT WIN32API GlobalFlags (HGLOBAL arg1);88 DWORD WIN32API GlobalCompact (DWORD dwMinFree);89 PVOID WIN32API GlobalLock (HGLOBAL arg1);90 HGLOBAL WIN32API GlobalReAlloc (HGLOBAL arg1, DWORD arg2, UINT arg3);91 DWORD WIN32API GlobalSize (HGLOBAL arg1);92 BOOL WIN32API GlobalUnlock (HGLOBAL arg1);93 49 94 50
Note:
See TracChangeset
for help on using the changeset viewer.