AreShortNamesEnabled function (fileapi.h)

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

See also

Naming Files, Paths, and Namespaces