| Debugging Tools for Windows | 
The GetModuleVersionInformation and GetModuleVersionInformationWide methods return version information for the specified module.
HRESULT
  IDebugSymbols2::GetModuleVersionInformation(
    IN ULONG  Index,
    IN ULONG64  Base,
    IN PCSTR  Item,
    OUT OPTIONAL PVOID  Buffer,
    IN ULONG  BufferSize,
    OUT OPTIONAL PULONG  VerInfoSize
    );
HRESULT
  IDebugSymbols3::GetModuleVersionInformationWide(
    IN ULONG  Index,
    IN ULONG64  Base,
    IN PCWSTR  Item,
    OUT OPTIONAL PVOID  Buffer,
    IN ULONG  BufferSize,
    OUT OPTIONAL PULONG  VerInfoSize
    );
#ifdef UNICODE
#define GetModuleVersionInformationT GetModuleVersionInformationWide
#else
#define GetModuleVersionInformationT GetModuleVersionInformation
#endif
This method may also return other error values. See Return Values for more details.
GetModuleVersionInformation is available in IDebugSymbols2 and later versions. GetModuleVersionInformationWide is available in IDebugSymbols3 and later versions.
Module version information is available only for loaded modules and may not be available in all sessions.
For more information about modules, see Modules.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.