Export (0) Print
Expand All
Expand Minimize

DLLVERSIONINFO structure

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

Note  In place of this structure, you can use the DLLVERSIONINFO2 structure.

Syntax


typedef struct _DllVersionInfo {
  DWORD cbSize;
  DWORD dwMajorVersion;
  DWORD dwMinorVersion;
  DWORD dwBuildNumber;
  DWORD dwPlatformID;
} DLLVERSIONINFO;

Members

cbSize

Type: DWORD

The size of the structure, in bytes. This member must be filled in before calling the function.

dwMajorVersion

Type: DWORD

The major version of the DLL. For instance, if the DLL's version is 4.0.950, this value will be 4.

dwMinorVersion

Type: DWORD

The minor version of the DLL. For instance, if the DLL's version is 4.0.950, this value will be 0.

dwBuildNumber

Type: DWORD

The build number of the DLL. For instance, if the DLL's version is 4.0.950, this value will be 950.

dwPlatformID

Type: DWORD

Identifies the platform for which the DLL was built. This can be one of the following values.

DLLVER_PLATFORM_WINDOWS (0x00000001)

The DLL was built for earlier Windows platforms such as Windows 95.

DLLVER_PLATFORM_NT (0x00000002)

The DLL was built for platforms such as Windows 2000, Windows Vista, or Windows 7.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlwapi.h

See also

DllGetVersion
DLLVERSIONINFO2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft