MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Browser / LaunchWindow

Method LaunchWindow

BrowserWindow.cpp:135–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133
134
135BOOL BrowserWindow::LaunchWindow(_In_ HINSTANCE hInstance, _In_ int nCmdShow)
136{
137 // BrowserWindow keeps a reference to itself in its host window and will
138 // delete itself when the window is destroyed.
139 BrowserWindow* window = new BrowserWindow();
140 if (!window->InitInstance(hInstance, nCmdShow))
141 {
142 delete window;
143 return FALSE;
144 }
145 return TRUE;
146}
147
148//
149// FUNCTION: InitInstance(HINSTANCE, int)

Callers

nothing calls this directly

Calls 1

InitInstanceMethod · 0.80

Tested by

no test coverage detected