| Platform SDK: TAPI |
Gets identifier for the device associated with the current call.
HRESULT GetID( BSTR pDeviceClass, DWORD *pdwSize, BYTE **ppDeviceID );
| Value | Meaning |
|---|---|
| S_OK | Method succeeded. |
| E_OUTOFMEMORY | Insufficient memory exists to perform the operation. |
| E_POINTER | The pdwSize or ppDeviceID parameter is not a valid pointer. |
The application must use SysAllocString to allocate memory for the pDeviceClass parameter and use SysFreeString to free the memory when the variable is no longer needed.
Windows NT/2000: Requires Windows 2000.
Version: Requires TAPI 3.0 or later.
Header: Declared in Tapi3.h.
Library: Use T3iid.lib.