// versionhelpers.h
VERSIONHELPERAPI IsWindowsServer();
View the official Win32 API referenceNo description available.
Indicates if the current OS is a Windows Server release. Applications that need to distinguish between server and client versions of Windows should call this function.
True if the current OS is a Windows Server version; otherwise, false.