PGET_MFE_STATUS callback function (routprot.h)
The router manager calls the GetMfeStatus function to obtain the status of the multicast forwarding entry (MFE) for the specified interface, group address, and source address.
The PGET_MFE_STATUS type defines a pointer to this callback function. GetMfeStatus is a placeholder for the application-defined function name.
Syntax
PGET_MFE_STATUS PgetMfeStatus;
DWORD PgetMfeStatus(
[in] DWORD InterfaceIndex,
[in] DWORD GroupAddress,
[in] DWORD SourceAddress,
[out] PBYTE StatusCode
)
{...}
Parameters
[in] InterfaceIndex
Specifies the index of the interface for this MFE.
[in] GroupAddress
Specifies the multicast group address for this MFE.
[in] SourceAddress
Specifies the multicast source address for this MFE.
[out] StatusCode
Pointer to a BYTE variable. The routing protocol should fill in this variable with one of the following values. The routing protocol should select the highest-valued code that applies.
Return value
If the function succeeds, the return value should be NO_ERROR.
If the function fails, the return value should be one of the following error codes.
Value | Description |
---|---|
|
The routing protocol could not complete the request. |
|
The InterfaceIndex parameter is invalid (for example, no interface exists with that index), or the group or source address is invalid. |
Remarks
Only multicast routing protocols need implement this function. Non-multicast routing protocols should pass NULL as the pointer value for this function in MPR_ROUTING_CHARACTERISTICS
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | routprot.h |