MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / Util_IsDir

Method Util_IsDir

source/script_autoit.cpp:1771–1775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1769
1770
1771bool Line::Util_IsDir(LPCTSTR szPath) // Returns true if the path is a directory
1772{
1773 DWORD dwTemp = GetFileAttributes(szPath);
1774 return dwTemp != 0xffffffff && (dwTemp & FILE_ATTRIBUTE_DIRECTORY);
1775}
1776
1777
1778

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected