| 443 | #include <atlbase.h> |
| 444 | |
| 445 | struct ICONDIRENTRY |
| 446 | { |
| 447 | UCHAR nWidth; |
| 448 | UCHAR nHeight; |
| 449 | UCHAR nNumColorsInPalette; // 0 if no palette |
| 450 | UCHAR nReserved; // should be 0 |
| 451 | WORD nNumColorPlanes; // 0 or 1 |
| 452 | WORD nBitsPerPixel; |
| 453 | ULONG nDataLength; // length in bytes |
| 454 | ULONG nOffset; // offset of BMP or PNG data from beginning of file |
| 455 | }; |
| 456 | |
| 457 | // Helper class to release GDI object handle when scope ends: |
| 458 | class CGdiHandle |
nothing calls this directly
no outgoing calls
no test coverage detected