ImageEn, unit hyieutils

TIEResourceExtractor.GetFrameBuffer

TIEResourceExtractor.GetFrameBuffer


Declaration

function GetFrameBuffer(TypeIndex: integer; NameIndex: integer; FrameIndex: integer; var BufferLength: integer): pointer;


Description

Returns the buffer of specified frame, for multi-frame resources.
TypeIndex must point to a 'GroupIcon' or 'GroupCursor'.

Parameter Description
TypeIndex Index of resource type. 0 is first resource type, TypesCount-1 is the last resource type
NameIndex Index of actual resource. 0 is first resource name, NamesCount-1 is the last resource name
FrameIndex The frame index. 0 is first resource name, GroupCountFrames-1 is the last frame
BufferLength