diff --git a/examples/directx11_example/directx11_example.vcxproj b/examples/directx11_example/directx11_example.vcxproj
index 556b0427..0ad66c4f 100644
--- a/examples/directx11_example/directx11_example.vcxproj
+++ b/examples/directx11_example/directx11_example.vcxproj
@@ -79,7 +79,7 @@
- Level3
+ Level4
Disabled
..\..;%(AdditionalIncludeDirectories);$(DXSDK_DIR)Include;
@@ -92,7 +92,7 @@
- Level3
+ Level4
Disabled
..\..;%(AdditionalIncludeDirectories);$(DXSDK_DIR)Include;
@@ -105,7 +105,7 @@
- Level3
+ Level4
MaxSpeed
true
true
@@ -122,7 +122,7 @@
- Level3
+ Level4
MaxSpeed
true
true
diff --git a/examples/directx11_example/imgui_impl_dx11.cpp b/examples/directx11_example/imgui_impl_dx11.cpp
index f6ee6b5d..4e209c87 100644
--- a/examples/directx11_example/imgui_impl_dx11.cpp
+++ b/examples/directx11_example/imgui_impl_dx11.cpp
@@ -146,7 +146,7 @@ static void ImGui_ImplDX11_RenderDrawLists(ImDrawList** const cmd_lists, int cmd
g_pd3dDeviceContext->VSSetShader(NULL, NULL, 0);
}
-LRESULT ImGui_ImplDX11_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
+LRESULT ImGui_ImplDX11_WndProcHandler(HWND, UINT msg, WPARAM wParam, LPARAM lParam)
{
ImGuiIO& io = ImGui::GetIO();
switch (msg)
diff --git a/examples/directx11_example/main.cpp b/examples/directx11_example/main.cpp
index 571fe1da..3bf4924f 100644
--- a/examples/directx11_example/main.cpp
+++ b/examples/directx11_example/main.cpp
@@ -130,6 +130,9 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
int main(int argc, char** argv)
{
+ (void)argc;
+ (void)argv;
+
// Create application window
WNDCLASSEX wc = { sizeof(WNDCLASSEX), CS_CLASSDC, WndProc, 0L, 0L, GetModuleHandle(NULL), NULL, LoadCursor(NULL, IDC_ARROW), NULL, NULL, L"ImGui Example", NULL };
RegisterClassEx(&wc);
diff --git a/examples/directx9_example/directx9_example.vcxproj b/examples/directx9_example/directx9_example.vcxproj
index f4dd7ed3..beaf53ea 100644
--- a/examples/directx9_example/directx9_example.vcxproj
+++ b/examples/directx9_example/directx9_example.vcxproj
@@ -79,7 +79,7 @@
- Level3
+ Level4
Disabled
..\..;%(AdditionalIncludeDirectories);$(DXSDK_DIR)Include;
@@ -92,7 +92,7 @@
- Level3
+ Level4
Disabled
..\..;%(AdditionalIncludeDirectories);$(DXSDK_DIR)Include;
@@ -105,7 +105,7 @@
- Level3
+ Level4
MaxSpeed
true
true
@@ -122,7 +122,7 @@
- Level3
+ Level4
MaxSpeed
true
true
diff --git a/examples/directx9_example/imgui_impl_dx9.cpp b/examples/directx9_example/imgui_impl_dx9.cpp
index b64b70eb..f6f2a11a 100644
--- a/examples/directx9_example/imgui_impl_dx9.cpp
+++ b/examples/directx9_example/imgui_impl_dx9.cpp
@@ -110,7 +110,7 @@ static void ImGui_ImplDX9_RenderDrawLists(ImDrawList** const cmd_lists, int cmd_
}
}
-LRESULT ImGui_ImplDX9_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
+LRESULT ImGui_ImplDX9_WndProcHandler(HWND, UINT msg, WPARAM wParam, LPARAM lParam)
{
ImGuiIO& io = ImGui::GetIO();
switch (msg)
diff --git a/examples/directx9_example/main.cpp b/examples/directx9_example/main.cpp
index 5e0e58d6..07fbb7b4 100644
--- a/examples/directx9_example/main.cpp
+++ b/examples/directx9_example/main.cpp
@@ -43,6 +43,9 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
int main(int argc, char** argv)
{
+ (void)argc;
+ (void)argv;
+
// Create application window
WNDCLASSEX wc = { sizeof(WNDCLASSEX), CS_CLASSDC, WndProc, 0L, 0L, GetModuleHandle(NULL), NULL, LoadCursor(NULL, IDC_ARROW), NULL, NULL, L"ImGui Example", NULL };
RegisterClassEx(&wc);