Windows Media Format SDK banner art
PreviousNext

IWMWriterNetworkSink::SetNetworkProtocol

The SetNetworkProtocol method sets the network protocol that the network sink will use.

Syntax

HRESULT SetNetworkProtocol(
    WMT_NET_PROTOCOL protocol
);

Parameters

  protocol

[in]  Specifies one member of the WMT_NET_PROTOCOL enumeration type.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.