JCL Help:NtProductType

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the Windows NT product type.


Pascal

 function NtProductType: TNtProductType;


Return Value

The edition of Windows NT. This is one of the values in the TNtProductType enumeration which is defined as: TNtProductType = (ptUnknown, ptWorkStation, ptServer, ptAdvancedServer, ptPersonal, ptProfessional, ptDatacenterServer);

  • ptUnknown Edition could not be determined. Most likely the system is not running NT
  • ptWorkStation The system is running Windows NT workstation or Windows 2000 professional.
  • ptServer The system is running Windows NT/2000 Server
  • ptAdvancedServer The system is running Windows NT/2000 Server as a (primary or backup) domain controller.
  • ptPersonal The system is running Windows XP Personal
  • ptProfessional The system is running Windows 2000/XP Professional
  • ptDatacenterServer The system is running Windows 2000 DataCenter Server


Description

NtProductType returns which edition of Windows NT is running on the system.


See Also

IsWin95 IsWin95OSR2 IsWin98 IsWin98SE IsWinME IsWinNT IsWinNT3 IsWinNT31 IsWinNT35 IsWinNT351 IsWinNT4 IsWin2K IsWinXP IsWin2003 IsWin2003R2 IsWinVista IsWinServer2008 IsWin7 IsWinServer2008R2


About

Unit

JclSysInfo


Donator

Marcel van Brakel


Contributors

Scott Price Jean-Fabien Connault


Notes

On platforms other then Windows NT/2000 this function always returns ptUnknown.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page