GetDllVersion (Windows CE 5.0)

Send Feedback

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

DWORDGetDllVersion(HMODULEhMod);

Parameters

  • hMod
    [in] Handle to the DLL of interest.

Return Values

If the function succeeds, the return value is the version of the system on which the DLL 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.

If the function fails, the return value is zero.

To get extended error information, call GetLastError.

The function fails if hMod is an invalid value.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Winbase.h.
Link Library: Coredll.lib.

See Also

GetProcessVersion

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.