You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
725 B
40 lines
725 B
//
|
|
// 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__
|
|
|