Viewing ICON files

BlitzPlus Forums/BlitzPlus Beginners Area/Viewing ICON files

Thanks Once Again! - Finally though, one other thing. You know the declerations file you supplied, it declares the "ExtractIconA" function whereas on the MSDN it refers to it symply as "ExtractIcon". Is there any difference between these 2 commands and if so what difference is there.

Also, how do you specify a parameter as boolean in a decleration file. (Strings are specified using $, Integer with %, Floating Point with # Boolean ???) E.g. the RealDriveType function requires you to pass the drive number and also a reserved boolean value of 0. This value doesn't change. I have delcared it in the declarations file as:
.lib "shell32.dll"
DriveType%(DriveNumber%,0):"RealDriveType"

But it doesn't work. Blitz+ won't open with this command and it comes up with an error. I tried the following, which works:
.lib "shell32.dll"
DriveType%(DriveNumber%,Reserved%):"RealDriveType"

However, I don't know if I used the right variable type to specify a boolean value. (Are integar and boolean the same.) It just seems a bit pointless having to put a 0 every time the function is called when it's the same every time. Can it be done?

Hope you understand what I mean. More information on this can be found at this MSDN link.

Thanks

Seb