winstl/shell/memory/functions.h File Reference


Detailed Description

[C, C++] Shell memory functions (Memory Library).

#include <winstl/winstl.h>
#include <shlobj.h>

Go to the source code of this file.

Namespaces

namespace  winstl

Functions

STLSOFT_INLINE void * winstl__SHMemAlloc (size_t cb)
 [C only] Allocates a block of shell memory.
STLSOFT_INLINE void winstl__SHMemFree (void *pv)
 [C only] Deallocates a block of shell memory previously allocated by a call to winstl__SHMemAlloc(), winstl__SHMemRealloc() or through the IMalloc::Alloc() or IMalloc::Realloc() methods on the shell allocator (obtained via SHGetMalloc()).
STLSOFT_INLINE void * winstl__SHMemRealloc (void *pv, size_t cb)
 [C only] Rellocates a block of shell memory.
STLSOFT_INLINE size_t winstl__SHMemGetSize (void *pv)
 [C only] Gives the size of a memory block
STLSOFT_INLINE ws_sint_t winstl__SHMemDidAlloc (void *pv)
 [C only] Determines allocation ownership of a memory block
STLSOFT_INLINE void winstl__SHMemHeapMinimise (void)
 [C only] Minimises the heap
void * SHMemAlloc (size_t cb)
 Allocates a block of shell memory.
void SHMemFree (void *pv)
 Deallocates a block of shell memory.
void * SHMemRealloc (void *pv, size_t cb)
 Changes the size of a previously allocated block of shell memory.
size_t SHMemGetSize (void *pv)
 Gives the size of a memory block.
ws_sint_t SHMemDidAlloc (void *pv)
 Determines allocation ownership of a memory block.
void SHMemHeapMinimise ()
 Minimises the heap.
void SHMemHeapMinimize ()
 Minimises the heap.


Generated on Thu Jun 10 08:57:56 2010 for STLSoft by  doxygen 1.5.6