3.1.5.1 R_InetInfoGetVersion (Opnum 0)
The R_InetInfoGetVersion method is called by the client. In response, the server returns its version information.
-
DWORD R_InetInfoGetVersion( [in, string, unique] INET_INFO_IMPERSONATE_HANDLE pszServer, [in] DWORD dwReserved, [out] DWORD* pdwVersion );
pszServer: A custom binding handle for the target system, as specified in section 2.1.1. The value MUST NOT be used by the server implementation.
dwReserved: An unused parameter. MUST be ignored by the server implementation.
pdwVersion: A pointer to a variable. On successful return, it MUST contain a major and minor version number for the server implementation. The major version is stored in the low WORD, and the minor version is stored in the high WORD.
Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise, it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF] section 2.3.1.
-
ERROR_SUCCESS (0x00000000)
Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying RPC protocol, as specified in [MS-RPCE].
The value returned in pdwVersion SHOULD<9> correspond to the version of the Internet protocol servers managed by the Internet Information Services (IIS) Inetinfo Remote Protocol server.