共用方式為


ITuningSpace::get_NetworkType

 
Microsoft DirectShow 9.0

ITuningSpace::get_NetworkType

The get_NetworkType method retrieves the network type of the tuning space as a BSTR.

This method is intended for Automation clients, because it returns the CLSID as a BSTR. C++ applications can use the ITuningSpace::get__NetworkType method instead, which returns a GUID value

Syntax

  HRESULT get_NetworkType(
    BSTR* pNetworkTypeGuid
    );

Parameters

pNetworkTypeGuid

[out] Pointer to a variable that receives a string containing the network type GUID.

Return Values

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Remarks

The caller must release the returned BSTR by calling SysFreeString.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also