HRESULT SetVersion(
unsigned short wMajorVerNum,
unsigned short wMinorVerNum
);
Sets the major and minor version numbers of the type library.
The return value of the returned HRESULT is one of the following:
Return value | Meaning |
---|---|
S_OK | Success. |
TYPE_E_INVALIDSTATE | The state of the type library is not valid for this operation. |