Platform SDK: TAPI

ITConnection::put_NetworkType

Sets the network type.

HRESULT put_NetworkType(
  BSTR pNetworkType
);

Parameters

pNetworkType
[in] Pointer to BSTR containing the network type.

Return Values

Value Meaning
S_OK Method succeeded.
E_INVALIDARG The pNetworkType parameter is not valid.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.
E_FAIL Unspecified error.
E_NOTIMPL This method is not yet implemented.

Remarks

The application must use SysAllocString to allocate memory for the pNetworkType parameter and use SysFreeString to free the memory when the variable is no longer needed.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Sdpblb.h.
  Library: Use Sdpblbid.lib.

See Also

ITConnection, ITConnection::get_NetworkType