GetFilePathByHandle function

通过文件句柄获取文件、设备对象、内核对象的路径


Function:

LPCSTR UAPI GetFilePathByHandle(
        int hFile
);

Parameters:

  • hFile [in]:文件句柄

Notes:文件句柄由 CreateFile function 所返回

Return value:

  • Type:LPCSTR
  • Text:成功返回文件、设备对象、内核对象的路径,失败返回 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 ""