from those 3 lines I cannot figure out anything and as you see probably no one will. What's this 'VirtualProtect' good for? What's 'BUTTON_MENU_START'? and so on
VirtualProtect
This function changes the access protection on a region of committed pages in the virtual address space of the calling process.
is that real what you want to do?
I suspect that it might have something to do with 'Windows Programming' forum?