GetOperatingSystemDisplayString Function

Action

Returns the long name of the operating system.

Include File

Kernel.bdh

Syntax

GetOperatingSystemDisplayString(displayString : out dstring) : boolean;

Return value

  • true if successful

  • false otherwise

Parameter Description
displayString The long name of the operating system

Example

dcltrans
  transaction TMain
  var
    display : string;
  begin
   if GetOperatingSystemDisplayString(display) then
      Print(display);
    end;
  end TMain;

Output

Microsoft Windows 7 Enterprise Edition (build 7600), 64-bit