Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the major and minor version number of the type information.
Syntax
HRESULT SetVersion(
[in] WORD wMajorVerNum,
[in] WORD wMinorVerNum
);
Parameters
[in] wMajorVerNum
The major version number.
[in] wMinorVerNum
The minor version number.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Success. |
|
Cannot write to the destination. |
|
The state of the type library is not valid for this operation. |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | oaidl.h |