云海游戏(中国区)有限公司官网


  • Databases

    Functions

    kvmStatus kvmKmfGetDbaseFile (kvmHandle h, char *path, char *filenamebuf, size_t buflen)
     
    kvmStatus kvmKmfPutDbaseFile (kvmHandle h, char *filename)
     
    kvmStatus kvmKmfEraseDbaseFile (kvmHandle h)
     

    Detailed Description

    Function Documentation

    ◆ kvmKmfEraseDbaseFile()

    kvmStatus kvmKmfEraseDbaseFile ( kvmHandle  h)
    C#
    static Kvmlib.STATUS KmfEraseDbaseFile(Handle h, Int32 filenumber);

    Erase the database file.

    Parameters
    [in]hAn open kvmHandle.
    Returns
    kvmOK (zero) if success
    kvmERR_xxx (negative) if failure

    ◆ kvmKmfGetDbaseFile()

    kvmStatus kvmKmfGetDbaseFile ( kvmHandle  h,
    char *  path,
    char *  filenamebuf,
    size_t  buflen 
    )
    C#
    static Kvmlib.STATUS KmfGetDbaseFile(Handle h, String path, out String filenamebuf);

    Read the database file. The database will be extracted to path and the name of the created file copied to filenamebuf.

    Parameters
    [in]hAn open kvmHandle.
    [in]pathThe path where the database file will be stored.
    [out]filenamebufThe filename of the database. (should be greater then 12 bytes)
    [in]buflenThe lenght of filenamebuf
    Returns
    kvmOK (zero) if success
    kvmERR_xxx (negative) if failure
    See also
    kvmKmfPutDbaseFile()

    ◆ kvmKmfPutDbaseFile()

    kvmStatus kvmKmfPutDbaseFile ( kvmHandle  h,
    char *  filename 
    )
    C#
    static Kvmlib.STATUS KmfPutDbaseFile(Handle h, String filename);

    Write the database file

    Parameters
    [in]hAn open kvmHandle.
    [in]filenameThe full path and name of the file, e.g. C:\temp\myfile.data Note that the filename will be truncated to an 8.3 filename.
    Returns
    kvmOK (zero) if success
    kvmERR_xxx (negative) if failure
    See also
    kvmKmfGetDbaseFile()
    【网站地图】【sitemap】