Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This function sets the version of the process.
Syntax
BOOL CeSetProcessVersion( HANDLE hProcess, DWORD dwVersion ); |
Parameters
- hProcess
-
[in] Handle to the process.
- dwVersion
-
[in] HIWORD( dwVersion) contains the major version and LOWORD( dwVersion) contains the minor version. Use MAKELONG( dwMinor, dwMajor) as the version parameter.
Return Value
TRUE indicates success. FALSE indicates failure.
Windows Mobile Remarks
The following code example changes the version.
Copy Code | |
---|---|
#define WM_VER [num]. //set to desired version. CeSetProcessVersion(GetCurrentProcess(), MAKELONG(0,WM_VER)) |
Requirements
Header | psapi.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE .NET 4.2 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |