Table of Contents

dirsel_GetDirname

Description

Retrieve the selected directory name from a directory selector variable (VarID_dirsel).

Function prototype

const char* CExtAPI::dirsel_GetDirname(ZVAR hDirSel);

Arguments

Name Type Comment
hDirSel ZVAR A ZVAR handle to a VarID_dirsel variable, the selected directory name of which is to be retrieved.

Return value

A valid, null-terminated C-style string containing the selected directory name, or a null pointer if an error occurred.

If successful, the return value will be the full path to the selected directory.

Comments

None.