Table of Contents

format_GetFormatByExt2

Description

Retrieve a handle to a format, specified by its file extension, that is compatible with a user-supplied map handle.

Function prototype

ZFORMAT CExtAPI::format_GetFormatByExt2(ZMAP hMap, const char* lpFileExt);

Arguments

Name Type Comment
hMap ZMAP A ZMAP handle to an initialised map variable.
lpFileExt const char* A handle to a C-style string containing the file extension of the format to be retrieved.

Return value

A null pointer if an error occurred, and a valid non-null handle to a ZFORMAT variable otherwise.

Comments

None.