SKYENGINE API  参考手册返回目录  

 
int32 mr_platEx

(int32 code = 1315,
uint8* input,
int32 input_len,
uint8** output,
int32* output_len,
MR_PLAT_EX_CB* cb
)



Description
获取激活层信息。
Parameters

Name Description
input
input_len
output T_LAYER_INFO数据结构指针
output_len T_LAYER_INFO数据结构大小
cb

Return Value

MR_SUCCESS                   成功
MR_FAILED                      失败
MR_IGNORE                     不支持该功能

Remarks

T_LAYER_INFO数据结构:
typedef struct
{
    int32 handle;
    int32 w;
    int32 h;
    char *buffer;
}T_LAYER_INFO;

Example

/*mrp code*/

T_LAYER_INFO *acLayInfo = NULL;
int32 len,re;
re = mrc_platEx( 1315, NULL, 0, (uint8**)&acLayInfo, (int32*)&len, NULL );
if(MR_SUCCESS == re)
{
    mrc_printf( "Get active layer:%d", acLayInfo->handle );
}

See Also

 


Copyright ?2005-20010 SKY-MOBI

返回目录