TSPI_providerRemoveDevice (Windows CE 5.0)
This function notifies the TSP when a device has been removed from the system. The TSP should mark or remove any line or phone devices associated with the removed device.
LONG TSPIAPI TSPI_providerRemoveDevice(LPCWSTRlpszDeviceName);
Parameters
- lpszDeviceName
Pointer to the name of the device that has been removed.
Return Values
Returns zero if the function succeeds or an error number if an error occurs. The following table shows the return values for this method.
Value | Description |
---|---|
LINEERR_OPERATIONFAILED | The operation failed. |
LINEERR_NOMEM | Not enough memory is available. |
LINEERR_INVALPARAM | The parameter is invalid. |
Remarks
This function is specific to Windows CE.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Tapicomn.h.
Link Library: Coredll.lib.
Send Feedback on this topic to the authors