3.1.4.1 GetSupportedVersion (Opnum 0)
The GetSupportedVersion method is invoked by the client to get the minimum and maximum versions of the protocol that the server supports.
DWORD GetSupportedVersion(
[out] DWORD * MinVersion,
[out] DWORD * MaxVersion);
MinVersion: The minimum version of the protocol that the server supports.
MaxVersion: The maximum version of the protocol that the server supports.
Return Values: The method returns one of the values specified in section 2.2.4. The most common error codes are listed below.
|
Return value/code |
Description |
|
0x80070005 E_ACCESSDENIED |
The caller does not have the permissions to perform the operation. |
The server MUST set MinVersion to the global MinServerVersion, MaxVersion to the global MaxServerVersion, and MUST return ZERO to the caller.