DirectShow Programming
17
3.3.4
GetUnicastGroup / GetMulticastGroup
The GetUnicastGroup / GetMulticastGroup methods retrieve the
filters’ curent group address.
Syntax
HRESULT GetUnicastGroup(
ULONG* pIP,
USHORT* pPort
);
HRESULT GetMulticastGroup(
ULONG* pIP,
USHORT* pPort
);
Parameters
pIP
Pointer to a variable that retrieves the IP address in network order
(bytes ordered from left to right). You can use the inet_addr func-
tion to convert a standard dotted-format string (such as
“255.255.255.255”) to the correct binary number.
pPort
Pointer to a variable that retrieves the port number, in TCP/IP net-
work byte order. You can use the htons function to convert the port
number to the correct byte order.
Return values
Value
Description
E_INVALIDARG
Invalid IP address.
S_OK
The method succeeded.
Содержание PCI-MPG24
Страница 4: ......
Страница 7: ...List of Tables iii List of Tables Table 2 1 Include Files 4 Table 2 2 Library File 4 ...
Страница 8: ...iv List of Tables ...
Страница 10: ...2 Introduction ...
Страница 17: ...DirectShow Programming 9 ADLink Unicast Receiver ...
Страница 18: ...10 DirectShow Programming ADLink Multicast Sender ...
Страница 20: ...12 DirectShow Programming Unicast Receiver Preview File Save Multicast Sender ...
Страница 36: ...28 DirectShow Programming ...
Страница 51: ...Windows API Functions 43 Return Values See chapter 4 5 ...