---
name: "GetCurrentDirectoryA"
section: "3w"
platform: "linux"
package: "wine-doc"
version: "0.0.981018-1.1"
release: "Debian 2.1 (Slink)"
platforms: ["linux"]
url: "https://new.carta.tech/GetCurrentDirectoryA"
---

# 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)](/GetDiskFreeSpaceA/3w.md), [GetDiskFreeSpaceW(3w)](/GetDiskFreeSpaceW/3w.md), [GetDiskFreeSpaceExA(3w)](/GetDiskFreeSpaceExA/3w.md), [GetDiskFreeSpaceExW(3w)](/GetDiskFreeSpaceExW/3w.md), [GetDriveTypeA(3w)](/GetDriveTypeA/3w.md), [GetDriveTypeW(3w)](/GetDriveTypeW/3w.md), [GetCurrentDirectoryW(3w)](/GetCurrentDirectoryW/3w.md), [SetCurrentDirectoryA(3w)](/SetCurrentDirectoryA/3w.md), [SetCurrentDirectoryW(3w)](/SetCurrentDirectoryW/3w.md), [GetLogicalDriveStringsA(3w)](/GetLogicalDriveStringsA/3w.md), [GetLogicalDriveStringsW(3w)](/GetLogicalDriveStringsW/3w.md), [GetLogicalDrives(3w)](/GetLogicalDrives/3w.md), [GetVolumeInformationA(3w)](/GetVolumeInformationA/3w.md), [GetVolumeInformationW(3w)](/GetVolumeInformationW/3w.md)
