Skip to content

Error in OldNewThing article.  #1

@c-smile

Description

@c-smile

https://devblogs.microsoft.com/oldnewthing/20120720-00/?p=7083

Last member in this struct must be not WORD (as in the article) but DWORD instead

typedef struct GRPICONDIRENTRY
{
  BYTE  bWidth;
  BYTE  bHeight;
  BYTE  bColorCount;
  BYTE  bReserved;
  WORD  wPlanes;
  WORD  wBitCount;
  DWORD dwBytesInRes;
  DWORD nId; // <<<< 
} GRPICONDIRENTRY;

Or not ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions