-/*\r
- * Cursor and icon definitions\r
- *\r
- * Copyright 1995 Alexandre Julliard\r
- *\r
- * This library is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 2.1 of the License, or (at your option) any later version.\r
- *\r
- * This library is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with this library; if not, write to the Free Software\r
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r
- */\r
-\r
-#ifndef __WINE_CURSORICON_H\r
-#define __WINE_CURSORICON_H\r
-\r
-#include <windef.h>\r
-\r
-#include <pshpack1.h>\r
-\r
-typedef struct\r
-{\r
- BYTE bWidth;\r
- BYTE bHeight;\r
- BYTE bColorCount;\r
- BYTE bReserved;\r
-} ICONRESDIR;\r
-\r
-typedef struct\r
-{\r
- WORD wWidth;\r
- WORD wHeight;\r
-} CURSORDIR;\r
-\r
-typedef struct\r
-{ union\r
- { ICONRESDIR icon;\r
- CURSORDIR cursor;\r
- } ResInfo;\r
- WORD wPlanes;\r
- WORD wBitCount;\r
- DWORD dwBytesInRes;\r
- WORD wResId;\r
-} CURSORICONDIRENTRY;\r
-\r
-typedef struct\r
-{\r
- WORD idReserved;\r
- WORD idType;\r
- WORD idCount;\r
- CURSORICONDIRENTRY idEntries[1];\r
-} CURSORICONDIR;\r
-\r
-typedef struct {\r
- BYTE bWidth;\r
- BYTE bHeight;\r
- BYTE bColorCount;\r
- BYTE bReserved;\r
- WORD xHotspot;\r
- WORD yHotspot;\r
- DWORD dwDIBSize;\r
- DWORD dwDIBOffset;\r
-} CURSORICONFILEDIRENTRY;\r
-\r
-typedef struct\r
-{\r
- WORD idReserved;\r
- WORD idType;\r
- WORD idCount;\r
- CURSORICONFILEDIRENTRY idEntries[1];\r
-} CURSORICONFILEDIR;\r
-\r
-\r
-#include <poppack.h>\r
-\r
-#define CID_RESOURCE 0x0001\r
-#define CID_WIN32 0x0004\r
-#define CID_NONSHARED 0x0008\r
-\r
-extern void CURSORICON_FreeModuleIcons( HMODULE16 hModule );\r
-\r
-#endif /* __WINE_CURSORICON_H */\r
+/*
+ * Cursor and icon definitions
+ *
+ * Copyright 1995 Alexandre Julliard
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef __WINE_CURSORICON_H
+#define __WINE_CURSORICON_H
+
+#include <windef.h>
+
+#include <pshpack1.h>
+
+typedef struct
+{
+ BYTE bWidth;
+ BYTE bHeight;
+ BYTE bColorCount;
+ BYTE bReserved;
+} ICONRESDIR;
+
+typedef struct
+{
+ WORD wWidth;
+ WORD wHeight;
+} CURSORDIR;
+
+typedef struct
+{ union
+ { ICONRESDIR icon;
+ CURSORDIR cursor;
+ } ResInfo;
+ WORD wPlanes;
+ WORD wBitCount;
+ DWORD dwBytesInRes;
+ WORD wResId;
+} CURSORICONDIRENTRY;
+
+typedef struct
+{
+ WORD idReserved;
+ WORD idType;
+ WORD idCount;
+ CURSORICONDIRENTRY idEntries[1];
+} CURSORICONDIR;
+
+typedef struct {
+ BYTE bWidth;
+ BYTE bHeight;
+ BYTE bColorCount;
+ BYTE bReserved;
+ WORD xHotspot;
+ WORD yHotspot;
+ DWORD dwDIBSize;
+ DWORD dwDIBOffset;
+} CURSORICONFILEDIRENTRY;
+
+typedef struct
+{
+ WORD idReserved;
+ WORD idType;
+ WORD idCount;
+ CURSORICONFILEDIRENTRY idEntries[1];
+} CURSORICONFILEDIR;
+
+
+#include <poppack.h>
+
+#define CID_RESOURCE 0x0001
+#define CID_WIN32 0x0004
+#define CID_NONSHARED 0x0008
+
+extern void CURSORICON_FreeModuleIcons( HMODULE16 hModule );
+
+#endif /* __WINE_CURSORICON_H */