LMMS
Loading...
Searching...
No Matches
juce::WindowsFileHelpers Namespace Reference

Functions

static DWORD getAtts (const String &path) noexcept
static bool changeAtts (const String &path, DWORD bitsToSet, DWORD bitsToClear) noexcept
static int64 fileTimeToTime (const FILETIME *const ft) noexcept
static FILETIMEtimeToFileTime (const int64 time, FILETIME *const ft) noexcept
static String getDriveFromPath (String path)
static int64 getDiskSpaceInfo (const String &path, const bool total)
static unsigned int getWindowsDriveType (const String &path)
static File getSpecialFolderPath (int type)
static File getModuleFileName (HINSTANCE moduleHandle)
static Result getResultForLastError ()
static bool hasFileAccess (const File &file, DWORD accessType)

Function Documentation

◆ changeAtts()

bool juce::WindowsFileHelpers::changeAtts ( const String & path,
DWORD bitsToSet,
DWORD bitsToClear )
staticnoexcept

◆ fileTimeToTime()

int64 juce::WindowsFileHelpers::fileTimeToTime ( const FILETIME *const ft)
staticnoexcept

◆ getAtts()

DWORD juce::WindowsFileHelpers::getAtts ( const String & path)
staticnoexcept

◆ getDiskSpaceInfo()

int64 juce::WindowsFileHelpers::getDiskSpaceInfo ( const String & path,
const bool total )
static

◆ getDriveFromPath()

String juce::WindowsFileHelpers::getDriveFromPath ( String path)
static

◆ getModuleFileName()

File juce::WindowsFileHelpers::getModuleFileName ( HINSTANCE moduleHandle)
static

◆ getResultForLastError()

Result juce::WindowsFileHelpers::getResultForLastError ( )
static

◆ getSpecialFolderPath()

File juce::WindowsFileHelpers::getSpecialFolderPath ( int type)
static

◆ getWindowsDriveType()

unsigned int juce::WindowsFileHelpers::getWindowsDriveType ( const String & path)
static

◆ hasFileAccess()

bool juce::WindowsFileHelpers::hasFileAccess ( const File & file,
DWORD accessType )
static

◆ timeToFileTime()

FILETIME * juce::WindowsFileHelpers::timeToFileTime ( const int64 time,
FILETIME *const ft )
staticnoexcept