template <class character>
bool get_file_attributes_extended(const character* file_name,
                                  unsigned level,
                                  void* information)

This function obtains the attributes of a file.


const character* file_name

The name of a file whose attributes are being queried. The length of the file name may not exceed path_length::maximum. On some platforms, the wide version of this function may use names exceeding path_length::maximum by prefixing the characters "\\?\" to the full path name of the file.

unsigned level

An enumerator determining the level of information being obtained.

void* information

A pointer to a buffer to hold the requested information.



true The information was sucessfully queried.
false An error occurred.