|Microsoft DirectX 9.0|
The implementation of this method is provided as sample code with the DirectShow SDK. It is not a supported DirectShow API.
The GetMulticastGroup method retrieves the filter's current multicast group address.
HRESULT GetMulticastGroup( ULONG* pIP, USHORT* pPort );
[out] Pointer to a variable that receives the IP address, in network order (bytes ordered from left to right). You can use the inet_ntoa function to convert this number to a string in standard dotted format.
[out] Pointer to a variable that receives the port number, in TCP/IP network byte order. You can use the ntohs function to convert this number to the byte order of the host computer.
This method returns an HRESULT value. Possible return codes include, but are not limited to, the values shown in the following table.
The values returned by this method are not valid until the application configures the filter.