Reference

_splitpath(3w)

NAME

_splitpath (NTDLL.@)

SYNOPSIS

void _splitpath
(
const char* inpath,
char* drv,
char* dir,
char* fname,
char* ext
)

DESCRIPTION

Split a path into its component pieces.

PARAMS

inpath [In] Path to split.

drv [Out] Destination for drive component (e.g. "A:"). Must be at least 3 characters.

dir [Out] Destination for directory component. Should be at least MAX_PATH characters.

fname [Out] Destination for File name component. Should be at least MAX_PATH characters.

ext [Out] Destination for file extension component. Should be at least MAX_PATH characters.

RETURNS

Nothing.

IMPLEMENTATION

Declared in "tchar.h".

Implemented in "dlls/ntdll/string.c".

History