//\r
// Register to be notified on exit boot services so we can destroy the window.\r
//\r
- Status = gBS->CreateEvent (\r
- EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
+ Status = gBS->CreateEventEx (\r
+ EVT_NOTIFY_SIGNAL,\r
TPL_CALLBACK,\r
KillNtGopThread,\r
Private,\r
+ &gEfiEventExitBootServicesGuid,\r
&mGopScreenExitBootServicesEvent\r
);\r
\r