blob: 34eeb23fe4f3df9ae88ebef1f77dfd79a97a6d3d (
plain) (
blame)
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
31
32
33
34
35
36
37
38
39
40
|
//
// util.h: Declares data, defines and struct types for common code
// module.
//
//
#ifndef __UTIL_H__
#define __UTIL_H__
#if defined(DEBUG) && defined(WIN95)
LPCTSTR PUBLIC Dbg_GetReterr(RETERR ret);
#endif
//
// FINDDEV structure
//
typedef struct tagFINDDEV
{
HDEVINFO hdi;
SP_DEVINFO_DATA devData;
HKEY hkeyDrv;
TCHAR szPort[MAX_BUF_SHORT];
} FINDEV, FAR * LPFINDDEV;
BOOL
PUBLIC
FindDev_Create(
OUT LPFINDDEV FAR * ppfinddev,
IN LPGUID pguidClass,
IN LPCTSTR pszValueName,
IN LPCTSTR pszValue);
BOOL
PUBLIC
FindDev_Destroy(
IN LPFINDDEV this);
#endif // __UTIL_H__
|