网站首页
词典首页
请输入您要查询的计算机术语:
术语
CMemFile::Alloc
释义
CMemFile::Alloc
BYTE* Alloc( DWORD nBytes );
返回值:
返回指向分配的内存块的指针,如果分配失败,则返回NULL。
参数:
nBytes
被分配的内存字节数说明该函数通过调用CMemFile成员函数。可覆盖该函数以实行定制的内存分配。如果已经覆盖了该函数,那么可能也希望覆盖Free和Realloc函数。缺省的行为是使用运行库函数malloc来分配内存。
请参阅:
CMemFile::Free, CMemFile::Realloc, malloc
随便看
CMDIFrameWnd::CMDIFrameWnd
CMDIFrameWnd::CreateClient
CMDIFrameWnd::GetWindowMenuPopup
CMDIFrameWnd::MDIActivate
CMDIFrameWnd::MDICascade
CMDIFrameWnd::MDIGetActive
CMDIFrameWnd::MDIIconArrange
CMDIFrameWnd::MDIMaximize
CMDIFrameWnd::MDINext
CMDIFrameWnd::MDIRestore
CMDIFrameWnd::MDISetMenu
CMDIFrameWnd::MDITile
CMemFile
CMemFile::Alloc
CMemFile::Attach
CMemFile::CMemFile
CMemFile::Detach
CMemFile::Free
CMemFile::GrowFile
CMemFile::Memcpy
CMemFile::Realloc
CMemoryException
CMemoryException::CMemoryException
CMemoryState
CMemoryState::Checkpoint
MFC类库中文详解手册包含4274条MFC类库参考词条,基本涵盖了Microsoft基本类库中的类、全局函数、全局变量和宏的内容,是计算机编程的有利工具。
Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40
更新时间:2026/1/28 10:31:45