GetFileAttrInfo function
获取指定文件的属性标志
Function:
int UAPI GetFileAttrInfo(
LPCSTR lpcFile
);
Parameters:
- lpcFile [in]:文件路径
Return value:
- Type:int
- Text:成功返回文件属性标志,失败返回 NULL
Notes:文件属性标志应参考 Const FileAttr 中所定义的标志
Remarks:
开发者可以通过使用 IsFileAttr function 对获取到的文件标志进行检查
Requirements:
| Keyword | Value |
|---|---|
| Minimum Agine Version | 171012.1 |
| Minimum SDK Version | 171012.1 |
| Header File | h.files |
| Library Server | kext |