tapiGetCellularLineDevices (Compact 2013)
3/26/2014
This function retrieves the line devices of the current provider.
Syntax
LONG tapiGetCellularLineDevices(
const HLINEAPP hLineApp,
const DWORD dwNumberDevices,
DWORD* lpdwLineDeviceIDs,
DWORD* lpdwNumberCelluarDevices
);
Parameters
- hLineApp
[in] The handle returned by lineInitialize or lineInitializeEx.
- dwNumberDevices
[in] The number of line devices available to the application returned by lineInitialize or lineInitializeEx.
lpdwLineDeviceIDs
[in] A pointer to a DWORD[dwNumberDevices] long storage area to place the output.[out] A pointer to an array of DWORD[dwNumberDevices] line device IDs.
lpdwNumberCelluarDevices
[in] A pointer to a DWORD storage area to place the output[out] The number of devices currently available.
Return Value
This API returns S_OK if the request succeeds or a LINEERR value otherwise.
Remarks
The number of devices previously returned by lineInitialize or lineInitializeEx may have changed. Therefore, dwNumberDevices may not be equal to lpdwNumberCelluarDevices.
Requirements
Header |
astdtapi.h |
Library |
cellcore.lib |