MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / OpenMessageBox

Function OpenMessageBox

IntelPresentMon/Core/source/win/MessageBox.cpp:8–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace p2c::win
7{
8 void OpenMessageBox(const std::wstring& title, const std::wstring& body, Window* pWindow)
9 {
10 MessageBoxW(pWindow ? pWindow->GetHandle() : nullptr, body.c_str(), title.c_str(), MB_ICONERROR);
11 }
12}

Callers

nothing calls this directly

Calls 1

GetHandleMethod · 0.45

Tested by

no test coverage detected