Reference

PathGetDriveNumberA(3w)

NAME

PathGetDriveNumberA (SHLWAPI.@)

SYNOPSIS

int PathGetDriveNumberA
(
LPCSTR lpszPath
)

DESCRIPTION

Return the drive number from a path.

PARAMS

lpszPath [In] Path to get the drive number from.

RETURNS

Success: The drive number corresponding to the drive in the path

Failure: -1, if lpszPath contains no valid drive

IMPLEMENTATION

Declared in "shlwapi.h".

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

Debug channel "shell".

History