This topic has not yet been rated - Rate this topic

DLLVERSIONINFO2 structure

Applies to: desktop apps only

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

Minimum supported client

Windows 2000 Professional, Windows XP

Minimum supported server

Windows Server 2003

Header

Shlwapi.h

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ