Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. DWORD dwNeeded;
  2. LPBYTE lpDriverInfo;
  3. DWORD dwReturned;
  4. DRIVER_INFO_8 *pInfo;
  5. DWORD i;
  6.  
  7. EnumPrinterDrivers(NULL,
  8. NULL,
  9. 8,
  10. NULL,
  11. 0,
  12. &dwNeeded,
  13. &dwReturned);
  14.  
  15. lpDriverInfo = new BYTE[dwNeeded];
  16. if (lpDriverInfo == NULL) {
  17. return NULL;
  18. }
  19.  
  20. EnumPrinterDrivers(NULL,
  21. NULL,
  22. 8,
  23. lpDriverInfo,
  24. dwNeeded,
  25. &dwNeeded,
  26. &dwReturned);
  27.  
  28. pInfo = (DRIVER_INFO_8 *)lpDriverInfo;
  29.  
  30. cVersion 3 unsigned long
  31. pName 0x0000000000496994 L"Microsoft Shared Fax Driver" wchar_t *
  32. pEnvironment 0x000000000049697c L"Windows x64" wchar_t *
  33. pDriverPath 0x0000000000496916 L"C:\Windows\system32\spool\DRIVERS\x64\3\FXSDRV.DLL" wchar_t *
  34. pDataFile 0x00000000004968b2 L"C:\Windows\system32\spool\DRIVERS\x64\3\FXSUI.DLL" wchar_t *
  35. pConfigFile 0x000000000049684e L"C:\Windows\system32\spool\DRIVERS\x64\3\FXSUI.DLL" wchar_t *
  36. pHelpFile 0x0000000000000000 <NULL> wchar_t *
  37. pDependentFiles 0x0000000000496574 L"C:\Windows\system32\spool\DRIVERS\x64\3\FXSWZRD.DLL" wchar_t *
  38. pMonitorName 0x0000000000000000 <NULL> wchar_t *
  39. pDefaultDataType 0x0000000000000000 <NULL> wchar_t *
  40. pszzPreviousNames 0x0000000000000000 <NULL> wchar_t *
  41. ftDriverDate {dwLowDateTime=2743894016 dwHighDateTime=29791429 } _FILETIME
  42. dwlDriverVersion 1688854653387882 unsigned __int64
  43. pszMfgName 0x000000000049683a L"Microsoft" wchar_t *
  44. pszOEMUrl 0x0000000000000000 <NULL> wchar_t *
  45. pszHardwareID 0x0000000000496808 L"microsoftmicrosoft_s7d14" wchar_t *
  46. pszProvider 0x00000000004967f4 L"Microsoft" wchar_t *
  47. pszPrintProcessor 0x00000000004967e2 L"winprint" wchar_t *
  48. pszVendorSetup 0x0000000000000000 <NULL> wchar_t *
  49. pszzColorProfiles 0x0000000000000000 <NULL> wchar_t *
  50. pszInfPath 0x0000000000496712 L"C:\Windows\System32\DriverStore\FileRepository\prnms002.inf_amd64_neutral_d834e48846616289\prnms002.inf" wchar_t *
  51. dwPrinterDriverAttributes 1 unsigned long
  52. pszzCoreDriverDependencies 0x0000000000000000 <NULL> wchar_t *
  53. ftMinInboxDriverVerDate {dwLowDateTime=0 dwHighDateTime=0 } _FILETIME
  54. dwlMinInboxDriverVerVersion 0 unsigned __int64
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement