#include <nitro/env.h>
u32 ENV_GetType( const char* name );
name |
The pointer to the resource name. If this character string begins with a ". " (a period), the class name is considered to be omitted and the current class is filled in before that period. |
The resource type. It will be ENV_RESTYPE_xxx.
This function gets the resource type from the resource name.
The resource type is determined based on how the resource was defined.
ENV_RESTYPE_NONE | If the specified resource does not exist: |
ENV_RESTYPE_STRING | A character string resource defined with ENV_STRING(). |
ENV_RESTYPE_BINARY | Binary resource defined with ENV_BINARY(). |
ENV_RESTYPE_S8 | An s8 value resource defined with ENV_S8(). |
ENV_RESTYPE_U8 | A u8 value resource defined with ENV_U8(). |
ENV_RESTYPE_S16 | An s16 value resource defined with ENV_S16(). |
ENV_RESTYPE_U16 | A u16 value resource defined with ENV_U16(). |
ENV_RESTYPE_S32 | An s32 value resource defined with ENV_S32(). |
ENV_RESTYPE_U32 | A u32 value resource defined with ENV_U32(). |
ENV_RESTYPE_S64 | An s64 value resource defined with ENV_S64(). |
ENV_RESTYPE_U64 | A u64 value resource defined with ENV_U64(). |
ENV_RESTYPE_BOOL | A BOOL value resource defined with ENV_BOOL(). |
ENV_Init, ENV_Get*, ENV_GetSize, ENV_SetClass
08/16/2005 Initial version.