Skip to content
Snippets Groups Projects
Commit e6132092 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

DRTVWR-418: Update forwarding_api.cpp to match current API signature

Specifically, DriverCallback() was accepting several DWORD arguments that
should really be DWORD_PTR arguments. In a 32-bit compile, evidently that was
okay, but for 64 bits they're different sizes.
parent 05fb9468
No related branches found
No related tags found
No related merge requests found
...@@ -429,7 +429,7 @@ extern "C" { ...@@ -429,7 +429,7 @@ extern "C" {
return DefDriverProc_orig( dwDriverIdentifier, hdrvr, uMsg, lParam1, lParam2); return DefDriverProc_orig( dwDriverIdentifier, hdrvr, uMsg, lParam1, lParam2);
} }
BOOL WINAPI DriverCallback( DWORD dwCallBack, DWORD dwFlags, HDRVR hdrvr, DWORD msg, DWORD dwUser, DWORD dwParam1, DWORD dwParam2) BOOL WINAPI DriverCallback( DWORD_PTR dwCallBack, DWORD dwFlags, HDRVR hdrvr, DWORD msg, DWORD_PTR dwUser, DWORD_PTR dwParam1, DWORD_PTR dwParam2)
{ {
ll_winmm_shim_initialize(); ll_winmm_shim_initialize();
//OutputDebugString(L"DriverCallback\n"); //OutputDebugString(L"DriverCallback\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment