PDA

View Full Version : enumdisplay



mm
05-21-2003, 01:14 PM
why i cant enumerate display settings
on winxp and win2000

EnumDisplaySettings(
null, // current display device
iModeNum, // graphics mode
&DevMode // graphics mode settings
);

but on win98 everything is ok

marcus256
05-21-2003, 10:32 PM
Have you initialized all variables correctly? E.g. iModeNum = 0 and DevMode.dmSize = sizeof(DEVMODE)