Show / Hide Table of Contents

Class GroupIconDirectoryEntry

Information about GroupIcons.

Inheritance
System.Object
AbstractStructure
GroupIconDirectoryEntry
Namespace: PeNet.Header.Resource
Assembly: PeNet.dll
Syntax
public class GroupIconDirectoryEntry : AbstractStructure

Constructors

| Improve this Doc View Source

GroupIconDirectoryEntry(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 Source

Size

Declaration
public const ushort Size = null
Field Value
Type Description
System.UInt16

Properties

| Improve this Doc View Source

BColorCount

Color count of the corresponding icon.

Declaration
public byte BColorCount { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

BHeight

Height of the corresponding icon.

Declaration
public byte BHeight { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

BReserved

Always zero, reserved for generators.

Declaration
public byte BReserved { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

BWidth

Width of the corresponding icon.

Declaration
public byte BWidth { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

DwBytesInRes

Byte-size of the corresponding icon.

Declaration
public uint DwBytesInRes { get; set; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

NId

ID of the corresponding icon.

Declaration
public ushort NId { get; set; }
Property Value
Type Description
System.UInt16
| Improve this Doc View Source

WBitCount

Bits per pixel.

Declaration
public ushort WBitCount { get; set; }
Property Value
Type Description
System.UInt16
| Improve this Doc View Source

WPlanes

Color Planes.

Declaration
public ushort WPlanes { get; set; }
Property Value
Type Description
System.UInt16

Methods

| Improve this Doc View Source

AssociatedIcons(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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX