Table of Contents

dirsel_InitDS

Description

Initialise the contents of a directory selector variable (VarID_dirsel).

Function prototype

bool CExtAPI::dirsel_InitDS(ZVAR hDirSel, const char* lpStartDir);

Arguments

Name Type Comment
hDirSel ZVAR A ZVAR handle to a variable, which must be of type VarID_dirsel.
lpStartDir const char* A handle to a C-style string containing the initial directory of the directory selector variable. The directory name must be the full path, and relative paths are not supported.

Return value

False if an error occurred, and true otherwise.

Comments

None.