IAMNetShowExProps::get_SourceProtocol

 
Microsoft DirectShow 9.0

IAMNetShowExProps::get_SourceProtocol

The get_SourceProtocol method retrieves the source protocol.

Syntax

  HRESULT get_SourceProtocol(
  long *pSourceProtocol
);

Parameters

pSourceProtocol

Pointer to a variable that receives one of the following values.

Value Description
0 Unknown protocol
1 Multicast
2 Multisession bridge
3 UDP
4 TCP
5 Media Streaming Broadcast Distribution (MSBD)
6 HTTP
7 File

Return Values

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

Requirements

Header: Include Qnetwork.h.

Library: None.

See Also