|  SKYENGINE API  
      参考手册返回目录 | 
  
 (int32 code = 
      1405,  
  
  
  
     int32 mr_platEx 
    
       
uint8* input, 
int32 input_len, 
uint8** output, 
      
int32* output_len, 
MR_PLAT_EX_CB* 
  cb
)
Description
获得通过浏览器选中的文件的绝对路径。
Parameters
  
    
    
       
    Name 
      Description 
       
    input 
      无 
       
    input_len 
      无 
       
    output 
      文件绝对路径(GB编码) 
       
    output_len 
      路径的长度 
       cb 
      无 
MR_SUCCESS 成功
MR_FAILED 失败返回
MR_IGNORE 不支持该功能
/*mrp code*/
char *strpath = NULL;
int32 outputlen = 0;
uint16 *u_str = NULL;
char str[200] = {0};
mrc_platEx(1405,NULL,0,(uint8**)&strpath,(int32*)&outputlen,NULL);
u_str = (uint16*)mrc_c2u( strpath, NULL,(int32 *)&len); //gb to unicode
wstr2str((PCWSTR)u_str, (PSTR)&str[0], sizeof(str) ); //unicode to string
mrc_printf( "Get the path: %s", str );