内存缓冲区的例子 , C/C++ void * MYAPI MemoryBufferAlloc( int nBufSize,BOOL bAutoClear) { int nTotalSize = 0 ; MEMORY_BUFFER *pMem = NULL ; nTotalSize = sizeof(MEMORY_BUFFER) + nBufSize ; pMem = (MEMORY_BUFFER *)_MEM_ALLOC(nTotalSize); if( pMem != NULL ) { pMem->nTotalSize