GetProcessVersion function kernel32

int GetProcessVersion(
  1. int ProcessId
)

Retrieves the major and minor version numbers of the system on which the specified process expects to run.

DWORD GetProcessVersion(
  DWORD ProcessId
);

Implementation

int GetProcessVersion(int ProcessId) => _GetProcessVersion(ProcessId);