Leaked source code of windows server 2003
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

  1. //
  2. // util.h: Declares data, defines and struct types for common code
  3. // module.
  4. //
  5. //
  6. #ifndef __UTIL_H__
  7. #define __UTIL_H__
  8. #if defined(DEBUG) && defined(WIN95)
  9. LPCTSTR PUBLIC Dbg_GetReterr(RETERR ret);
  10. #endif
  11. //
  12. // FINDDEV structure
  13. //
  14. typedef struct tagFINDDEV
  15. {
  16. HDEVINFO hdi;
  17. SP_DEVINFO_DATA devData;
  18. HKEY hkeyDrv;
  19. TCHAR szPort[MAX_BUF_SHORT];
  20. } FINDEV, FAR * LPFINDDEV;
  21. BOOL
  22. PUBLIC
  23. FindDev_Create(
  24. OUT LPFINDDEV FAR * ppfinddev,
  25. IN LPGUID pguidClass,
  26. IN LPCTSTR pszValueName,
  27. IN LPCTSTR pszValue);
  28. BOOL
  29. PUBLIC
  30. FindDev_Destroy(
  31. IN LPFINDDEV this);
  32. #endif // __UTIL_H__