@@ -231,47 +231,47 @@ ResToText::DumpEntry(const ResEntry& entry)
231
231
{
232
232
switch (entry.type .m_id )
233
233
{
234
- case (WORD)(INT_PTR)RT_CURSOR:
234
+ case 1 : // RT_CURSOR
235
235
return DoCursor (entry);
236
- case (WORD)(INT_PTR)RT_BITMAP:
236
+ case 2 : // RT_BITMAP
237
237
return DoBitmap (entry);
238
- case (WORD)(INT_PTR)RT_ICON:
238
+ case 3 : // RT_ICON
239
239
return DoIcon (entry);
240
- case (WORD)(INT_PTR)RT_MENU:
240
+ case 4 : // RT_MENU
241
241
return DoMenu (entry);
242
- case (WORD)(INT_PTR)RT_DIALOG:
242
+ case 5 : // RT_DIALOG
243
243
return DoDialog (entry);
244
- case (WORD)(INT_PTR)RT_STRING:
244
+ case 6 : // RT_STRING
245
245
return DoString (entry);
246
- case (WORD)(INT_PTR)RT_FONTDIR:
246
+ case 7 : // RT_FONTDIR
247
247
break ;
248
- case (WORD)(INT_PTR)RT_FONT:
248
+ case 8 : // RT_FONT
249
249
break ;
250
- case (WORD)(INT_PTR)RT_ACCELERATOR:
250
+ case 9 : // RT_ACCELERATOR
251
251
return DoAccel (entry);
252
- case (WORD)(INT_PTR)RT_RCDATA:
252
+ case 10 : // RT_RCDATA
253
253
return DoText (entry);
254
- case (WORD)(INT_PTR)RT_MESSAGETABLE:
254
+ case 11 : // RT_MESSAGETABLE
255
255
break ;
256
- case (WORD)(INT_PTR)RT_GROUP_CURSOR:
256
+ case 12 : // RT_GROUP_CURSOR
257
257
return DoGroupCursor (entry);
258
- case (WORD)(INT_PTR)RT_GROUP_ICON:
258
+ case 14 : // RT_GROUP_ICON
259
259
return DoGroupIcon (entry);
260
- case (WORD)(INT_PTR)RT_VERSION:
260
+ case 16 : // RT_VERSION
261
261
return DoVersion (entry);
262
- case (WORD)(INT_PTR)RT_DLGINCLUDE:
262
+ case 17 : // RT_DLGINCLUDE
263
263
break ;
264
- case (WORD)(INT_PTR)RT_PLUGPLAY:
264
+ case 19 : // RT_PLUGPLAY
265
265
break ;
266
- case (WORD)(INT_PTR)RT_VXD:
266
+ case 20 : // RT_VXD
267
267
break ;
268
- case (WORD)(INT_PTR)RT_ANICURSOR:
268
+ case 21 : // RT_ANICURSOR
269
269
return DoAniCursor (entry);
270
- case (WORD)(INT_PTR)RT_ANIICON:
270
+ case 22 : // RT_ANIICON
271
271
return DoAniIcon (entry);
272
- case (WORD)(INT_PTR)RT_HTML:
272
+ case 23 : // RT_HTML
273
273
return DoText (entry);
274
- case (WORD)(INT_PTR)RT_MANIFEST:
274
+ case 24 : // RT_MANIFEST
275
275
return DoText (entry);
276
276
default :
277
277
return DoText (entry);
0 commit comments