kmGetCurrentTextureStatus

Reads out information about the frame buffer memory management.

KMSTATUS KMAPI
kmGetCurrentTextureStatus(
OUT PKMFBSTATUS pFBStatus
)

Description:

This function reads out information about the frame buffer memory management. When the user prepares the following structure and passes the pointer to it, the function then sets the content of each member.
FB management information

    typedef struct tagKMFBSTATUS
    {
        /* Size Of KMFBSTATUS */
        KMDWORD     dwSize;                 /* The size of this structure                                */
        KMDWORD     dwNumberOfFreeBlocks;   /* Number of free texture management structures currently
                                               being used                                                */
        KMDWORD     dwNumberOfUsedBlocks;   /* Number of used texture management structures currently
                                               being used                                                */
        KMDWORD     dwNumberOfMaxBlocks;    /* Number of texture management structures that can be used  */
        KMDWORD     dwNumberOfVQBlocks;     /* Number of VQ texture management structures currently
                                               being used                                                */
        KMDWORD     dwNumberOfMaxVQBlocks;  /* Number of VQ texture management structures
                                               that can be used                                          */
        KMDWORD     dwSizeOfFixedArea;      /* The size of the fixed area currently being secured (bytes)*/
        KMDWORD     dwSizeOfFrameBuffer;    /* Size of the frame buffer memory (byte)                    */
    } KMFBSTATUS, PKMFBSTATUS;

Parameters:

pFBStatus(output)
This parameter is a pointer to the FB management information structure.

Return values:

Value | Explanation
--- | ---
KMSTATUS_SUCCESS | Success

kmGetCurrentTextureStatus