diff options
| author | David Grayson <[email protected]> | 2017-04-30 07:38:25 -0700 |
|---|---|---|
| committer | David Grayson <[email protected]> | 2017-04-30 07:38:25 -0700 |
| commit | dc90db913149f0f71615bd9e07d724d3cccb20e3 (patch) | |
| tree | 613d02c6bbef9fb83b00dae1c823119eeaf52610 /setup/devcon/dump.cpp | |
| parent | ba5bfb111cf7e5689cdff405ace332781c2b5b76 (diff) | |
devcon: Add CALLBACK to DumpDeviceDriversCallback definition.
The function is passed to SetupScanFileQueue, which expects it to be a
PSP_FILE_CALLBACK.
The definition of PSP_FILE_CABLLBACK includes CALLBACK.
The definition of CALLBACK usually is __stdcall.
This change is needed for compiling devcon with mingw-w64.
Diffstat (limited to 'setup/devcon/dump.cpp')
| -rw-r--r-- | setup/devcon/dump.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/setup/devcon/dump.cpp b/setup/devcon/dump.cpp index fac6ee31..28a71ca7 100644 --- a/setup/devcon/dump.cpp +++ b/setup/devcon/dump.cpp @@ -407,8 +407,7 @@ Return Value: return TRUE; } - -UINT DumpDeviceDriversCallback(_In_ PVOID Context, _In_ UINT Notification, _In_ UINT_PTR Param1, _In_ UINT_PTR Param2) +UINT CALLBACK DumpDeviceDriversCallback(_In_ PVOID Context, _In_ UINT Notification, _In_ UINT_PTR Param1, _In_ UINT_PTR Param2) /*++ Routine Description: |
