ITPhone::get_Privilege method (tapi3if.h)
The get_Privilege method retrieves the privilege of the open phone.
The application must call ITPhone::Open before invoking this method; otherwise, the invocation fails.
Syntax
HRESULT get_Privilege(
[out] PHONE_PRIVILEGE *pPrivilege
);
Parameters
[out] pPrivilege
The PHONE_PRIVILEGE descriptor for the application's privilege status with respect to the phone device.
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 |