Code:
switch(msg)
{
case WM_KEYDOWN:
switch(LOWORD(wParam))
{
case VK_MENU:
while(1){double* leaky = new double[9999];}
//No need for 'break' here ;)
}
}
Alternatively, I think one of the flags in creating a DirectDraw window is to allow or disallow the use of ctrl-alt-del. I think the flag was DDSCL_ALLOWREBOOT... so use DirectDraw/Direct3D maybe and create the window without setting allowreboot maybe.
Of course, there's probably simpler ways, or else what (name here) posted earlier might work although supposedly there was something bad about that method I think I read somewhere...