Show / Hide Table of Contents

Class GroupIconDirectoryEntry

Information about GroupIcons.

Inheritance
object
AbstractStructure
GroupIconDirectoryEntry
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: PeNet.Header.Resource
Assembly: PeNet.dll
Syntax
public class GroupIconDirectoryEntry : AbstractStructure

Constructors

| Edit this page View Source

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

Size

Declaration
public const ushort Size = 14
Field Value
Type Description
ushort

Properties

| Edit this page View Source

BColorCount

Color count of the corresponding icon.

Declaration
public byte BColorCount { get; set; }
Property Value
Type Description
byte
| Edit this page View Source

BHeight

Height of the corresponding icon.

Declaration
public byte BHeight { get; set; }
Property Value
Type Description
byte
| Edit this page View Source

BReserved

Always zero, reserved for generators.

Declaration
public byte BReserved { get; set; }
Property Value
Type Description
byte
| Edit this page View Source

BWidth

Width of the corresponding icon.

Declaration
public byte BWidth { get; set; }
Property Value
Type Description
byte
| Edit this page View Source

DwBytesInRes

Byte-size of the corresponding icon.

Declaration
public uint DwBytesInRes { get; set; }
Property Value
Type Description
uint
| Edit this page View Source

NId

ID of the corresponding icon.

Declaration
public ushort NId { get; set; }
Property Value
Type Description
ushort
| Edit this page View Source

WBitCount

Bits per pixel.

Declaration
public ushort WBitCount { get; set; }
Property Value
Type Description
ushort
| Edit this page View Source

WPlanes

Color Planes.

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

Methods

| Edit this page 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
IEnumerable<Icon>

All icon class object corresponding to entry ID, null if no such icon exists.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX