Platform SDK: TAPI |
Gets code to access long distance.
HRESULT get_LongDistanceAccessCode( BSTR *ppCode );
Value | Meaning |
---|---|
S_OK | Method succeeded. |
E_INVALIDARG | The ppCode parameter is not valid. |
E_POINTER | The ppCode parameter is not a valid pointer. |
E_OUTOFMEMORY | Insufficient memory exists to perform the operation. |
The application must use SysFreeString to free the memory allocated for the ppCode parameter.
The value that this method returns corresponds to the dwLongDistanceAccessCodeSize and dwLongDistanceAccessCodeOffset members of TAPI 2's LINELOCATIONENTRY structure.
Windows NT/2000: Requires Windows 2000.
Version: Requires TAPI 3.0 or later.
Header: Declared in Tapi3.h.
Library: Use T3iid.lib.