DBMGetTableSize
Description
ƯÁ¤ Å×À̺íÀÌ Â÷ÁöÇÏ°í ÀÖ´Â spaceÀÇ Å©±â¸¦ ±¸ÇÑ´Ù.
Syntax
DBMErr DBMGetTableSize(TableId tableId, P_U32 size);
Parameters
tableId
Å×À̺íÀÇ ID
size
ƯÁ¤ Å×À̺íÀÌ Â÷ÁöÇÏ°í ÀÖ´Â ÃÑ ¹ÙÀÌÆ® ¼ö
Returns
value
¼³¸í
DBM_OK
¼º°øÀûÀ¸·Î ¼öÇàµÈ °æ¿ì
DBM_INVALID_TABLE_ID
ÁÖ¾îÁø Å×À̺í id¸¦ °®´Â Å×À̺íÀÌ Á¸ÀçÇÏÁö ¾Ê´Â °æ¿ì
DBM_DB_NOT_INITED
µ¥ÀÌŸº£À̽º°¡ ÃʱâȵǾî ÀÖÁö ¾ÊÀº °æ¿ì
Comments
Å×À̺í Çì´õ, À妽º, Category Á¤º¸, °¢ ·¹ÄÚµå(·¹ÄÚµå Çì´õ+µ¥ÀÌŸ)°¡ Å×À̺í Å©±â¿¡ Æ÷ÇԵȴÙ.
Example
#include "dbm.h"
void main(void)
{
U32 size;
TableId tableId = 1;
DBMErr ret;
ret = DBMGetTableSize(tableId, &size);
if (ret == DBM_OK)
//Success!
else
// error handling
}