Zen API
 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
typeType.
valueReceives parsed enumerator value.
displayNameEnumerator display name.
Returns
Operation status (see notes).