Hi,
i need TdeviceMode record declaration to get the list of available screen resolutions in windows with EnumDisplaySettings.
i found it in struct.inc
but when i compile, it does nothing because there is a conditional define inside that says {$ifdef read_interface}
if i declare {$define read_interface} it compiles but i get errors saying "identifier not found ULONG"
can someone help me out with this ? how do i get access to win32 api TdeviceMode declaration ?
thank you
PS: i'm creating pure windows applications and i don't care about portability. So don't bother about portability if you have a solution