I'm trying to understand what the rule is for converting hex int (decimal) and IntrPtr.
I read somewhere that it should represent the "higher memory" or something like that.
If someone could explain that to me a bit, it would be great.
But actually it's just about the following:
I want to use SendMessage to send APPCOMMAND_SAVE (int value 32).
const int WM_APPCOMMAND = 0x319;
MS docs says #define WM_APPCOMMAND / 0x0319 But that doesn't seem to make any difference. I have somehow problems with the zero signs. How ever 0x319 works.
So I found out that e.g. vol up is:
const int APPCOMMAND_VOLUME_UP = 0xA0000; // 10
Now I'm trying to convert APPCOMMAND_SAVE (32) to the right hex value:
const int APPCOMMAND_SAVE = 0x200000; //? Hex value of 32 is the right?