Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
41f13d20
Unverified
Commit
41f13d20
authored
2 years ago
by
Peter Eliasson
Committed by
GitHub
2 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Free library even if proc lookup fails (#108312)
parent
341b62d2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
win32_window.cpp
...ion_tests/flutter_gallery/windows/runner/win32_window.cpp
+1
-1
win32_window.cpp
dev/manual_tests/windows/runner/win32_window.cpp
+1
-1
win32_window.cpp
examples/api/windows/runner/win32_window.cpp
+1
-1
win32_window.cpp
examples/platform_channel/windows/runner/win32_window.cpp
+1
-1
win32_window.cpp
...templates/app_shared/windows.tmpl/runner/win32_window.cpp
+1
-1
No files found.
dev/integration_tests/flutter_gallery/windows/runner/win32_window.cpp
View file @
41f13d20
...
...
@@ -35,8 +35,8 @@ void EnableFullDpiSupportIfAvailable(HWND hwnd) {
GetProcAddress
(
user32_module
,
"EnableNonClientDpiScaling"
));
if
(
enable_non_client_dpi_scaling
!=
nullptr
)
{
enable_non_client_dpi_scaling
(
hwnd
);
FreeLibrary
(
user32_module
);
}
FreeLibrary
(
user32_module
);
}
}
// namespace
...
...
This diff is collapsed.
Click to expand it.
dev/manual_tests/windows/runner/win32_window.cpp
View file @
41f13d20
...
...
@@ -35,8 +35,8 @@ void EnableFullDpiSupportIfAvailable(HWND hwnd) {
GetProcAddress
(
user32_module
,
"EnableNonClientDpiScaling"
));
if
(
enable_non_client_dpi_scaling
!=
nullptr
)
{
enable_non_client_dpi_scaling
(
hwnd
);
FreeLibrary
(
user32_module
);
}
FreeLibrary
(
user32_module
);
}
}
// namespace
...
...
This diff is collapsed.
Click to expand it.
examples/api/windows/runner/win32_window.cpp
View file @
41f13d20
...
...
@@ -35,8 +35,8 @@ void EnableFullDpiSupportIfAvailable(HWND hwnd) {
GetProcAddress
(
user32_module
,
"EnableNonClientDpiScaling"
));
if
(
enable_non_client_dpi_scaling
!=
nullptr
)
{
enable_non_client_dpi_scaling
(
hwnd
);
FreeLibrary
(
user32_module
);
}
FreeLibrary
(
user32_module
);
}
}
// namespace
...
...
This diff is collapsed.
Click to expand it.
examples/platform_channel/windows/runner/win32_window.cpp
View file @
41f13d20
...
...
@@ -35,8 +35,8 @@ void EnableFullDpiSupportIfAvailable(HWND hwnd) {
GetProcAddress
(
user32_module
,
"EnableNonClientDpiScaling"
));
if
(
enable_non_client_dpi_scaling
!=
nullptr
)
{
enable_non_client_dpi_scaling
(
hwnd
);
FreeLibrary
(
user32_module
);
}
FreeLibrary
(
user32_module
);
}
}
// namespace
...
...
This diff is collapsed.
Click to expand it.
packages/flutter_tools/templates/app_shared/windows.tmpl/runner/win32_window.cpp
View file @
41f13d20
...
...
@@ -31,8 +31,8 @@ void EnableFullDpiSupportIfAvailable(HWND hwnd) {
GetProcAddress
(
user32_module
,
"EnableNonClientDpiScaling"
));
if
(
enable_non_client_dpi_scaling
!=
nullptr
)
{
enable_non_client_dpi_scaling
(
hwnd
);
FreeLibrary
(
user32_module
);
}
FreeLibrary
(
user32_module
);
}
}
// namespace
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment