Freigeben über


IDvbNetworkNameDescriptor::GetNetworkNameW method (dvbsiparser.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

Gets the network name, in Unicode string format, from a Digital Video Broadcast (DVB) network name descriptor.

Syntax

HRESULT GetNetworkNameW(
  [in]  DVB_STRCONV_MODE convMode,
  [out] BSTR             *pbstrName
);

Parameters

[in] convMode

Specifies the string conversion mode to use. This parameter can have any of the following values.

  • STRCONV_MODE_DVB
  • STRCONV_MODE_DVB_EMPHASIS
  • STRCONV_MODE_DVB_WITHOUT_EMPHASIS
  • STRCONV_MODE_ISDB

[out] pbstrName

Pointer to a string buffer that receives the network name. The caller is responsible for freeing this memory.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header dvbsiparser.h (include Dvbsiparser.idl)

See also

IDvbNetworkNameDescriptor