Creates a name string.
char* MakeName (char* outputNameBuf, int32 maxNameLen, char* baseNameString, int32 uniqueID)
Creates a name string from the specified prefix and unique identifier. MakeName()
is used in the DataStreamer to create names for threads and semaphores.
MakeName()
does not check whether the name it creates is actually unique.
outputNameBuf
Pointer assigned to the unique name.maxNameLen
Length of the unique name.baseNameString
Character string used as a prefix to the unique name.uniqueID
Unique number.NULL
Length of name exceeded maxNameLenMakeName.h