网站首页
词典首页
请输入您要查询的计算机术语:
术语
CMemFile::Alloc
释义
CMemFile::Alloc
BYTE* Alloc( DWORD nBytes );
返回值:
返回指向分配的内存块的指针,如果分配失败,则返回NULL。
参数:
nBytes
被分配的内存字节数说明该函数通过调用CMemFile成员函数。可覆盖该函数以实行定制的内存分配。如果已经覆盖了该函数,那么可能也希望覆盖Free和Realloc函数。缺省的行为是使用运行库函数malloc来分配内存。
请参阅:
CMemFile::Free, CMemFile::Realloc, malloc
随便看
COleControl::OnGetPredefinedValue
COleControl::OnGetViewExtent
COleControl::OnGetViewRect
COleControl::OnGetViewStatus
COleControl::OnHideToolBars
COleControl::OnInactiveMouseMove
COleControl::OnInactiveSetCursor
COleControl::OnKeyDownEvent
COleControl::OnKeyPressEvent
COleControl::OnKeyUpEvent
COleControl::OnMapPropertyToPage
COleControl::OnMnemonic
COleControl::OnProperties
COleControl::OnQueryHitPoint
COleControl::OnQueryHitRect
COleControl::OnRenderData
COleControl::OnRenderFileData
COleControl::OnRenderGlobalData
CWinApp::CloseAllDocuments
CWinApp::CreatePrinterDC
CWinApp::CWinApp
CWinApp::DoMessageBox
CWinApp::DoWaitCursor
CWinApp::Enable3dControls
CWinApp::EnableShellOpen
MFC类库中文详解手册包含4274条MFC类库参考词条,基本涵盖了Microsoft基本类库中的类、全局函数、全局变量和宏的内容,是计算机编程的有利工具。
Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40
更新时间:2026/6/14 11:52:31