Reference

PathCompactPathA(3w)

NAME

PathCompactPathA (SHLWAPI.@)

SYNOPSIS

BOOL PathCompactPathA
(
HDC hDC,
LPSTR lpszPath,
UINT dx
)

DESCRIPTION

Make a path fit into a given width when printed to a DC.

PARAMS

hDc [In] Destination DC.

lpszPath [In/Out] Path to be printed to hDc.

dx [In] Desired width.

RETURNS

TRUE If the path was modified/went well. FALSE Otherwise.

IMPLEMENTATION

Declared in "shlwapi.h".

Implemented in "dlls/shlwapi/path.c".

Debug channel "shell".

History