blob: fc88b3b232bcc9c494faff6d4668ea20b1d73a99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#pragma once
#include <string>
#include "device.h"
enum class DRIVER_UPGRADE_STATUS
{
WOULD_DOWNGRADE,
WOULD_INSTALL_SAME_VERSION,
WOULD_UPGRADE
};
DRIVER_UPGRADE_STATUS
EvaluateDriverUpgrade
(
const std::wstring &existingVersion,
const std::wstring &proposedVersion
);
std::wstring
InfGetDriverVersion
(
const std::wstring &filePath
);
std::wstring
GetDriverVersion
(
const EnumeratedDevice &device
);
|