Platform SDK: TAPI

ITMedia::get_NumPorts

Gets the number of ports needed for the session. The session uses this many ports starting from the value returned by get_StartPort.

HRESULT get_NumPorts(
  LONG *pNumPorts
);

Parameters

pNumPorts
[out] Pointer to number of ports.

Return Values

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

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

ITMedia