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