GetFileFolder function

获取指定文件路径所在的文件夹(目录)路径


Function:

LPCSTR UAPI GetFileFolder(
        LPCSTR lpcFile
);

Parameters:

  • lpcFile [in]:文件路径

Return value:

  • Type:LPCSTR
  • Text:成功返回文件所在文件夹的路径,否则返回 NULLPTR

Remarks:

如参数 lpcFile 所指定的文件路径无上层文件夹(目录),则直接返回 lpcFile 参数所指定的字符串,而不是返回 NULLPTR

Requirements:

Keyword Value
Minimum Agine Version 171012.1
Minimum SDK Version 171012.1
Header File h.files
Library Server kext

results matching ""

    No results matching ""