|Microsoft DirectShow 9.0|
The GetMulticastList method retrieves the list of multicast addresses on the Network Provider.
HRESULT GetMulticastList( ULONG* ulcbAddresses, BYTE pAddressList  );
[in, out] On input, specifies the maximum number of addresses to retrieve, multiplied by the number of bytes per address. On output, receives the actual number of bytes retrieved.
[out, size_is(ulcbAddresses)] Pointer that receives an array of addresses whose size in bytes is equal to ulcbAddresses.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
The declaration of pAddressList is not COM compliant. As a workaround, the client should allocate the pAddressList buffer. The buffer should be the same size as advertised in the pulcbAddresses parameter. The network provider will just fill in the buffer allocated by the caller.
Header: Include bdaiface.h.