Package ghidra.app.util.bin.format.ne
Class ResourceType
java.lang.Object
ghidra.app.util.bin.format.ne.ResourceType
An implementation of the TTYPEINFO structure.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final short
Constant indicating an accelerator resource type.static final short
Constant indicating bitmap resource type.static final short
Constant indicating cursor resource type.static final short
Constant indicating dialog resource type.static final short
Constant indicating font resource type.static final short
Constant indicating font directory resource type.static final short
Constant indicating cursor group resource type.static final short
Constant indicating icon group resource type.static final short
Constant indicating icon resource type.static final short
Constant indicating menu resource type.static final short
Constant indicating message table resource type.static final short
Constant indicating RC data resource type.static final short
Constant indicating string resource type.static final byte
Constant indicating version resource type. -
Method Summary
-
Field Details
-
RT_CURSOR
public static final short RT_CURSORConstant indicating cursor resource type.- See Also:
-
RT_BITMAP
public static final short RT_BITMAPConstant indicating bitmap resource type.- See Also:
-
RT_ICON
public static final short RT_ICONConstant indicating icon resource type.- See Also:
-
RT_MENU
public static final short RT_MENUConstant indicating menu resource type.- See Also:
-
RT_DIALOG
public static final short RT_DIALOGConstant indicating dialog resource type.- See Also:
-
RT_STRING
public static final short RT_STRINGConstant indicating string resource type.- See Also:
-
RT_FONTDIR
public static final short RT_FONTDIRConstant indicating font directory resource type.- See Also:
-
RT_FONT
public static final short RT_FONTConstant indicating font resource type.- See Also:
-
RT_ACCELERATOR
public static final short RT_ACCELERATORConstant indicating an accelerator resource type.- See Also:
-
RT_RCDATA
public static final short RT_RCDATAConstant indicating RC data resource type.- See Also:
-
RT_MESSAGETABLE
public static final short RT_MESSAGETABLEConstant indicating message table resource type.- See Also:
-
RT_GROUP_CURSOR
public static final short RT_GROUP_CURSORConstant indicating cursor group resource type.- See Also:
-
RT_GROUP_ICON
public static final short RT_GROUP_ICONConstant indicating icon group resource type.- See Also:
-
RT_VERSION
public static final byte RT_VERSIONConstant indicating version resource type.- See Also:
-
-
Method Details
-
getTypeID
public short getTypeID()Returns the resource type ID.- Returns:
- the resource type ID
-
getCount
public short getCount()Returns the number of resources of this type.- Returns:
- the number of resources of this type
-
getReserved
public int getReserved()Returns the reserved value (purpose is unknown).- Returns:
- the reserved value
-
getResources
Returns the array of resources of this type.- Returns:
- the array of resources of this type
-
toString
-