PsGetVersion function

This function is obsolete in Windows XP and later versions of the Windows operating system. Use RtlGetVersion instead.

Syntax

BOOLEAN PsGetVersion(
  PULONG          MajorVersion,
  PULONG          MinorVersion,
  PULONG          BuildNumber,
  PUNICODE_STRING CSDVersion
);

Parameters

MajorVersion

MinorVersion

BuildNumber

CSDVersion

Return value

None

Requirements

   
Minimum supported client Available starting with Windows 2000.
Target Platform Universal
Header wdm.h (include Ntddk.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL
DDI compliance rules IrqlPsPassive, PowerIrpDDis, HwStorPortProhibitedDDIs