Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
The AreShortNamesEnabled function determines whether short names are enabled for the specified volume. For more information, see Naming Files, Paths, and Namespaces.
Syntax
BOOL AreShortNamesEnabled(
HANDLE Handle,
BOOL *Enabled
);
Parameters
Handle
The handle to the volume or the handle to a file or directory that resides on the volume to query.
Enabled
A pointer to a BOOLEAN value that receives the result of the query. If TRUE, short names are enabled for the volume, otherwise FALSE is returned.
Return value
A BOOLEAN value that indicates whether the function succeeded. If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. To get extended error information, call the GetLastError function.
Requirements
| Requirement | Value |
|---|---|
| Header | fileapi.h |
| Library | kernel32.Lib |