GetCurrentDirectoryA v0.1.0
Retrieves the process current directory.
Package: Windows
Microsoft documentation: GetCurrentDirectoryA
Signature
func GetCurrentDirectoryA(
bufferLength: uint32,
buffer: *char8
) -> uint32;
Returns
When the buffer is large enough, returns the path length excluding the null
terminator. If too small, returns the required size including the terminator.
Returns 0 on failure. bufferLength is measured in narrow characters.
See also
SetCurrentDirectoryA— change the current directoryWindows— the package overview