Purpose
Extracts the item index field from a Unity item identifier.
Syntax
CWBAPI unsigned int WINAPI cwbUN_GetIndexFromItemId(
const char * szItemId,
ULONG* piIndex
);
Parameters
- const char * szItemId - input
- The Unity item identifier 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 item identifier not valid.
Usage
None