Table of Contents

zfile_TrimExt

Description

Trim the file extension from a given file name.

Files

Declaration zFile.h
Implementation zFile.cpp

Function prototype

bool zfile_TrimExt(const char* lpFileName, ZSTR hResult);

Arguments

Name Type Comment
lpFileName const char* A pointer to a C-style string containing a file name, the extension of which is to be trimmed off.
hResult ZSTR A ZSTR handle to a string variable that is to receive the file name with the extension trimmed off.

Return value

False if an error occurred, and true otherwise.

Comments

None.