Reference

GetCurrentDirectoryA(3w)

GetCurrentDirectory32A (KERNEL32.196)

NAME

GetCurrentDirectoryA - GetCurrentDirectory32A (KERNEL32.196)

SYNOPSIS

UINT32 GetCurrentDirectoryA
(

UINT32 buflen,

LPSTR buf
);

DESCRIPTION

GetCurrentDirectory32A (KERNEL32.196).

RETURNS

X"

\Path\etc\". Despite the API description, return required length including the terminating null when buffer too small. This is the real behaviour.

SEE ALSO

GetDiskFreeSpaceA(3w), GetDiskFreeSpaceW(3w), GetDiskFreeSpaceExA(3w), GetDiskFreeSpaceExW(3w), GetDriveTypeA(3w), GetDriveTypeW(3w), GetCurrentDirectoryW(3w), SetCurrentDirectoryA(3w), SetCurrentDirectoryW(3w), GetLogicalDriveStringsA(3w), GetLogicalDriveStringsW(3w), GetLogicalDrives(3w), GetVolumeInformationA(3w), GetVolumeInformationW(3w)