GetVersion

Returns the assembly version.

Syntax

HRESULT GetVersion(
WORD* major,
WORD* minor,
WORD* build,
WORD* revision
);

Parameters

major
Major version number.

minor
Minor version number.

build
Build number.

revision
Revision number.

Return Values

S_OK
The function succeeded.

Other
The function failed. Use the Microsoft errlook.exe utility to determine the meaning of this value.

Remarks

The major and minor version numbers define the version of the release. Build and revision numbers are used internally and should be ignored.

More Information

KBDTools Functions