Skip to content

Commit

Permalink
Update mainWindow.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
coldpon authored Jan 13, 2024
1 parent 77a96fc commit 24d8c45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions System提权工具/mainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ INT_PTR CALLBACK mainwindow(HWND hwnddlg, UINT umsg, WPARAM wparam, LPARAM lpara
int WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPSTR lpCmdLine, _In_ int nShowCmd) {

BOOL btn = EnablePrivilege(SE_DEBUG_NAME, TRUE);

SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE);
DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG1), NULL, mainwindow);
return 0;
}
}

0 comments on commit 24d8c45

Please sign in to comment.