IBTServiceArray::GetServiceAt (Compact 2013)
3/26/2014
This method retrieves the service specified by the index, from the service array.
Syntax
HRESULT GetServiceAt(
UINT idxService,
IBTService * * ppiService
);
Parameters
- idxService
[in] Specifies the index of the service to retrieve. If this parameter is set to a value greater than the total number of elements in the array, GetServiceAt fails with E_INVALIDARG.
- ppiService
[out] Pointer of the IBTService interface. If this pointer is NULL, the call to GetServiceAt fails with E_POINTER.
Return Value
Returns E_INVALIDARG when idxService greater than the total number of elements in the array.
E_POINTER indicates a null pointer argument.
Remarks
The caller application must release the IBTService pointer.