Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

GetProcessVersion

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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


DWORD GetProcessVersion(
  DWORD ProcessId
);
ProcessId

[in] Process identifier of the process of interest. A value of zero specifies the calling process.

If the function succeeds, it returns the version of the system on which the process expects to run. The high word of the return value contains the major version number. The low word of the return value contains the minor version number. Zero indicates failure. To get extended error information, call GetLastError. The function fails if ProcessId is an invalid value.

GetProcessVersion performs less quickly when ProcessId is nonzero, specifying a process other than the calling process.

Headerwinbase.h
Librarycoredll.lib
Windows Embedded CEWindows CE 3.0 and later
Windows MobileWindows Mobile Version 5.0 and later
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.