TSPI_providerRemoveDevice (Windows Embedded CE 6.0)
1/6/2010
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 CE.
Requirements
Header | tapicomn.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE 3.0 and later |