Share via


IDvbServiceDescriptor::GetServiceProviderName Method

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.
The GetServiceProviderName method returns the raw service provider name.

Syntax

HRESULT GetServiceProviderName(
  [out]  char **pszName
);

Parameters

  • pszName [out]
    Receives a pointer to a null-terminated string that contains the service provider name. The caller must free the returned string by calling CoTaskMemFree.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description

S_OK

The method succeeded.

Remarks

This method does not process the service provider name, so the returned string is in the original byte order, with all of the control codes. To get the service name in readable form, call IDvbServiceDescriptor::GetServiceProviderNameW. For more information about character encoding in DVB Service Information (SI) descriptors, refer to ETSI 300 468, Appendix A.

Requirements

Header Declared in Dvbsiparser.h.

See Also

IDvbServiceDescriptor Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008