Partager via


GetDllVersion (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

DWORD GetDllVersion(
  HMODULE hMod
);

Parameters

  • hMod
    [in] Handle to the desired DLL.

Return Value

The version of the system on which the DLL expects to run indicates success. 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. This function fails if hMod is an invalid value. To get extended error information, call GetLastError.

Requirements

Header winbase.h
Library coredll.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Memory Management Functions
GetProcessVersion