Microsoft DirectX 8.1 (C++)

ITuningSpace::get_NetworkType

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

Syntax

HRESULT get_NetworkType(
    BSTR* pNetworkTypeGuid
    );

Parameters

pNetworkTypeGuid

[out] Pointer to a variable of type BSTR that receives the GUID that indicates the network type.

Return Values

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

Remarks

Use the GUID retrieved in this method as the CLSID when creating the Network Provider filter when building the filter graph. This method is provided for Visual Basic and scripting applications. C++ applications should use get__NetworkType to retrieve the network type as a native GUID data type.

See Also