ITMedia::get_NumPorts method
[ Rendezvous IP Telephony Conferencing controls and interfaces are not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]
The get_NumPorts method gets the number of ports needed for the session. The session uses the specified number of ports starting from the value returned by get_StartPort.
Syntax
HRESULT get_NumPorts(
[out] LONG *pNumPorts
);
Parameters
-
pNumPorts [out]
-
Pointer to the number of ports.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method succeeded. |
|
The pNumPorts parameter is not a valid pointer. |
|
Insufficient memory exists to perform the operation. |
|
Unspecified error. |
|
This method is not yet implemented. |
Requirements
Requirement | Value |
---|---|
TAPI version |
Requires TAPI 3.0 or later |
Header |
|
Library |
|
DLL |
|