共用方式為


ITunerCap::get_SupportedNetworkTypes

 
Microsoft DirectShow 9.0

ITunerCap::get_SupportedNetworkTypes

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005.

The get_SupportedNetworkTypes method retrieves a list of the network types that are supported by the TV tuner.

Syntax

  HRESULT get_SupportedNetworkTypes(
  ULONG  ulcNetworkTypesMax,
  ULONG*  pulcNetworkTypes,
  GUID*  pguidNetworkTypes
);

Parameters

ulcNetworkTypesMax

[in]  Specifies the maximum number of network-type GUIDs that the pguidNetworkTypes buffer can hold.

pulcNetworkTypes

[out]  Pointer to a variable that receives a count of the number of network-type GUIDs actually written to the pguidNetworkTypes buffer.

pguidNetworkTypes

[in, out]  Pointer to a buffer that receives an array of network-type GUIDs. For the list of valid network-type GUIDs, see Default Tuning Spaces.

Return Values

When the method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.

Requirements

Header: Include Bdaiface.h.

See Also