次の方法で共有


IAMNetShowExProps::get_SourceProtocol (Compact 2013)

3/26/2014

This method returns the protocol used to receive data.

Syntax

HRESULT get_SourceProtocol(
  long *pSourceProtocol
);

Parameters

  • pSourceProtocol
    [out] Points to a long which on return will contain one of the following values.

    Value

    Description

    0

    Unknown protocol

    1

    Multicast

    2

    Multisession bridge

    3

    UDP

    4

    TCP

    5

    Media Stream Broadcast Distribution (MSBD)

    6

    HTTP

    7

    File

Return Values

Returns S_OK on success. Returns an HRESULT error on failure.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IAMNetShowExProps