GetVersion method

Gets the version.

Syntax

HRESULT retVal = object.GetVersion(pdwVersionMS, pdwVersionLS);

Parameters

  • pdwVersionMS [out]
    Type: DWORD

    A pointer to the version.

  • pdwVersionLS [out]
    Type: DWORD

    A pointer to the version.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.