//########################################### CPAGE_FUNC(Handle) CPAGE_GetHandlePage(uint32_t page) { PROLOG; Handle rc = Page.GetHandle(page); EPILOG; return rc; }
//########################################### CPAGE_FUNC(Handle) CPAGE_GetPageFirst(Handle type) { PROLOG; int count = Page.GetCount(); int i; #ifdef _DEBUG _ASSERT(CPAGE_GetNameInternalType(type)); #endif DefConvertInit(); for(i = 0;i<count;i++) { if(!type || PAGE_N(i).GetType()==type || PAGE_N(i).Convert(type,NULL,0)) break; } Handle rc = i < count ? Page.GetHandle(i):NULL; EPILOG; return rc; }