Class GroupIconDirectoryEntry
Information about GroupIcons.
Inherited Members
Namespace: PeNet.Header.Resource
Assembly: PeNet.dll
Syntax
public class GroupIconDirectoryEntry : AbstractStructure
Constructors
| Edit this page View SourceGroupIconDirectoryEntry(IRawFile, long)
Create a new GroupIconDirectoryEntry instance.
Declaration
public GroupIconDirectoryEntry(IRawFile peFile, long offset)
Parameters
| Type | Name | Description |
|---|---|---|
| IRawFile | peFile | A PE file. |
| long | offset | Offset of the GroupIconDirectoryEntry structure in the PE file. |
Fields
| Edit this page View SourceSize
Declaration
public const ushort Size = 14
Field Value
| Type | Description |
|---|---|
| ushort |
Properties
| Edit this page View SourceBColorCount
Color count of the corresponding icon.
Declaration
public byte BColorCount { get; set; }
Property Value
| Type | Description |
|---|---|
| byte |
BHeight
Height of the corresponding icon.
Declaration
public byte BHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| byte |
BReserved
Always zero, reserved for generators.
Declaration
public byte BReserved { get; set; }
Property Value
| Type | Description |
|---|---|
| byte |
BWidth
Width of the corresponding icon.
Declaration
public byte BWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| byte |
DwBytesInRes
Byte-size of the corresponding icon.
Declaration
public uint DwBytesInRes { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
NId
ID of the corresponding icon.
Declaration
public ushort NId { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
WBitCount
Bits per pixel.
Declaration
public ushort WBitCount { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
WPlanes
Color Planes.
Declaration
public ushort WPlanes { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
Methods
| Edit this page View SourceAssociatedIcons(PeFile)
Searching in Resources for Icon with ID of this entry.
Declaration
public IEnumerable<Icon>? AssociatedIcons(PeFile peFile)
Parameters
| Type | Name | Description |
|---|---|---|
| PeFile | peFile | A PE file. |
Returns
| Type | Description |
|---|---|
| IEnumerable<Icon> | All icon class object corresponding to entry ID, null if no such icon exists. |