Fixed the structure allignment of some cursor/icon related structures.
authorHartmut Birr <osexpert@googlemail.com>
Wed, 28 Dec 2005 20:34:10 +0000 (20:34 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Wed, 28 Dec 2005 20:34:10 +0000 (20:34 +0000)
svn path=/trunk/; revision=20404

reactos/include/win32k/ntusrtyp.h

index c94598e..93ba9cd 100644 (file)
@@ -22,6 +22,7 @@ typedef struct _PATRECT
 } PATRECT, * PPATRECT;\r
 \r
 /* Structures for reading icon/cursor files and resources */\r
+#pragma pack(push,1)\r
 typedef struct _ICONIMAGE\r
 {\r
     BITMAPINFOHEADER icHeader;      // DIB header\r
@@ -107,6 +108,7 @@ typedef struct
     WORD idCount;                       // How many images?\r
     GRPCURSORICONDIRENTRY idEntries[1]; // The entries for each image\r
 } GRPCURSORICONDIR;\r
+#pragma pack(pop)\r
 \r
 typedef struct _THRDCARETINFO\r
 {\r