FreeRDP
|
Functions | |
static BOOL | BufferPool_Lock (wBufferPool *pool) |
static BOOL | BufferPool_Unlock (wBufferPool *pool) |
static BOOL | BufferPool_ShiftAvailable (wBufferPool *pool, size_t index, int count) |
static BOOL | BufferPool_ShiftUsed (wBufferPool *pool, SSIZE_T index, SSIZE_T count) |
SSIZE_T | BufferPool_GetPoolSize (wBufferPool *pool) |
SSIZE_T | BufferPool_GetBufferSize (wBufferPool *pool, const void *buffer) |
void * | BufferPool_Take (wBufferPool *pool, SSIZE_T size) |
BOOL | BufferPool_Return (wBufferPool *pool, void *buffer) |
void | BufferPool_Clear (wBufferPool *pool) |
wBufferPool * | BufferPool_New (BOOL synchronized, SSIZE_T fixedSize, DWORD alignment) |
void | BufferPool_Free (wBufferPool *pool) |
void BufferPool_Clear | ( | wBufferPool * | pool | ) |
Releases the buffers currently cached in the pool.
void BufferPool_Free | ( | wBufferPool * | pool | ) |
SSIZE_T BufferPool_GetBufferSize | ( | wBufferPool * | pool, |
const void * | buffer | ||
) |
Get the size of a pooled buffer
SSIZE_T BufferPool_GetPoolSize | ( | wBufferPool * | pool | ) |
Get the buffer pool size
|
static |
wBufferPool* BufferPool_New | ( | BOOL | synchronized, |
SSIZE_T | fixedSize, | ||
DWORD | alignment | ||
) |
Construction, Destruction
BOOL BufferPool_Return | ( | wBufferPool * | pool, |
void * | buffer | ||
) |
Returns a buffer to the pool.
|
static |
C equivalent of the C# BufferManager Class: http://msdn.microsoft.com/en-us/library/ms405814.aspx Methods
|
static |
void* BufferPool_Take | ( | wBufferPool * | pool, |
SSIZE_T | size | ||
) |
Gets a buffer of at least the specified size from the pool.
|
static |