Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kType_ParseEnumerator | ( | kType | type,
|  | k32s * | value,
|  | const kChar * | displayName
| ) |  |

Parses an enumerator value from a text buffer using the enumerator display name.

If a matching enumerator display name cannot be found, the value field will receive 0 and the return value will be kERROR_NOT_FOUND.

Parameters

  type | Type.
  value | Receives parsed enumerator value.
  displayName | Enumerator display name.

Returns
  Operation status (see notes).