Platform SDK: TAPI

CMSPAddress::GetStaticTerminals

This method is called by our wrapper methods (get_StaticTerminals and EnumerateStaticTerminals) to get an array of static terminals that can be used on this address. This method updates the address' internal list of terminals by calling UpdateTerminalList if the list is not up to date. If the ppTerminals parameter is NULL or the *pdwNumTerminals parameter is not large enough to hold all the terminal pointers, this method simply returns (as *pdwNumTerminals) the number of terminals available. If ppTerminals is non-NULL and *pdwNumTerminals is large enough, it AddRef's each terminal pointer and places the array of terminal pointers in *ppTerminals, setting *pdwNumTerminals to the number of terminal pointers returned. If the derived MSP wants to change the set of terminals returned it will probably override UpdateTerminalList rather than overriding this method.

virtual HRESULT GetStaticTerminals(
  DWORD *pdwNumTerminals,
  ITTerminal **ppTerminals
);

Parameters

pdwNumTerminals
[out] Pointer to number of static terminals.
ppTerminals
[out] Pointer to array of ITTerminal interfaces.

See Also

CMSPAddress