Decompile fn_45435 (CWebBrowser::CreateHostWindow)
Batch #14564 by Yommy: 1 byte-identical, 0 confirmed by peer review. - fn_45435 CWebBrowser::CreateHostWindow: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
9b24ae0fcd
commit
c5c985341c
1 changed files with 3 additions and 6 deletions
|
|
@ -4,12 +4,9 @@
|
|||
// OFFSET: 0x00AB29D0
|
||||
// FUNCTION: fn_45435
|
||||
bool CWebBrowser::CreateHostWindow(HWND parent, HINSTANCE instance, int width, int height) {
|
||||
WNDCLASSEXA windowClass{};
|
||||
windowClass.cbSize = sizeof(windowClass);
|
||||
windowClass.lpfnWndProc = BrowserHostProc;
|
||||
windowClass.hInstance = instance;
|
||||
windowClass.hIcon = LoadIconA(instance, MAKEINTRESOURCEA(123));
|
||||
windowClass.lpszClassName = "ROWebBrowser";
|
||||
WNDCLASSEXA windowClass = {
|
||||
sizeof(WNDCLASSEXA), 0, BrowserHostProc, 0, 0, instance, LoadIconA(instance, MAKEINTRESOURCEA(123)), nullptr, nullptr, nullptr, "ROWebBrowser", nullptr
|
||||
};
|
||||
RegisterClassExA(&windowClass);
|
||||
this->host = CreateWindowExA(0, "ROWebBrowser", g_windowName, WS_POPUP | WS_OVERLAPPEDWINDOW, 0, 0, width, height, parent, nullptr, instance, nullptr);
|
||||
if (!this->host) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue