ITPhone::get_PhoneCapsString method (tapi3if.h)
The get_PhoneCapsString method gets a string capability/information about the phone, based on the PHONECAPS_STRING enum passed in. The application does not have to call ITPhone::Open before executing this method.
Syntax
HRESULT get_PhoneCapsString(
[in] PHONECAPS_STRING pcsCap,
[out] BSTR *ppCapability
);
Parameters
[in] pcsCap
The PHONECAPS_STRING descriptor for the phone capability.
[out] ppCapability
Capability value. The BSTR is allocated using SysAllocString. The BSTR argument should be deallocated by the client.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | tapi3if.h (include Tapi3.h) |
Library | Uuid.lib |
DLL | Tapi3.dll |