Compartir a través de


GetDllVersion (Compact 2013)

3/28/2014

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

See Also

Reference

Memory Management Functions
GetProcessVersion