TSPI_providerRemoveDevice (Compact 2013)
3/26/2014
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.
Syntax
LONG TSPIAPI TSPI_providerRemoveDevice(
LPCWSTR lpszDeviceName
);
Parameters
- lpszDeviceName
Pointer to the name of the device that has been removed.
Return Value
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 Embedded Compact.
Requirements
Header |
tspi.h |
Library |
CellTSP.dll |