GetObjectName

From SIMboxWiki
Jump to navigation Jump to search

Description

Use the function GetObjectName to get the name of a specified object. The name is used only for annotation.

Syntax

ZS_DECL LPCSTR ZSAPI GetObjectName(UINT nID);

Parameters

UINT nID

[in] Handle to object.

Return Value

Pointer to null terminated string that contains the object name.

Remarks

The name of an object is typically taken from the model file name.