cwbUN_GetIndexFromName

Purpose

Extracts the item index field from a fully-qualified Unity object name.

Syntax

CWBAPI unsigned int WINAPI cwbUN_GetIndexFromName(
    const char * szObjectName,
    ULONG* piIndex
    );

Parameters

const char * szObjectName - input
The Unity object name from which the item index will be extracted.
ULONG* piIndex - output
Address of an unsigned long integer that will receive the item index.

Return Codes

The following list shows common return values:

CWB_OK
Successful completion.
CWBUN_FORMAT_NOT_VALID
Specified object name is not valid.

Usage

None