DLLVERSIONINFO2 structure (shlwapi.h)

Receives DLL-specific version information. It is used with the DllGetVersion function.

Syntax

typedef struct _DLLVERSIONINFO2 {
  DLLVERSIONINFO info1;
  DWORD          dwFlags;
  ULONGLONG      ullVersion;
} DLLVERSIONINFO2;

Members

info1

Type: DLLVERSIONINFO

A DLLVERSIONINFO structure. This member is included to provide backward compatibility with applications that are not expecting a DLLVERSIONINFO2 structure.

dwFlags

Type: DWORD

Reserved.

ullVersion

Type: ULONGLONG

A value that contains the version information. It is divided into four 16-bitfields containing the major and minor version numbers, the build number, and the hotfix version, in that order. Use the MAKEDLLVERULL macro to construct this value.

Remarks

Your application must set the cbSize member of the structure pointed to by info1 to sizeof(DLLVERSIONINFO2) before calling DllGetVersion. Otherwise, no value will be assigned to the dwFlags or ullVersion member of the DLLVERSIONINFO2 structure.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header shlwapi.h