3.2.5.4.1 SchRpcHighestVersion (Opnum 0)

The SchRpcHighestVersion method MUST return the highest version of the Task Scheduler Remoting Protocol that is supported by the server.<65>

 HRESULT SchRpcHighestVersion(
   [out] DWORD* pVersion
 );

pVersion: The server MUST return the highest version of the Task Scheduler Remoting Protocol that is supported by the server. This version MUST be in the format 0xMMMMmmmm, where 'M' stands for the major version hex digits and 'm' stands for the minor version hex digits. pVersion SHOULD be set to 0x00010002 or 0x00010003.

Value

Meaning

0x00010002

Version 1.2 of the protocol is in use.

0x00010003

Version 1.3 of the protocol is in use.

0x00010004

Version 1.4 of the protocol is in use.

Return Values: For more information on return codes, see section 2.3.14, or Win32 Error Codes in [MS-ERREF] section 2.1.

Upon receipt of the SchRpcHighestVersion call, the server MUST return the highest version of the Task Scheduler Remoting Protocol that is supported by the server in the pVersion parameter.