IAPI::GetSocketObjectVersion

property GetSocketObjectVersion.

Returns the version of Winsock in use.

 

HRESULT GetSocketObjectVersion(
  long hSocketObject,
  BSTR * pVal
);

Parameters

hSocketObject

[in] .   Handle of socket object or zero.

         Otherwise, passing -1 will return the last winsock error number.

pVal

[out, retval]

   The returned value is a BSTR string constant which must not to be freed by FreeBSTR()

   If hSocketObject = -1, the returned BSTR string must be freed by FreeBSTR()

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI