summaryrefslogtreecommitdiff
path: root/libusb/os/driver_install.h
blob: 3a3b6a80eba33f2933db89bf3dd2447015e36cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <windows.h>
#define MAX_DESC_LENGTH 128

struct driver_info {
	struct driver_info *next;
	char desc[MAX_DESC_LENGTH];
	char vid[9];
	char pid[9];
	char mi[6];
};

struct driver_info *list_driverless(void);
char* guid_to_string(const GUID guid);
int create_inf(struct driver_info* drv_info, char* path);
int run_installer(char* path);
int update_drivers(void);