IGuideData::GetServices Method
The GetServices method retrieves a collection of tune requests representing all the services available in the tuning space.
Syntax
HRESULT GetServices(
[out] IEnumTuneRequests **ppEnumTuneRequests
);
Parameters
- ppEnumTuneRequests [out]
Pointer to a variable that receives an IEnumTuneRequests interface pointer. Use this interface to enumerate the properties. The caller must release the interface.
Return Value
The method returns an HRESULT. Possible values include those in the following table.
Return code | Description |
---|---|
S_OK |
The method succeeded. |
Remarks
This method is used to enumerate all services listed in the service descriptor table. Each tune request in the returned collection contains locator data for the service. To get more information about a service, pass the ITuneRequest pointer to the IGuideData::GetServiceProperties method.
The method fails if the TIF has not received the service information from the PSI tables in the transport stream. The client should implement the IGuideDataEvent interface and wait for the IGuideDataEvent::ServiceChanged event to be fired.
Requirements
Header | Declared in Bdatif.h. |
See Also
Error and Success Codes
IGuideData Interface
Send comments about this topic to Microsoft
Build date: 12/4/2008